Bug 230827 - TB3a4f1e9a __init__.py:237:reposSetup:TypeError: doRepoSetup() takes exactly 1 argument (2 given)
TB3a4f1e9a __init__.py:237:reposSetup:TypeError: doRepoSetup() takes exactly ...
Status: CLOSED DUPLICATE of bug 230777
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
x86_64 Linux
medium Severity high
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2007-03-03 03:16 EST by Peter Gordon
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-03 08:58:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
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>
  File "/usr/sbin/pirut", line 458, in main
  File "/usr/sbin/pirut", line 360, in run
  File "/usr/sbin/pirut", line 380, in doRefresh
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 237, in reposSetup
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
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 ***

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