Bug 461211 - TypeError: doLoggingSetup() takes exactly 3 arguments (5 given)
Summary: TypeError: doLoggingSetup() takes exactly 3 arguments (5 given)
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: pungi
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-04 22:24 UTC by John Reiser
Modified: 2013-01-10 01:51 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-04 22:38:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Reiser 2008-09-04 22:24:07 UTC
Description of problem: pungi aborts due to TypeError.  DVD was generated, CDs were not.


Version-Release number of selected component (if applicable):
pungi-2.0.4-1.fc10.noarch


How reproducible: haven't tried


Steps to Reproduce:
1.pungi -c /usr/share/pungi/rawhide-fedora.ks --destdir=/data/Fedora10 --name Fedora --ver 10 --nosource
2.
3.
  
Actual results:
   [snip]
Pungi:INFO: Generating sha1sum of /data/Fedora10/10/i386/iso/Fedora-10-i386-DVD.iso
Pungi:INFO: Running /usr/bin/pkgorder /data/Fedora10/10/i386/os i386 Packages
Pungi:ERROR: Got an error from /usr/bin/pkgorder
Pungi:ERROR: Traceback (most recent call last):
  File "/usr/bin/pkgorder", line 183, in <module>
    ds.setup(fn=config, excludes=options.excludeList, root = testpath)
  File "/usr/bin/pkgorder", line 60, in setup
    self.doConfigSetup(fn, root, init_plugins = False)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 139, in doConfigSetup
    errorlevel=errorlevel)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 185, in _getConfig
    startupconf.syslog_ident, startupconf.syslog_facility)
TypeError: doLoggingSetup() takes exactly 3 arguments (5 given)

Traceback (most recent call last):
  File "/usr/bin/pungi", line 192, in <module>
    main()
  File "/usr/bin/pungi", line 106, in main
    mypungi.doCreateIsos(split=opts.nosplitmedia)
  File "/usr/lib/python2.5/site-packages/pypungi/__init__.py", line 1055, in doCreateIsos
    self.doPackageorder()
  File "/usr/lib/python2.5/site-packages/pypungi/__init__.py", line 737, in doPackageorder
    pypungi.util._doRunCommand(pkgorder, self.logger, output=pkgorderfile)
  File "/usr/lib/python2.5/site-packages/pypungi/util.py", line 36, in _doRunCommand
    raise OSError, "Got an error from %s: %s" % (command[0], err)
OSError: Got an error from /usr/bin/pkgorder: Traceback (most recent call last):
  File "/usr/bin/pkgorder", line 183, in <module>
    ds.setup(fn=config, excludes=options.excludeList, root = testpath)
  File "/usr/bin/pkgorder", line 60, in setup
    self.doConfigSetup(fn, root, init_plugins = False)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 139, in doConfigSetup
    errorlevel=errorlevel)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 185, in _getConfig
    startupconf.syslog_ident, startupconf.syslog_facility)
TypeError: doLoggingSetup() takes exactly 3 arguments (5 given)



Expected results: Successful compose.


Additional info:

Comment 1 Jesse Keating 2008-09-04 22:38:06 UTC
This was fixed upstream and will be in the next build of pungi.


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