Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 168273
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Maarten Bressers <mbres@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 168273 depends on: Show dependency tree
Bug 168273 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-24 22:41 0000
Exaile 0.2.9_beta1 uses an SVG file to display their graphical ratings
(/usr/share/exaile/images/star.svg). Without librsvg this file cannot be
displayed (see traceback), with librsvg it can.

Reproducible: Always

Steps to Reproduce:
1. emerge Exaile 0.2.9_beta1  (my USE flags: "alsa cdaudio mad")
2. start Exaile
3. watch the traceback (see below)

Actual Results:  
$ exaile
Plugins 'Mini Mode' version '0.1' loaded successfully
Plugins 'Streamripper!' version '0.1' loaded successfully
Plugins 'Gossip Status' version '0.1' loaded successfully
Failed to load plugin
Traceback (most recent call last):
  File "/usr/share/exaile/plugins/manager.py", line 47, in load_plugins
    plugin = __import__(re.sub('\.pyc?$', '', file))
  File "/usr/share/exaile/plugins/exailenotify.py", line 17, in ?
    import gtk, pynotify, plugins, traceback, cgi, os
ImportError: No module named pynotify
Plugins 'Remove taskbar entry' version '0.1' loaded successfully
Plugins 'Serpentine Plugin' version '0.1' loaded successfully
Plugins 'Mass Storage Driver' version '0.1' loaded successfully
Plugins 'Python Console' version '0.1' loaded successfully
Plugins 'Gajim Status' version '0.1' loaded successfully
Plugins 'Desktop Cover' version '0.2' loaded successfully
Plugins 'Alarm Clock' version '0.1' loaded successfully
Plugins 'resume.py' version '0.1' loaded successfully
Plugins 'iPod Device Driver' version '0.2' loaded successfully
Created db for thread Thread-1
{'Thread-1': <pysqlite2.dbapi2.Connection object at 0xb784c548>}
mmkeys are NOT available
loading tracks...
Closed db for thread Thread-1
done loading tracks...
loading songs
Clearing tracks cache
Traceback (most recent call last):
  File "/usr/bin/exaile", line 800, in load_last_playlist
    self.new_page(_("Playlist"))
  File "/usr/share/exaile/xl/common.py", line 52, in wrapper
    return func(self,*__args,**__kw)
  File "/usr/bin/exaile", line 1514, in new_page
    self.tracks = trackslist.TracksListCtrl(self)
  File "/usr/share/exaile/xl/trackslist.py", line 103, in __init__
    self.create_rating_images()
  File "/usr/share/exaile/xl/trackslist.py", line 116, in create_rating_images
    svg_star = gtk.gdk.pixbuf_new_from_file_at_size("images/star.svg",
star_size, star_size)
gobject.GError: Unrecognized image file format


Expected Results:  
$ exaile
Plugins 'Mini Mode' version '0.1' loaded successfully
Plugins 'Streamripper!' version '0.1' loaded successfully
Plugins 'Gossip Status' version '0.1' loaded successfully
Failed to load plugin
Traceback (most recent call last):
  File "/usr/share/exaile/plugins/manager.py", line 47, in load_plugins
    plugin = __import__(re.sub('\.pyc?$', '', file))
  File "/usr/share/exaile/plugins/exailenotify.py", line 17, in ?
    import gtk, pynotify, plugins, traceback, cgi, os
ImportError: No module named pynotify
Plugins 'Remove taskbar entry' version '0.1' loaded successfully
Plugins 'Serpentine Plugin' version '0.1' loaded successfully
Plugins 'Mass Storage Driver' version '0.1' loaded successfully
Plugins 'Python Console' version '0.1' loaded successfully
Plugins 'Gajim Status' version '0.1' loaded successfully
Plugins 'Desktop Cover' version '0.2' loaded successfully
Plugins 'Alarm Clock' version '0.1' loaded successfully
Plugins 'resume.py' version '0.1' loaded successfully
Plugins 'iPod Device Driver' version '0.2' loaded successfully
Created db for thread Thread-1
{'Thread-1': <pysqlite2.dbapi2.Connection object at 0xb6adf548>}
mmkeys are NOT available
loading tracks...
Closed db for thread Thread-1
done loading tracks...
loading songs
Clearing tracks cache
Importing /home/maarten/.exaile/saved/playlist0000.m3u
Last playlist loaded
Loading page 0


Include gnome-base/librsvg as a dependency. I checked it with
gnome-base/librsvg-2.16.1, the latest stable version in Portage as of Feb 24,
2007 and this solves the problem.

Patch for exaile-0.2.9_beta1.ebuild:

--- exaile-0.2.9_beta1.ebuild   2007-02-24 23:27:11.000000000 +0100
+++ exaile-0.2.9_beta1.ebuild.new       2007-02-24 23:27:29.000000000 +0100
@@ -26,6 +26,7 @@
        >=media-libs/mutagen-1.6
        dev-python/elementtree
        dev-python/dbus-python
+       gnome-base/librsvg
        fam? ( app-admin/gamin )
        alsa? ( >=media-plugins/gst-plugins-alsa-0.10 )
        oss? ( >=media-plugins/gst-plugins-oss-0.10 )

------- Comment #1 From Samuli Suominen 2007-02-24 22:48:31 0000 -------
Fixed, thanks for reporting.

[00:47] <+CIA-1> drac * gentoo-x86/media-sound/exaile/
(exaile-0.2.9_beta1.ebuild ChangeLog): 
[00:47] <+CIA-1> Add gnome-base/librsvg rdep for bug 168273. Thanks to Maarten
Bressen.
[00:47] <+CIA-1> (Portage version: 2.1.2-r11)

------- Comment #2 From Maarten Bressers 2007-02-24 23:01:13 0000 -------
You misspelled my name in the ChangeLog :(

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug