[pygtk] applet .server file error / how to debug "panel add"?

Jorge Vargas jorge.vargas at gmail.com
Mon Nov 6 13:45:46 WST 2006


Hi I promise this is my last email tonight.

I'm just stuck on this it seems there is a problem when creating the
new instance from the "panel add", because if I open a shell and run
python wp_thingy_view.py and then add it to the panel everything works
ok (I even check bonobo-browser and the factory is there), but if
there are no instances running (the normal way to execute an applet)

I'm getting this very informative error ....

The panel encountered a problem while loading "OAFIID:wp_thingy".

this is the code that's supposed to load the applet View is a class
that does applet.show_all()

def wp_thingy_factory(applet,iid):
    View(applet,iid)
    return True

gnomeapplet.bonobo_factory("OAFIID:wallpaper_thingy_Factory",
                            gnomeapplet.Applet.__gtype__,
                            #"Why another description?",
                            "Wallpaper thingy Factory",
                            "0",
                            wp_thingy_factory)

attached is the .server file.

is there anyway I can get the debugging output of the panel or
something I'm frustrated that I can't even see the error.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wp_thingy.server
Type: application/octet-stream
Size: 1287 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20061106/06612d01/w=
p_thingy.obj


More information about the pygtk mailing list