crash in trying to load mirage DB

Bug #649233 reported by Chad Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autoqueue
Fix Committed
High
Eric Casteleijn

Bug Description

Traceback (most recent call last):
  File "/usr/share/pyshared/quodlibet/plugins/events/quodlibet_autoqueue.py", line 18, in <module>
    from autoqueue import AutoQueueBase, SongBase
  File "/usr/lib/pymodules/python2.6/quodlibet/__init__.py", line 120, in import_ql
    try: return old_import(module, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/autoqueue-0.2beta2-py2.6.egg/autoqueue/__init__.py", line 47, in <module>
    from mirage.daemon import Db
  File "/usr/lib/pymodules/python2.6/quodlibet/__init__.py", line 120, in import_ql
    try: return old_import(module, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/autoqueue-0.2beta2-py2.6.egg/mirage/__init__.py", line 40, in <module>
    cdll.LoadLibrary("/usr/lib/banshee-1/Extensions/libmirageaudio.so")
  File "/usr/lib/python2.6/ctypes/__init__.py", line 431, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python2.6/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/banshee-1/Extensions/libmirageaudio.so: cannot open shared object file: No such file or directory

Revision history for this message
Eric Casteleijn (thisfred) wrote :

Hmm, did you install the mirage extension for banshee? (If so, it looks like the hard coded path is no longer correct, if not, then I messed up the 'soft' dependency on mirage, so either way this is a bug.)

Changed in autoqueue:
importance: Undecided → High
assignee: nobody → Eric Casteleijn (thisfred)
status: New → Incomplete
Revision history for this message
Chad Miller (cmiller) wrote :

No i hadn't any banshee plugin installed. I was only worried about the OSError not becoming an ImportError. I think an import wrapper changed its behavior.

Revision history for this message
Eric Casteleijn (thisfred) wrote :

Since I backed out my experimental changes, this should no longer be happening. I do recommend installing the mirage plugin for banshee though (there's a PPA which you should be able to find by googling something like 'banshee mirage extension'.) since it allows for a lot more interesting links between music than last.fm alone provides.

Changed in autoqueue:
status: Incomplete → Fix Committed
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.