Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Solfege fails to start #12324

Closed
terhorst opened this Issue · 5 comments

3 participants

@terhorst

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/startup.py", line 159, in start_gui
    solfege.win = w = MainWin(options, datadir)
  File "/usr/local/share/solfege/solfege/mainwin.py", line 119, in __init__
    stock.SolfegeIconFactory(self, datadir)
  File "/usr/local/share/solfege/solfege/stock.py", line 71, in __init__
    self.add_icons(d)
  File "/usr/local/share/solfege/solfege/stock.py", 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
Owner

Not sure what to say, sorry.

@adamv adamv closed this
@2bits

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

@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

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

@terhorst

What an obscure fix, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.