Bug 74828 - rhl-applet-gui crashes when I start it
rhl-applet-gui crashes when I start it
Product: Red Hat Linux
Classification: Retired
Component: rhn-applet (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Daniel Veillard
Depends On:
  Show dependency treegraph
Reported: 2002-10-01 19:01 EDT by Kenneth Rohde Christiansen
Modified: 2007-04-18 12:46 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-12 10:02:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kenneth Rohde Christiansen 2002-10-01 19:01:49 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
rhl-applet-gui crashes

(rhn-applet-gui &)
[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
a 'NoneType'

Version-Release number of selected component (if applicable):

How reproducible:

Additional info:
Comment 1 Ali-Reza Anghaie 2002-10-01 19:05:56 EDT
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
Comment 2 Kenneth Rohde Christiansen 2002-10-02 02:59:42 EDT
I will see if I did that when I get home - it might be that. 
Still it shouldn't crash anyway
Comment 3 Daniel Veillard 2003-07-01 05:09:29 EDT
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.

Comment 4 Bastien Nocera 2003-07-04 06:16:51 EDT
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?
Comment 5 Bastien Nocera 2003-07-04 06:55:12 EDT
The RH shipped version is:
Comment 6 Daniel Veillard 2003-07-04 07:45:33 EDT
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
doing so,

Comment 7 Bastien Nocera 2003-08-11 10:46:48 EDT
Seems to be related to that:
Comment 8 Bastien Nocera 2003-08-12 10:02:44 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.