Fails when using an unknown cddb audio cd

Bug #198845 reported by Jocelyn Delalande
4
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(disc, conf)
  File "/usr/bin/dir2ogg", line 425, in __init__
    self.get_cddb()
  File "/usr/bin/dir2ogg", line 440, in get_cddb
    read_info = CDDB.read(query_info['category'], query_info['disc_id'])[1]
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)

Related branches

Revision history for this message
Julian Andres Klode (juliank) wrote :

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.

Changed in dir2ogg:
assignee: nobody → juliank
importance: Undecided → Medium
status: New → Confirmed
milestone: none → 0.12
Revision history for this message
Julian Andres Klode (juliank) wrote :

A correct message has been added that such disks are not supported by dir2ogg.

Changed in dir2ogg:
milestone: 0.12 → none
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.