diamond fails to open with gtk 3.14

Bug #1381020 reported by Stephan Kramer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Spud
New
Undecided
Unassigned

Bug Description

On a system with gtk 3.14 (Debian Jessie) diamond fails to open, with:

skramer@gyre:~$ diamond -s git/fluidity/schemas/fluidity_options.rng
Attempt to unlock mutex that was not locked
Aborted

I think this is the same bug as discussed on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758619
Long story short: apparently this is a pygtk bug which is unlikely to get fixed since (rather worryingly!) pygtk has been deprecated. There is however a workaround:

=== modified file 'diamond/bin/diamond'
--- diamond/bin/diamond 2012-10-12 20:57:58 +0000
+++ diamond/bin/diamond 2014-10-14 11:11:08 +0000
@@ -24,7 +24,7 @@

 import gtk
 import gtk.gdk
-gtk.gdk.threads_init()
+gtk.set_interactive(0)
 import gobject
 gobject.threads_init()

which seems to work for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.