Solfege fails to start #12324

terhorst opened this Issue May 19, 2012 · 5 comments


None yet
3 participants

I am using Homebrew versions of PyGTK, GTK+, (Py)Cairo, etc. Looks to be a problem with one of them not recognizing SVG.

Traceback (most recent call last):
  File "/usr/local/share/solfege/solfege/", line 159, in start_gui = w = MainWin(options, datadir)
  File "/usr/local/share/solfege/solfege/", line 119, in __init__
    stock.SolfegeIconFactory(self, datadir)
  File "/usr/local/share/solfege/solfege/", line 71, in __init__
  File "/usr/local/share/solfege/solfege/", line 33, in add_icons
    iconset = gtk.IconSet(gtk.gdk.pixbuf_new_from_file(os.path.join(self.datadir, filename)))
glib.GError: Couldn't recognize the image file format for file '/usr/local/share/solfege/graphics/solfege.svg'

adamv commented Jun 29, 2012

Not sure what to say, sorry.

adamv closed this Jun 29, 2012


2bits commented Jun 29, 2012

Did you try installing libsvg before you built cairo, pixman, and the rest? Because libsvg comes from the same developer, it likely integrates well. It's worth mentioning that our current version of cairo-1.10.2 is a bit old, and we are about to pull the trigger on cairo-1.12.2. There is still a pull request for XQuartz that has to go through first, and cairo is complicated to update because different OSes have completely different needs for it. But Jack has had this on his plate for a couple of months now, and I believe he has it sorted. Let us know how it goes, because solfege seems like a good addition to Homebrew.


2bits commented Aug 12, 2012

@terhorst I finally got to the point where I can reproduce your error. I'm not sure which program is choking on the svg file, but I installed libsvg and that didn't help. Trying librsvg now.


2bits commented Aug 12, 2012

I installed librsvg but that didn't fix it. This issue, however, did: #13786

What an obscure fix, thanks!

xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.