[issue59] Exception loading red-carpet channel
Sunny at Labix Tracker
tracker at labix.org
Tue Dec 13 15:23:41 PST 2005
Sunny <sloncho at gmail.com> added the comment:
Ops, I applied the change, and now:
# smart update
Traceback (most recent call last):
( 0%)
File "/usr/bin/smart", line 193, in ?
main(sys.argv[1:])
File "/usr/bin/smart", line 166, in main
exitcode = iface.run(opts.command, opts.argv)
File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run
result = _command.main(self._ctrl, opts)
File "/usr/lib/python2.4/site-packages/smart/commands/update.py", line 77, in main
ctrl.reloadChannels()
File "/usr/lib/python2.4/site-packages/smart/control.py", line 375, in
reloadChannels
self._cache.load()
File "/usr/lib/python2.4/site-packages/smart/backends/rpm/redcarpet.py", line
91, in load
XMLParser(self).parse()
File "/usr/lib/python2.4/site-packages/smart/backends/rpm/redcarpet.py", line
305, in parse
parser.ParseFile(open(self._loader._filename))
File "/usr/lib/python2.4/site-packages/smart/backends/rpm/redcarpet.py", line
175, in endElement
handler(name, attrs, self._data)
File "/usr/lib/python2.4/site-packages/smart/backends/rpm/redcarpet.py", line
275, in handlePackageEnd
prvargs, reqargs, upgargs, cnfargs)
TypeError: argument 1 must be str, not unicode
Unfortunately, I just started (an hour ago) to read about python, so still can
not be of much more help, so please, take a look into this.
Thanks
Sunny
----------
assignedto: -> niemeyer
_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue59>
_______________________________________
More information about the Smart
mailing list