[issue59] Exception loading red-carpet channel

Sunny at Labix Tracker tracker at labix.org
Tue Dec 13 08:46:01 PST 2005


New submission from Sunny <sloncho at gmail.com>:

Hi,
using smart 0.40 on SuSE 9.3.

I have added the mono´s red-carpet channel like this:
#smart channel --add mono type=red-carpet \
baseurl=http://go-mono.com/download/mono-1.1/suse-93-i586/

issuing:
#smart update

produced:

Loading cache...
Updating cache...                               
################################################################### [100%]

Fetching information for 'mono'...
-> http://go-mono.com/download/mono-1.1/suse-93-i586/packageinfo.xml.gz
packageinfo.xml.gz                              
################################################################### [100%]

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 78, in main
    failed = not ctrl.reloadChannels(channels, caching=NEVER)
  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
200, in handleSectionEnd
    self._info["group"] = intern(data)
TypeError: intern() argument 1 must be string, not unicode

----------
messages: 161
nosy: sunny
priority: bug
project: smart
status: unread
title: Exception loading red-carpet channel

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



More information about the Smart mailing list