Bug 443074 - TypeError: 'NoneType' object is not iterable
Summary: TypeError: 'NoneType' object is not iterable
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: pungi
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-18 14:35 UTC by John Reiser
Modified: 2013-01-10 01:49 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-18 15:57:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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