--> -->

TypeError

__init__() takes exactly 2 arguments (1 given)

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /var/lib/python-support/python2.5/MoinMoin/request/request_fcgi.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object at 0x272c110>, fcgRequest=<MoinMoin.support.thfcgi.Request instance at 0x2be9a70>, env={'CONTENT_LENGTH': '80', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_COOKIE': '__utma=27501688.2074710280.1218214953.1218214953...gfgkp5e4rn5b1; __utmb=230736537; __utmc=230736537', ...}, form=FieldStorage(None, None, [MiniFieldStorage('logi...niFieldStorage('submit', 'Associate this name')]), properties={})

    1. 26 self.fcgform = form
    2. 27 self._setup_vars_from_std_env(env)
    3. 28 RequestBase.__init__(self, properties)
    4. 29
    5. 30 except Exception, err:
    • global RequestBase = <class 'MoinMoin.request.RequestBase'>
    • RequestBase.__init__ = <unbound method RequestBase.__init__>
    • self = <MoinMoin.request.request_fcgi.Request object at 0x272c110>
    • properties = {}
  2. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object at 0x272c110>, properties={})

    1. 205 # set self.user even if _handle_auth_form raises an Exception
    2. 206 self.user = None
    3. 207 self.user = self._handle_auth_form(user_obj)
    4. 208 del user_obj
    5. 209 self.cfg.session_handler.after_auth(self, self.cfg.session_id_handler, self.user)
    • self = <MoinMoin.request.request_fcgi.Request object at 0x272c110>
    • self.user = None
    • self._handle_auth_form = <bound method Request._handle_auth_form of <Moin...equest.request_fcgi.Request object at 0x272c110>>
    • user_obj = <MoinMoin.user.User at 0x29ed248 name:u'schmickcl' valid:1>
  3. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in _handle_auth_form (self=<MoinMoin.request.request_fcgi.Request object at 0x272c110>, user_obj=<MoinMoin.user.User at 0x29ed248 name:u'schmickcl' valid:1>)

    1. 610 return self.handle_auth(user_obj, attended=True, username=username,
    2. 611 password=password, login=login, logout=logout,
    3. 612 stage=stage, openid_identifier=oid)
    4. 613
    5. 614 def handle_auth(self, user_obj, attended=False, **kw):
    • stage = u'openid'
    • openid_identifier undefined
    • oid = None
  4. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in handle_auth (self=<MoinMoin.request.request_fcgi.Request object at 0x272c110>, user_obj=<MoinMoin.user.User at 0x29ed248 name:u'schmickcl' valid:1>, attended=True, **kw={'login': True, 'logout': False, 'openid_identifier': None, 'password': None, 'stage': u'openid', 'username': None})

    1. 642 if stage and authmethod.name != stage:
    2. 643 continue
    3. 644 ret = authmethod.login(self, user_obj, **extra)
    4. 645 user_obj = ret.user_obj
    5. 646 cont = ret.continue_flag
    • ret undefined
    • authmethod = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbefab8>
    • authmethod.login = <bound method OpenIDAuth.login of <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbefab8>>
    • self = <MoinMoin.request.request_fcgi.Request object at 0x272c110>
    • user_obj = <MoinMoin.user.User at 0x29ed248 name:u'schmickcl' valid:1>
    • extra = {'attended': True, 'cookie': <SimpleCookie: MOIN_SESSION='w8-vbm4ccj-obf1_kfa...m|utmcct=/community/participate|utmcmd=referral'>, 'multistage': True, 'openid_identifier': None, 'password': None, 'username': None}
  5. /var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in login (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbefab8>, request=<MoinMoin.request.request_fcgi.Request object at 0x272c110>, user_obj=<MoinMoin.user.User at 0x29ed248 name:u'schmickcl' valid:1>, **kw={'attended': True, 'cookie': <SimpleCookie: MOIN_SESSION='w8-vbm4ccj-obf1_kfa...m|utmcct=/community/participate|utmcmd=referral'>, 'multistage': True, 'openid_identifier': None, 'password': None, 'username': None})

    1. 287
    2. 288 if continuation:
    3. 289 return self._handle_continuation(request)
    4. 290
    5. 291 # openid is designed to work together with other auths
    • self = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbefab8>
    • self._handle_continuation = <bound method OpenIDAuth._handle_continuation of...n.auth.openidrp.OpenIDAuth instance at 0xbefab8>>
    • request = <MoinMoin.request.request_fcgi.Request object at 0x272c110>
  6. /var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in _handle_continuation (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbefab8>, request=<MoinMoin.request.request_fcgi.Request object at 0x272c110>)

    1. 266 return self._handle_name_continuation(request)
    2. 267 elif oidstage == '3':
    3. 268 return self._handle_associate_continuation(request)
    4. 269 return CancelLogin()
    5. 270
    • self = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbefab8>
    • self._handle_associate_continuation = <bound method OpenIDAuth._handle_associate_conti...n.auth.openidrp.OpenIDAuth instance at 0xbefab8>>
    • request = <MoinMoin.request.request_fcgi.Request object at 0x272c110>
  7. /var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in _handle_associate_continuation (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbefab8>, request=<MoinMoin.request.request_fcgi.Request object at 0x272c110>)

    1. 234 def _handle_associate_continuation(self, request):
    2. 235 if not 'openid.id' in request.session:
    3. 236 return CancelLogin()
    4. 237
    5. 238 _ = request.getText
    • global CancelLogin = <class 'MoinMoin.auth.CancelLogin'>

TypeError

__init__() takes exactly 2 arguments (1 given)

  • args = ('__init__() takes exactly 2 arguments (1 given)',)
  • message = '__init__() takes exactly 2 arguments (1 given)'

System Details