Tasks
-
Normal
Bug report
#55
musicdb.py crashes when there's an ID3 tag empty
1.0RC1 Rejected
2016-04-26 21:45:50
Anonymous user
@psykauze

@psykauze
When importing a big mess of folder, sometimes bluemindo stops its importing process.
There is some files that bluemindo can't handle because they crashed the musicdb.py sub-process.
> Exception in thread scanning:
> Traceback (most recent call last):
> File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
> self.run()
> File "/usr/lib/python3.5/threading.py", line 862, in run
> self._target(*self._args, **self._kwargs)
> File "/usr/share/bluemindo/src/modules/explorer/__init__.py", line 139, in do_scan
> musicdb.scan(lbl, pb)
> File "/usr/share/bluemindo/src/modules/explorer/musicdb.py", line 163, in scan
> self.do_scan([lbl, pbar])
> File "/usr/share/bluemindo/src/modules/explorer/musicdb.py", line 71, in do_scan
> track = exif.tags['TRACKNUMBER'][0]
> IndexError: list index out of range
It appears these files had some particularities in their ID3 header. They have some ID3 tags "empty". The ID3 tag is present but without anything inside.
Here a link to some files http://boyarnaud.free.fr/bordel/Bluemindo-Fail.7z
There is some files that bluemindo can't handle because they crashed the musicdb.py sub-process.
> Exception in thread scanning:
> Traceback (most recent call last):
> File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
> self.run()
> File "/usr/lib/python3.5/threading.py", line 862, in run
> self._target(*self._args, **self._kwargs)
> File "/usr/share/bluemindo/src/modules/explorer/__init__.py", line 139, in do_scan
> musicdb.scan(lbl, pb)
> File "/usr/share/bluemindo/src/modules/explorer/musicdb.py", line 163, in scan
> self.do_scan([lbl, pbar])
> File "/usr/share/bluemindo/src/modules/explorer/musicdb.py", line 71, in do_scan
> track = exif.tags['TRACKNUMBER'][0]
> IndexError: list index out of range
It appears these files had some particularities in their ID3 header. They have some ID3 tags "empty". The ID3 tag is present but without anything inside.
Here a link to some files http://boyarnaud.free.fr/bordel/Bluemindo-Fail.7z
2016-04-26 22:18:14
Anonymous user
@psykauze

@psykauze
- Attached a snippet
2020-04-09 15:35:15
Unreproductable ; now using mutagen and not tagpy anymore. Closing.
2020-04-09 15:35:32
- Status changed to Rejected
Add an attachement
Post to this thread
This bug has been rejected.
This bug report has been closed by a developer.
Being resolved or rejected, this report has been closed by a developer, thus you may not need to add an answer.