Traceback on invalid XML
Bug #420164 reported by
Anders F Björklund
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Fix Released
|
Undecided
|
Unassigned | ||
smart (Fedora) |
Fix Released
|
High
|
Bug Description
When using the "mdclean" branch, there was a problem with error reporting.
NameError: global name 'repomd' is not defined
Related branches
lp:~afb/smart/mdclean
(Merged)
Changed in smart (Fedora): | |
status: | Unknown → Confirmed |
Changed in smart (Fedora): | |
importance: | Unknown → High |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Description of problem:
smart starts up with a traceback.
Version-Release number of selected component (if applicable): 2-64.fc11. i586
$ rpm -q smart
smart-1.
How reproducible:
Always.
Steps to Reproduce:
1. Start smart.
Actual results:
Traceback (most recent call last):
File "/usr/bin/smart", line 195, in <module> sys.argv[ 1:])
main(
File "/usr/bin/smart", line 168, in main opts.command, opts.argv)
exitcode = iface.run(
File "/usr/lib/ python2. 6/site- packages/ smart/interface s/gtk/interacti ve.py", line 373, in run _ctrl.reloadCha nnels()
self.
File "/usr/lib/ python2. 6/site- packages/ smart/control. py", line 359, in reloadChannels fetch(self. _fetcher, progress):
if not channel.
File "/usr/lib/ python2. 6/site- packages/ smart/channels/ rpm_md. py", line 100, in fetch ta(path)
oldinfo = self.loadMetada
File "/usr/lib/ python2. 6/site- packages/ smart/channels/ rpm_md. py", line 66, in loadMetadata
(metadatafile, repomd, str(e))
NameError: global name 'repomd' is not defined
Expected results:
Normal startup.
Additional info:
-