Bug 582755

Summary: AttributeError: 'NoneType' object has no attribute 'contains'
Product: [Fedora] Fedora Reporter: Andrew Jamison <linux>
Component: system-config-kickstartAssignee: Chris Lumens <clumens>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: clumens
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: system-config-kickstart_trace_hash:857db2464143a4daf7223e2221eaec7a7351170608c0448d491efd5bf4313f52
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-15 18:56:49 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:
Attachments:
Description Flags
Attached traceback automatically from system-config-kickstart. none

Description Andrew Jamison 2010-04-15 18:07:01 UTC
The following was filed automatically by system-config-kickstart:
system-config-kickstart @VERSION@ exception report
Traceback (most recent call last):
  File "/usr/share/system-config-kickstart/kickstartGui.py", line 357, in on_activate_open
    self.applyKickstart()
  File "/usr/share/system-config-kickstart/kickstartGui.py", line 397, in applyKickstart
    self.packages_class.applyKickstart()
  File "/usr/share/system-config-kickstart/packages.py", line 278, in applyKickstart
    self.y.selectGroup(grp.groupid)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 2487, in selectGroup
    txmbrs = self.install(name = pkg)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3085, in install
    txmbr = self.tsInfo.addInstall(po)
  File "/usr/lib/python2.6/site-packages/yum/transactioninfo.py", line 385, in addInstall
    self.add(txmbr)
  File "/usr/lib/python2.6/site-packages/yum/transactioninfo.py", line 246, in add
    if self.rpmdb.contains(po=pkg):
AttributeError: 'NoneType' object has no attribute 'contains'

Comment 1 Andrew Jamison 2010-04-15 18:07:05 UTC
Created attachment 406875 [details]
Attached traceback automatically from system-config-kickstart.

Comment 2 Andrew Jamison 2010-04-15 18:09:50 UTC
To reproduce simply install system-config-kickstart then open it and try to load a pre-made kickstart file or try to add packages to the custom kickstart file after a few minutes this error pops up

Comment 3 Chris Lumens 2010-04-15 18:56:49 UTC

*** This bug has been marked as a duplicate of bug 541052 ***