Bug 222527

Summary: python exception in Software Installer
Product: [Fedora] Fedora Reporter: Herbert Carl Meyer <hcmeyer>
Component: pirutAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: fc6updates Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-09 20:42:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Herbert Carl Meyer 2007-01-13 11:41:33 UTC
Description of problem:
python exception in Software Installer

Version-Release number of selected component (if applicable):
unk

How reproducible:
don't know

Steps to Reproduce:
1. use software installer from firefox, install azereus client
2. download vmware player rpm to disk
3. run software installer from nautilus on vmware player
  
Actual results:

exception in software installer, traceback:

Component: Software Installer
Summary: TBdae920e4 plugins.py:475:getPackages:AttributeError: 'NoneType' object
has no attribute 'returnPackages'

Traceback (most recent call last):
  File "/usr/sbin/system-install-packages", line 204, in _apply
    self.applyChanges(self.mainwin)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 559, in
applyChanges
    self.checkDeps(mainwin)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 328, in checkDeps
    (result, msgs) = self.buildTransaction()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 442, in
buildTransaction
    self.plugins.run('postresolve', rescode=rescode, restring=restring)
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/kmdl.py", line 103, in postresolve_hook
    kmdl_install(conduit, kernels, kmdls(conduit))
  File "/usr/lib/yum-plugins/kmdl.py", line 82, in kmdl_install
    for pkg in conduit.getPackages():
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 475, in getPackages
    return self._base.pkgSack.returnPackages(arg)
AttributeError: 'NoneType' object has no attribute 'returnPackages'

Local variables in innermost frame:
repo: None
self: <yum.plugins.DepsolvePluginConduit instance at 0x9a8ee2c>
arg: None

Expected results:
install software

Additional info:
Included details because it was the second time software installer run during
session, possible stale locks ?

Side effect seemed to be knocking out gnome panel and menu system, reboot needed.

Oh yeah, add Sofware-Instller to component dropdown in BZ, this bug is entered
against yum.

Comment 1 Jeremy Katz 2007-01-15 18:19:39 UTC
Which yum plugins do you have installed?

Comment 2 Herbert Carl Meyer 2007-01-17 20:56:46 UTC
installonyn and axel's kmdl

Comment 3 Jeremy Katz 2007-04-09 20:42:56 UTC
This is a bug in the kmdl plugin, but current releases of yum and the plugin
should be happier.