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

Sebastian Pölsterl marduk at k-d-w.org
Mon Nov 6 17:47:06 WST 2006


Jorge Vargas wrote:
> 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".
>
> [..]
Hi!

have a look at http://www.davyd.id.au/articles/debugging-gnome-applets.shtml
As you write a Python applet you have to use gdb python instead of gdb
./my_applet

In addition, I had a similiar problem. The problem was that I exited the
program if some umknown commandline arguments are supplied. Actually,
bonobo calls an applet like this:
gnome-applets/notification-area-applet
--oaf-activate-iid=OAFIID:GNOME_NotificationAreaApplet_Factory
--oaf-ior-fd=35

-- 
Greetings,
Sebastian Pölsterl


More information about the pygtk mailing list