exaile crashes when loading svg icon (should depend on python-rsvg?)

Bug #445279 reported by shahn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Medium
Unassigned
exaile (Ubuntu)
Fix Released
Low
Andrew Starr-Bochicchio

Bug Description

Binary package hint: exaile

Starting exaile for the first time, it crashes with the following messages:

INFO : Loading Exaile 0.3.0.1...
INFO : Loading settings...
INFO : Setting up deferred idle manager function...
INFO : Loading plugins...
INFO : Loading collection...
INFO : Loading devices...
INFO : Loading interface...
Traceback (most recent call last):
  File "/usr/lib/exaile/exaile.py", line 56, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 53, in main
    exaile = main.Exaile()
  File "/usr/lib/exaile/xl/main.py", line 90, in __init__
    self.__init()
  File "/usr/lib/exaile/xl/main.py", line 207, in __init
    self.gui = xlgui.Main(self)
  File "/usr/lib/exaile/xlgui/__init__.py", line 88, in __init__
    xdg.get_data_path('images'))
  File "/usr/lib/exaile/xlgui/icons.py", line 55, in add_icon_name_from_directory
    self.add_icon_name_from_file(icon_name, files[0], icon_size)
  File "/usr/lib/exaile/xlgui/icons.py", line 73, in add_icon_name_from_file
    pixbuf = gtk.gdk.pixbuf_new_from_file(filename)
glib.GError: Couldn't recognize the image file format for file '/usr/share/exaile/data/images/svg/exaile.svg'

Exaile works fine after installing the package python-rsvg. Probably this should be a dependency?

ProblemType: Bug
Architecture: i386
Date: Wed Oct 7 11:05:26 2009
DistroRelease: Ubuntu 9.10
Package: exaile 0.3.0.1-0ubuntu5
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-12.39-generic
SourcePackage: exaile
Uname: Linux 2.6.31-12-generic i686

Revision history for this message
shahn (shahn) wrote :
Changed in exaile (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
status: In Progress → Fix Committed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Fixed in the packaging branch. It will be in the next upload.

Opened an upstream task. This should probably get added to the dependency list. python-gnome2-desktop depends on python-rsvg, so most GNOME users will already have this but users of other desktops might not.

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Trunk is not affected by this because of a workaround I put in for Windows support, but it's not in the 0.3.0.x branch. Didn't realize librsvg was not a libgtk dep.

Andrew: The dependency is just on librsvg and not python-rsvg.

Changed in exaile:
importance: Undecided → Medium
milestone: none → 0.3.0.2
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package exaile - 0.3.0.1-0ubuntu6

---------------
exaile (0.3.0.1-0ubuntu6) karmic; urgency=low

  * debian/control: Add dependency on librsvg2-common. (LP: #445279)

 -- Andrew Starr-Bochicchio <email address hidden> Thu, 08 Oct 2009 00:13:55 -0400

Changed in exaile (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Added librsvg to DEPS file in the 0.3.0 branch. Not modifying trunk since it's not affected.

Changed in exaile:
status: Confirmed → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
kamila (plyshaczek-ov)
information type: Public → Private Security
information type: Private Security → Private
information type: Private → Public
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.