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__
File "/usr/local/share/solfege/solfege/stock.py", line 71, in __init__
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'
Not sure what to say, sorry.
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.
@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.
I installed librsvg but that didn't fix it. This issue, however, did: #13786
What an obscure fix, thanks!