Bug 443074 - TypeError: 'NoneType' object is not iterable
TypeError: 'NoneType' object is not iterable
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: pungi (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-18 10:35 EDT by John Reiser
Modified: 2013-01-09 20:49 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-04-18 11:57:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Reiser 2008-04-18 10:35:55 EDT
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 11:57:00 EDT
This is fixed upstream and a build in koji that I just haven't tagged yet.

Note You need to log in before you can comment on or make changes to this bug.