Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.

Bug 230827

Summary: TB3a4f1e9a __init__.py:237:reposSetup:TypeError: doRepoSetup() takes exactly 1 argument (2 given)
Product: [Fedora] Fedora Reporter: Peter Gordon <peter>
Component: pirutAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-03 08:58:50 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Peter Gordon 2007-03-03 03:16:30 EST
The Pirut in rawhide, updated as of 20070302, fails to start. The traceback it
gives is as follows:

Component: Software Manager
Summary: TB3a4f1e9a __init__.py:237:reposSetup:TypeError: doRepoSetup() takes
exactly 1 argument (2 given)

Traceback (most recent call last):
  File "/usr/sbin/pirut", line 462, in <module>
    main()
  File "/usr/sbin/pirut", line 458, in main
    pm.run()
  File "/usr/sbin/pirut", line 360, in run
    self.doRefresh()
  File "/usr/sbin/pirut", line 380, in doRefresh
    self.reposSetup(pbar)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 237, in reposSetup
    self.doRepoSetup(thisrepo)
TypeError: doRepoSetup() takes exactly 1 argument (2 given)

Local variables in innermost frame:
thisrepo: None
callback: <pirut.Progress.PirutProgressCallback instance at 0xfd8a70>
self: <__main__.PackageManager object at 0xf47c10>

This is with version 1.3.2-1.fc7; and changing line 237 of the __init__.py file from
    self.doRepoSetup(thisrepo)
to
    self.doRepoSetup()
appears to fix it and Pirut then works as expected.
Comment 1 Jeremy Katz 2007-03-03 08:58:50 EST

*** This bug has been marked as a duplicate of 230777 ***