Bug 129936 - rhn-applet fails to initialize non-http URLs
Summary: rhn-applet fails to initialize non-http URLs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rhn-applet
Version: rawhide
Hardware: i586
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Beth Nackashi
URL:
Whiteboard:
Depends On:
Blocks: FC3Target FC4Target
TreeView+ depends on / blocked
 
Reported: 2004-08-14 21:06 UTC by G.Wolfe Woodbury
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: FC5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-02 13:49:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
rhn applet sources file (1.92 KB, text/plain)
2004-08-14 21:11 UTC, G.Wolfe Woodbury
no flags Details

Description G.Wolfe Woodbury 2004-08-14 21:06:56 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.2)
Gecko/20040809

Description of problem:
The rhn-applet desktop icon goes to a grey question mark with an
exception and error.

Version-Release number of selected component (if applicable):
rhn-applet--2.1.7-1.1

How reproducible:
Always

Steps to Reproduce:
1.add a local file URL to rhn/sources
2.
3.
    

Actual Results:  Exception type exceptions.KeyError

Exception Handler Information
Traceback (most recent call last):
  File "/usr/share/rhn/rhn_applet/rhn_applet.py", line 458, in refresh
    self.model.refresh(force)
  File "/usr/share/rhn/rhn_applet/rhn_applet_model.py", line 376, in
refresh
    if not self.fully_initialized():
  File "/usr/share/rhn/rhn_applet/rhn_applet_model.py", line 310, in
fully_initialized
    self.__build_sources()
  File "/usr/share/rhn/rhn_applet/rhn_applet_model.py", line 121, in
__build_sources
    rhn_utils.log_debug("Failed to initialize source %s for %s : %s
%s" % (
KeyError: 'url'


Expected Results:  a nice blue check mark :-)

Additional info:

Comment 1 G.Wolfe Woodbury 2004-08-14 21:11:15 UTC
Created attachment 102736 [details]
rhn applet sources file

note the "file://" URL

Comment 2 Daniel Veillard 2004-08-14 21:31:52 UTC
That should work except $ARCH may not be substitued, try to
replace with i386 or whatever is needed

Daniel

Comment 3 G.Wolfe Woodbury 2004-08-14 22:43:53 UTC
That fixes the problem, but it is merely a workaround.

Comment 4 G.Wolfe Woodbury 2006-05-02 13:49:53 UTC
obsolete, not a problem in FC5, closing bug


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