Fails when using an unknown cddb audio cd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dir2ogg |
Fix Released
|
Medium
|
Julian Andres Klode |
Bug Description
When ripping a CD with "dir2ogg -q5 -c", I got this error:
dir2ogg 0.11.1 (2007-12-15), converts audio files into ogg vorbis.
Warning: You need python-musicbrainz2 to convert cds. Please install it. Trying cddb.
Warning: MusicBrainz failed. Trying FreeDB...
Traceback (most recent call last):
File "/usr/bin/dir2ogg", line 592, in ?
main()
File "/usr/bin/dir2ogg", line 570, in main
ConvertDisc
File "/usr/bin/dir2ogg", line 425, in __init__
self.get_cddb()
File "/usr/bin/dir2ogg", line 440, in get_cddb
read_info = CDDB.read(
TypeError: unsubscriptable object
I think that's because it's a local band's CD, unknown to cddb.
Another thing is that I think the cddb/musicbrainz lookup an option should disabled by an option (for example if you do not have network).
Feel free to ask me more info :-)
I use 0.11.1 (2007-12-15)
Because this patch would be very large, and because the 0.11 series will be part of Debian 5.0, which is scheduled for September 2008, and of Ubuntu 8.04,
I will most likely not be able to fix this in 0.11.X. Instead, I will add an improved error message.
The dir2ogg 0.11 series will be supported until 2011, when support for Ubuntu 8.04 and Debian 5.0 ends.