[issue265] smart crashes if a package is removed from a media
Zé at Labix Tracker
tracker at labix.org
Sun Dec 17 07:15:34 PST 2006
New submission from Zé <mmodem00 at gmail.com>:
If i remove a package from a local media (rpm-dir media) and then start smart
and when updating cache it outputs an error about the missing package and then
crashes:
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 373, in run
self._ctrl.reloadChannels()
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/header.py", line
681, in loadFileProvides
file = open(filepath)
IOError: [Errno 2] File or folder not
found: '/mnt/ext3/linux/mandriva/mde/2007/x86_64/32-bit/libkdecore4-3.5.5-13.mdv2007.0.mde.i586.rpm'
----------
messages: 1040
nosy: mmodem
priority: critical
project: smart
status: unread
title: smart crashes if a package is removed from a media
_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue265>
_______________________________________
More information about the Smart
mailing list