GNOME Bugzilla – Bug 660348
Does not work with pygobject 3.0
Last modified: 2011-10-05 17:38:39 UTC
As mentioned in http://www.j5live.com/2011/08/14/announce-pygobject-2-90-1-released-3-0-pre-release/ : import gobject must be ported as from gi.repository import GObject – this was the recommended way of importing GObject but some code may still have used import gobject. Having both will cause applications to fail because it will load the older 2.28 bindings alongside the 3.0 bindings.
Okay, it looks there's more work needed as with this change, nautilus now crashes :-)
Created attachment 197727 [details] [review] Port to pygobject 3.0 I didn't try to keep compatibility with 2.x.
Created attachment 197728 [details] [review] Do not try to load python extensions if we failed to initiliaze Was hit by the issue while porting, so fix this.
Created attachment 197729 [details] [review] Fix various warnings
The last two patches are obviously not strictly needed but those are issues I found while debugging things.
Thanks for the patches. Added to the nautilus-3.0 branch.