Bug 490894
Summary: | "Caught exception:" when calling rhn-applet-tui for the first time | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Jan Hutař <jhutar> |
Component: | rhn-applet | Assignee: | John Matthews <jmatthew> |
Status: | CLOSED ERRATA | QA Contact: | Preethi Thomas <pthomas> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 4.8 | CC: | bperkins, pkilambi, syeghiay |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-05-18 20:15:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Hutař
2009-03-18 13:57:55 UTC
This bugzilla has Keywords: Regression. Since no regressions are allowed between releases, it is also being proposed as a blocker for this release. Please resolve ASAP. This message shows up when the applet cache file doesn't exist. The error message is harmless. It's been fixed in this commit #182619 To test this: 1) rm ~/.rhn-applet.cache 2) rhn-applet-tui The old RPM shows the "Exception" message New RPM adds a check if the cache exists. Committed revision 182619. Index: rhn_applet_rpc.py =================================================================== --- rhn_applet_rpc.py (revision 182617) +++ rhn_applet_rpc.py (working copy) @@ -273,6 +273,10 @@ file = file + "/.rhn-applet.cache" rhn_utils.log_debug("rhn_applet_rpc::__get_data_store() called") try: + if not os.path.isfile(file): + rhn_utils.log_debug("%s does not exist" % (file)) + return + rhn_utils.log_debug("attempting to open file, %s" % (file)) fd = open(file, "r") rhn_utils.log_debug("opened cache at %s" % (file)) Index: rhn-applet.spec =================================================================== --- rhn-applet.spec (revision 182617) +++ rhn-applet.spec (working copy) @@ -90,8 +90,8 @@ %doc doc/* %changelog -* Tue Mar 17 2009 John Matthews <jmatthew> - 2.1.28-5 -- Resolves: #487660 +* Wed Mar 18 2009 John Matthews <jmatthew> - 2.1.29-1 +- Resolves: #487660, #490894 * Wed Feb 25 2009 Pradeep Kilambi <pkilambi> - 2.1.28-4 - Resolves: #452976 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 therefore 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. http://rhn.redhat.com/errata/RHBA-2009-0975.html |