[issue266] smart doesn't work with rpm 4.4.7

Marcus Habermehl at Labix Tracker tracker at labix.org
Sun Dec 24 15:48:59 PST 2006


New submission from Marcus Habermehl <bmh1980de at yahoo.de>:

smart doesn't work with rpm 4.4.7. It looks like modifications on the rpm modules.

% smart --gui --log-level=debug
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/smart/channel.py", line 160, in
createChannel
    smart = __import__("smart.channels."+type)
  File "/usr/lib/python2.5/site-packages/smart/channels/rpm_sys.py", line 22, in
<module>
    from smart.backends.rpm.header import RPMDBLoader
  File "/usr/lib/python2.5/site-packages/smart/backends/rpm/header.py", line 27,
in <module>
    from smart.backends.rpm.base import *
  File "/usr/lib/python2.5/site-packages/smart/backends/rpm/base.py", line 40,
in <module>
    archscore = rpm.archscore
AttributeError: 'module' object has no attribute 'archscore'
Traceback (most recent call last):
  File "/usr/bin/smart", line 167, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.5/site-packages/smart/interfaces/gtk/interactive.py",
line 364, in run
    self._ctrl.reloadChannels()
  File "/usr/lib/python2.5/site-packages/smart/control.py", line 285, in
reloadChannels
    self.rebuildSysConfChannels()
  File "/usr/lib/python2.5/site-packages/smart/control.py", line 258, in
rebuildSysConfChannels
    channel = createChannel(alias, data)
  File "/usr/lib/python2.5/site-packages/smart/channel.py", line 168, in
createChannel
    raise Error, _("Unable to create channel of type '%s'") % type
Error: Kann folgende Channel Variante nicht erstellen: rpm_sys

----------
messages: 1049
nosy: bmh1980
priority: critical
project: smart
status: unread
title: smart doesn't work with rpm 4.4.7

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue266>
_______________________________________



More information about the Smart mailing list