Bug 461211 - TypeError: doLoggingSetup() takes exactly 3 arguments (5 given)
TypeError: doLoggingSetup() takes exactly 3 arguments (5 given)
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: pungi (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-04 18:24 EDT by John Reiser
Modified: 2013-01-09 20:51 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-04 18:38:06 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-09-04 18:24:07 EDT
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 18:38:06 EDT
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.