Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #3

Closed
weakish opened this issue Aug 2, 2010 · 2 comments
Closed

IndexError: list index out of range #3

weakish opened this issue Aug 2, 2010 · 2 comments

Comments

@weakish
Copy link

weakish commented Aug 2, 2010

Python Audio Tools 2.15

$ cd2xmcd -x Beneath_the_Surface.xml -c /dev/hdc
Traceback (most recent call last):
File "/usr/local/bin/cd2xmcd", line 102, in
musicbrainz_discid = audiotools.MBDiscID.from_cdda(cdda)
File "/usr/local/lib/python2.6/dist-packages/audiotools/musicbrainz.py", line 97, in from_cdda
lead_in=tracks[0].offset(),
IndexError: list index out of range

@tuffy
Copy link
Owner

tuffy commented Aug 2, 2010

Looks like it found a CD with no audio tracks. I've added a check for that case which should hopefully solve the problem.

@weakish
Copy link
Author

weakish commented Aug 3, 2010

I discoverd that the reason is I'm not in the cdrom group. -_-!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants