Smart stopped working

J.L. Blom jlblom at neuroweave.nl
Sat Jul 15 00:18:09 PDT 2006


Hi,
I had smart installed and thanks to the help of Axel got it working
beautifully for one day. However, suddenly - it's possible after a
restart I don't remember anymore - when I start it I get an error
message and smart kills itself. The error message is:
-----------------------------------------------------------
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/lib64/python2.4/site-packages/smart/interfaces/gtk/interactive.py",
line 364, in run

  File "/usr/lib64/python2.4/site-packages/smart/control.py", line 375,
in reloadChannels
    self._cache.load()

  File
"/usr/lib64/python2.4/site-packages/smart/backends/rpm/metadata.py",
line 98, in getLoadSteps
    return os.path.getsize(self._filename)/BYTESPERPKG

  File "/usr/lib64/python2.4/posixpath.py", line 139, in getsize
    return os.stat(filename).st_size

OSError: [Errno 2] No such file or directory:
'/var/lib/smart/channels/ivazquez%%
http:__fedora.ivazquez.net_yum_5_x86_64_RPMS.ivazquez_repodata_primary.xml'
---------------------------------------------------------------------------------
Regarding the last line /var/lib/smart/channels/ivazquez.channel
contains:
------------------------------
[ivazquez]
name=Fedora Core 5 - x86_64 - ivazquez
baseurl=http://fedora.ivazquez.net/yum/5/x86_64/RPMS.ivazquez
type=rpm-md
-----------------------------
Looking correct. Can anybody (Alex?) tell me how to correct this?
Joep






More information about the Smart mailing list