Error when using smart
![](https://seccdn.libravatar.org/avatar/e24799c89b6dfbae452f40295fb98778.jpg?s=120&d=mm&r=g)
I've been using smart-0.41-28.guru.suse101.i686.rpm on my 10.1 box for some time but today it's started failing the smart update routine with the following traceback. Anybody any idea what might be going wrong? Thanks Phil Traceback (most recent call last):##################################### ( 99%) 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 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 60, in __iter__ SyntaxError: not well-formed (invalid token): line 479344, column 58
![](https://seccdn.libravatar.org/avatar/0844ed661ea2d9add74db4aaa9b72ef3.jpg?s=120&d=mm&r=g)
On 21/09/06 10:29 +0100, Phil Burness wrote:
I've been using smart-0.41-28.guru.suse101.i686.rpm on my 10.1 box for some time but today it's started failing the smart update routine with the following traceback.
Anybody any idea what might be going wrong?
This came up yesterday on opensuse. Try this solution from Andreas Hanke: http://lists.opensuse.org/opensuse/2006-09/msg00327.html
![](https://seccdn.libravatar.org/avatar/01c89a192daffd8a68ed4c0c3a20dc2f.jpg?s=120&d=mm&r=g)
On Thursday 21 September 2006 12:29, Phil Burness wrote: or you can use this: http://www.suseforums.net/index.php?showtopic=24589&hl= i've removed only suse online update channel from /var/lib/smart/channels and everything is fine now.
I've been using smart-0.41-28.guru.suse101.i686.rpm on my 10.1 box for some time but today it's started failing the smart update routine with the following traceback.
Anybody any idea what might be going wrong?
Thanks Phil
Traceback (most recent call last):##################################### ( 99%) 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 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 60, in __iter__ SyntaxError: not well-formed (invalid token): line 479344, column 58
-- Best regards. Adrian Vraciu
![](https://seccdn.libravatar.org/avatar/7b4d33ff23a0d9237c1c8457f9fbbb95.jpg?s=120&d=mm&r=g)
On Thursday 21 September 2006 10:29, Phil Burness wrote:
I've been using smart-0.41-28.guru.suse101.i686.rpm on my 10.1 box for some time but today it's started failing the smart update routine with the following traceback.
Anybody any idea what might be going wrong?
Thanks Phil
I've had this sort of problem pop up now and again with Smart. Easiest fix for me is to delete the contents of /var/lib/smart/channels and then run smart update which will refresh the channel information. Possibly not ideal if you're on a dial up but saves having to work out which channel is having a problem and why. Matthew
![](https://seccdn.libravatar.org/avatar/f9147cceaf16f4b1f180cbc6a8b5e8e3.jpg?s=120&d=mm&r=g)
On Thursday, 21 September 2006 10:35, Matthew Stringer wrote:
On Thursday 21 September 2006 10:29, Phil Burness wrote:
I've been using smart-0.41-28.guru.suse101.i686.rpm on my 10.1 box for some time but today it's started failing the smart update routine with the following traceback.
<snip>
I've had this sort of problem pop up now and again with Smart. Easiest fix for me is to delete the contents of /var/lib/smart/channels and then run
smart update which will refresh the channel information.
Possibly not ideal if you're on a dial up but saves having to work out which channel is having a problem and why.
For what it is worth, I maintain several production SuSE boxes using smart. After an update yesterday (possibly Tuesday), smart is broken on every box. Removing the channels didn't fix it, nor did renaming the config file. YaST gives me errors when I try and update all the files, so I have had to update each file one-by-one. If anyone figures out what broke and how to fix it, please post the solution to the list. Thanks.
![](https://seccdn.libravatar.org/avatar/7574aaee71d8971a36f4283a7cad6b2c.jpg?s=120&d=mm&r=g)
* Sargon
If anyone figures out what broke and how to fix it, please post the solution to the list.
It has been. In this very thread in which you are participating. Have
you not read the thread where you are posting?
http://lists.opensuse.org/opensuse/2006-09/msg00327.html
the message was:
From: Craig Millar
participants (6)
-
Adrian Vraciu
-
Craig Millar
-
Matthew Stringer
-
Patrick Shanahan
-
Phil Burness
-
Sargon