LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (http://www.linuxquestions.org/questions/arch-29/)
-   -   Exaile crashes with "glib.GError: Couldn't recognise the image file format for file" (http://www.linuxquestions.org/questions/arch-29/exaile-crashes-with-glib-gerror-couldnt-recognise-the-image-file-format-for-file-765565/)

cantab 10-30-2009 09:33 AM

Exaile crashes with "glib.GError: Couldn't recognise the image file format for file"
 
I'm after a music player for my new Arch install, and Exaile sounded good. But when I run it from the console, it crashes with the following:
Code:

$ exaile
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...
INFO    : HAL Providers: [<cd.CDHandler object at 0xa1551cc>]
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 recognise the image file format for file '/usr/share/exaile/data/images/svg/exaile.svg'

How do I fix this?

knudfl 10-30-2009 02:33 PM

From Googling .. glib.GError: ..

.. it seems that a missing 'librsvg' will prevent
python applications from recognizing " svg files ".

Example ..
http://ubuntuforums.org/archive/inde...t-1063483.html

.....

cantab 10-30-2009 07:35 PM

Installing librsvg fixed the problem - but pacman thought it was already installed! Odd...


All times are GMT -5. The time now is 02:28 AM.