[issue59] Exception loading red-carpet channel

jon at Labix Tracker tracker at labix.org
Thu Dec 22 09:26:59 PST 2005


jon <linux.learner at gmail.com> added the comment:

i tried adding red-carpet mirrors and got this output. # smart channel --add
mono type=red-carpet baseurl=ftp://ftp.ximian.com/pub/ximian-evolution/sld-10-i586


Loading cache...
Traceback (most recent call last):                                       (  0%)
  File "/usr/bin/smart", line 194, in ?
    main(sys.argv[1:])
  File "/usr/bin/smart", line 167, 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
292, in parse
    def parse(self):
  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
163, in endElement
    def endElement(self, name):
  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

----------
nosy: +linux_learner

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue59>
_______________________________________



More information about the Smart mailing list