Broken prefs class: OutputQualityPreference

Bug #484207 reported by stephan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
reacocard

Bug Description

'Edit -> Preferences -> CD' produces

WARNING : Broken prefs class: OutputQualityPreference
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/exaile/xlgui/prefs/__init__.py", line 259, in _populate_fields
    field = klass(self, widget)
  File "/usr/local/share/exaile/data/plugins/cd/cdprefs.py", line 59, in __init__
    self._update_list(None, widget, prefs)
  File "/usr/local/share/exaile/data/plugins/cd/cdprefs.py", line 86, in _update_list
    widget.set_active(fmt_dict["raw_steps"].index(
AttributeError: 'tuple' object has no attribute 'index'

Import Quality is blanked, offering values from 0 - 9.

Version 0.3.0.2
OpenBSD 4.6-current, trying to update the existing port of 0.3.0.1

$ exaile --debug
INFO : Loading Exaile 0.3.0.2... (xl.main)
INFO : Loading settings... (xl.main)
INFO : Setting up deferred idle manager function... (xlgui)
INFO : Loading plugins... (xl.main)
DEBUG : Loaded plugin shoutcast (xl.plugins)
DEBUG : Loaded plugin lastfmcovers (xl.plugins)
DEBUG : Loaded plugin amazoncovers (xl.plugins)
DEBUG : Loaded plugin lyricwiki (xl.plugins)
DEBUG : Provider cd registered for service hal (xl.providers)
DEBUG : Loaded plugin cd (xl.plugins)
DEBUG : Provider rgvolume registered for service stream_element (xl.providers)
DEBUG : Provider rglimiter registered for service stream_element (xl.providers)
DEBUG : Loaded plugin replaygain (xl.plugins)
DEBUG : Loaded plugin screensaverpause (xl.plugins)
INFO : Loading collection... (xl.main)
DEBUG : Normal playback engine selected. (xl.player)
INFO : Loading devices... (xl.main)
DEBUG : Provider local registered for service covers (xl.providers)
DEBUG : Provider __local registered for service lyrics (xl.providers)
INFO : Loading interface... (xl.main)
INFO : Loading main window... (xlgui)
DEBUG : Adding playlist 0: order0.playing.Playlist %d (xlgui.main)
DEBUG : Tab:0; Tag:playing; Name:Playlist %d (xlgui.main)
INFO : Loading panels... (xlgui)
INFO : Connecting panel events... (xlgui)
INFO : Connecting main window events... (xlgui)
INFO : Done loading main window... (xlgui)
DEBUG : Exaile Shoutcast Plugin/0.0.3 +http://www.exaile.org (shoutcast)
DEBUG : Provider shoutcast registered for service radio (xl.providers)
DEBUG : Provider lastfm registered for service covers (xl.providers)
DEBUG : Provider amazon registered for service covers (xl.providers)
DEBUG : Provider lyricwiki registered for service lyrics (xl.providers)
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.5/site-packages/exaile/xlgui/panel/radio.py", line 532, in _load_station
    lists = driver.get_lists(no_cache=no_cache)
  File "/usr/local/share/exaile/data/plugins/shoutcast/__init__.py", line 107, in get_lists
    timeout=20)
TypeError: __init__() got an unexpected keyword argument 'timeout'

WARNING : Broken prefs class: OutputQualityPreference (xlgui.prefs)
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/exaile/xlgui/prefs/__init__.py", line 259, in _populate_fields
    field = klass(self, widget)
  File "/usr/local/share/exaile/data/plugins/cd/cdprefs.py", line 59, in __init__
    self._update_list(None, widget, prefs)
  File "/usr/local/share/exaile/data/plugins/cd/cdprefs.py", line 86, in _update_list
    widget.set_active(fmt_dict["raw_steps"].index(
AttributeError: 'tuple' object has no attribute 'index'
INFO : Exaile is shutting down... (xl.main)
INFO : Disabling plugins... (xl.main)
DEBUG : Stopping IdleManager thread... (xl.event)
INFO : Saving state... (xl.main)
DEBUG : Removing tab order0.playing.Playlist %d (xlgui.main)
DEBUG : Saving tab 0: order0.playing.Playlist %d (xlgui.main)
DEBUG : Saving Collection DB to /home/stephan/.local/share/exaile/music.db. (xl.trackdb)
DEBUG : Saving settings... (xl.settings)
INFO : Bye! (xl.main)

reacocard (reacocard)
Changed in exaile:
assignee: nobody → Aren Olson (reacocard)
importance: Undecided → Medium
milestone: none → 0.3.0.3
status: New → Confirmed
Revision history for this message
stephan (stephan-rickauer) wrote :

btw: I'll happily test any diffs (wrt to this bug) prior releasing 0.3.0.3 and backport them in our OpenBSD port.

reacocard (reacocard)
Changed in exaile:
milestone: 0.3.0.3 → 0.3.1
Revision history for this message
reacocard (reacocard) wrote :

fixed trunk/2798

Changed in exaile:
status: Confirmed → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → 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.