I am getting the same error, and I narrowed it down to one specific
album which, it seems, has no tags at all. This is the error Decibel
generates:

Traceback (most recent call last):
  File "/usr/local/share/decibel-audio-player/src/modules/Library.py", line 
441, in handleMsg
    self.loadLibrary(self.tree, self.currLib)
  File "/usr/local/share/decibel-audio-player/src/modules/Library.py", line 
339, in loadLibrary
    currChar = artist[ART_NAME][0]
IndexError: string index out of range

... which is the exact same as mehturt above.

When using metaflac --list on a random track from this one album, this
is what I get:

METADATA block #0
  type: 0 (STREAMINFO)
  is last: false
  length: 34
  minimum blocksize: 4096 samples
  maximum blocksize: 4096 samples
  minimum framesize: 2270 bytes
  maximum framesize: 11860 bytes
  sample_rate: 44100 Hz
  channels: 2
  bits-per-sample: 16
  total samples: 9199260
  MD5 signature: 5669ff0323870528118f43196196eebb
METADATA block #1
  type: 3 (SEEKTABLE)
  is last: false
  length: 378
  seek points: 21
    point 0: sample_number=0, stream_offset=0, frame_samples=4096
    point 1: sample_number=438272, stream_offset=512014, frame_samples=4096
    point 2: sample_number=880640, stream_offset=1160330, frame_samples=4096
    point 3: sample_number=1318912, stream_offset=1829722, frame_samples=4096
    point 4: sample_number=1761280, stream_offset=2485795, frame_samples=4096
    point 5: sample_number=2203648, stream_offset=3144337, frame_samples=4096
    point 6: sample_number=2641920, stream_offset=3909715, frame_samples=4096
    point 7: sample_number=3084288, stream_offset=4654098, frame_samples=4096
    point 8: sample_number=3526656, stream_offset=5378249, frame_samples=4096
    point 9: sample_number=3964928, stream_offset=6176575, frame_samples=4096
    point 10: sample_number=4407296, stream_offset=7040682, frame_samples=4096
    point 11: sample_number=4849664, stream_offset=7851768, frame_samples=4096
    point 12: sample_number=5287936, stream_offset=8662464, frame_samples=4096
    point 13: sample_number=5730304, stream_offset=9648238, frame_samples=4096
    point 14: sample_number=6172672, stream_offset=10638137, frame_samples=4096
    point 15: sample_number=6610944, stream_offset=11567558, frame_samples=4096
    point 16: sample_number=7053312, stream_offset=12474432, frame_samples=4096
    point 17: sample_number=7495680, stream_offset=13338931, frame_samples=4096
    point 18: sample_number=7933952, stream_offset=14393668, frame_samples=4096
    point 19: sample_number=8376320, stream_offset=15446683, frame_samples=4096
    point 20: sample_number=8818688, stream_offset=16350123, frame_samples=4096
METADATA block #2
  type: 4 (VORBIS_COMMENT)
  is last: false
  length: 118
  vendor string: reference libFLAC 1.1.4 20070213
  comments: 6
    comment[0]: artist=
    comment[1]: title=
    comment[2]: album=
    comment[3]: date=
    comment[4]: tracknumber=00
    comment[5]: genre=A Cappella
METADATA block #3
  type: 1 (PADDING)
  is last: true
  length: 8192

When I remove the offending album from the folder and refresh the
library, it all works as it should. I am using Decibel 0.10.

-- 
decibel-audio-player.py crashed with IndexError in loadLibrary()
https://bugs.launchpad.net/bugs/201128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to