Red Hat Bugzilla – Bug 135392
rhn-applet crashes on startup
Last modified: 2007-11-30 17:07:04 EST
Description of problem:
If you run rhn-applet-gui, it crashes
[root@dhcp59-201 firstboot]# rhn-applet-gui
Traceback (most recent call last):
File "/usr/bin/rhn-applet-gui", line 30, in ?
File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 101, in ?
File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 286, in
def enable_refresh_timer(self, when = REFRESH_INTERVAL * 1000,
force = 0):
NameError: name 'REFRESH_INTERVAL' is not defined
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. see desc
Line 286 of rhn_applet.py should be REMIND_INTERVAL not REFRESH_INTERVAL
Making this change in the code myself allows the applet to run.
rhn-applet-2.1.14 fixes this
This is fixed. QA_READY
Fix confirmed with 2.1.18-4. REFRESH_INTERVAL is defined as 60, which
means that the applet will refresh about once every 16 minutes.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.