Error Message on updating cache
Jan Landert
lup at bluewin.ch
Mon Sep 25 02:08:20 PDT 2006
Hi,
I never got so fastly help in a mailing list - and it even worked!
Thank you very much!
> On Mon, 25 Sep 2006, Jan Landert wrote:
> > I'm using Smart 0.42 with opensuse 10.1 on my hp nx8220 notebook. I has
> > doing its job fantasticly for a while but recently I got an error
> > message every time it tries to update the cache and I cannot use it
> > anymore. I don't know what to do - here is the error/ traceback message:
> >
> > ++++++++++++++++++++++++++++++++++++++++++++++++++
> > 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/interfaces/gtk/interactive.py",
> > line 364, in run
> > self._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 321, in loadFileProvides
> > self.parseFilesList(fndict)
> >
> > File "/usr/lib/python2.4/site-packages/smart/backends/rpm/metadata.py",
> > line 346, in parseFilesList
> > for event, elem in cElementTree.iterparse(file, ("start", "end")):
> >
> > File "<string>", line 64, in __iter__
> >
> > SyntaxError: not well-formed (invalid token): line 479344, column 58
> > ++++++++++++++++++++++++++++++++++++++++++++++++++
>
> rm -rf /var/lib/smart/cache
> rm -rf /var/lib/smart/channels/*
> smart update
>
>
> Regards
> Christoph
More information about the Smart
mailing list