You cannot import "gtk" when you use gi.repository.Gtk (i. e. GTK 3). You need to use the gi.repository modules all the way through. Please note that pygobject has a gi.pygtkcompat module which will help somewhat: http://www.piware.de/2012/03/pygobject-3-1-92-released/
** Changed in: pygobject (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to pygobject in Ubuntu. https://bugs.launchpad.net/bugs/899409 Title: python2.7 crashed with SIGSEGV in g_return_if_fail_warning() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/899409/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs