Bug 443074

Summary: TypeError: 'NoneType' object is not iterable
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: pungiAssignee: David Cantrell <dcantrell>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-18 15:57:00 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 John Reiser 2008-04-18 14:35:55 UTC
Description of problem: During pkgorder, a pungi compose fails with traceback
and message: TypeError: 'NoneType' object is not iterable


Version-Release number of selected component (if applicable):
pungi-1.2.14-1.fc9.noarch
anaconda-runtime-11.4.0.73-1.x86_64


How reproducible: always


Steps to Reproduce:
1.pungi -c /usr/share/pungi/rawhide-fedora.ks --destdir=/data/Fedora9 --name
Fedora --ver 9 --discs=6  ## for x86_64
2.
3.
  
Actual results:
Pungi.Pungi:INFO: Running /usr/lib/anaconda-runtime/pkgorder
/data/Fedora9/9/x86_64/os x86_64 Packages
Pungi.Pungi:ERROR: Got an error from /usr/lib/anaconda-runtime/pkgorder
Pungi.Pungi:ERROR: Traceback (most recent call last):
  File "/usr/lib/anaconda-runtime/pkgorder", line 178, in <module>
    addGroups(ds, ["core", "base", "text-internet"])
  File "/usr/lib/anaconda-runtime/pkgorder", line 114, in addGroups
    processTransaction(ds)
  File "/usr/lib/anaconda-runtime/pkgorder", line 89, in processTransaction
    for (hdr, path) in ds.ts.ts.getKeys():
TypeError: 'NoneType' object is not iterable

Traceback (most recent call last):
  File "/usr/bin/pungi", line 189, in <module>
    main()
  File "/usr/bin/pungi", line 101, in main
    mypungi.doCreateIsos(split=opts.nosplitmedia)
  File "/usr/lib/python2.5/site-packages/pypungi/pungi.py", line 488, in
doCreateIsos
    self.doPackageorder()
  File "/usr/lib/python2.5/site-packages/pypungi/pungi.py", line 186, in
doPackageorder
    pypungi._doRunCommand(pkgorder, self.logger, output=pkgorderfile)
  File "/usr/lib/python2.5/site-packages/pypungi/__init__.py", line 70, in
_doRunCommand
    raise OSError, "Got an error from %s: %s" % (command[0], err)
OSError: Got an error from /usr/lib/anaconda-runtime/pkgorder: Traceback (most
recent call last):
  File "/usr/lib/anaconda-runtime/pkgorder", line 178, in <module>
    addGroups(ds, ["core", "base", "text-internet"])
  File "/usr/lib/anaconda-runtime/pkgorder", line 114, in addGroups
    processTransaction(ds)
  File "/usr/lib/anaconda-runtime/pkgorder", line 89, in processTransaction
    for (hdr, path) in ds.ts.ts.getKeys():
TypeError: 'NoneType' object is not iterable



Expected results: successful compose.


Additional info:

Comment 1 Jesse Keating 2008-04-18 15:57:00 UTC
This is fixed upstream and a build in koji that I just haven't tagged yet.