From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
[kenneth@llephaane kenneth]$ Traceback (most recent call last):
File "/usr/bin/rhn-applet-gui", line 41, in ?
File "/usr/bin/rhn-applet-gui", line 37, in main
applet = rhn_applet.rhnApplet()
File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 136, in __init__
gtk.Object.connect(self.session, "save-yourself", self.save_yourself)
TypeError: descriptor 'connect' requires a 'gobject.GObject' object but received
Version-Release number of selected component (if applicable):
Did you "up2date --register" before trying to run the applet? In other words,
have you setup your RHN profile yet? That might be it. Cheers, -Ali
I will see if I did that when I get home - it might be that.
Still it shouldn't crash anyway
Bastien Nocera managed to duplicate the problem, current solution
is to not use the session if it's value is None, this doesn't help
explain why this occurs but avoid the applet from crashing at startup...
This will be in the next release of the RHN applet.
gnome.program_init("rhn-applet", "2.0.0") seems to be called after some other
gtk+ functions like self.tooltip = gtk.Tooltips()
I wasn't able to reproduce the problem with the stock python install on RHL9.
Kenneth, which version of gnome-python are you using? Did you change it from the
package installed with RHL9?
The RH shipped version is:
I moved the call to gnome.program_init() before the calls to gtk,
I can't tell if this may help on this but I see no negative effect in
Seems to be related to that:
The crash is fixed. The bug would actually only happen with a non-Red Hat
provided libgnome (http://bugzilla.gnome.org/show_bug.cgi?id=117421 wasn't fixed
until recently upstream, patch is included in the Red Hat package).
I guess this should be closed.