I dug into sources, dug out the required Corba interfaces, understood how bonobo and its python wrapper work.
Under old Ubuntu with Gnome 2.16.1 this script works, under the new one with Gnome 2.20 Bonobo.GeneralError with an empty message is thrown.
#!/usr/bin/env python
import bonobo
import Bonobo
bonobo.activate()
obj = bonobo.get_object ('OAFIID:Nautilus_Metafile_Factory', 'Nautilus/MetafileFactory')
print dir(obj)
Update 03.12.2007 - The presentation slides Guadec2003 - PyOrbit
Update 17.12.2007 - I got evidence that this is a bug. I'm curious, for how long it will remain unnoticed
No comments:
Post a Comment