Smart error on SUSE 10.0 since this morning

Christoph Thiel cthiel at suse.de
Mon Aug 21 01:16:19 PDT 2006


On Mon, 21 Aug 2006, Kyek, Andreas, VF-DE wrote:

> I already delete all channel informations in /var/lib/smart/channel and 
> the cache file; no change.
> 
> The error message is:
> 
> linux:/ # smart update
> Traceback (most recent call last):
>   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/metadata.py", line
> 143, in load
>     for event, elem in cElementTree.iterparse(file, ("start", "end")):
>   File "<string>", line 61, in __iter__
> SyntaxError: not well-formed (invalid token): line 19123, column 1228

Please provide the output of

  file /var/lib/smart/channels/*

I guess smart tried downloading some channel metadata an ended up with a 
html file (apache error, or something alike) instead of the actual xml 
metadata.


Regards
	Christoph



More information about the Smart mailing list