Attachment 'UTFEightCurrentProblems.html'
Download--> -->
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.
/var/lib/python-support/python2.5/MoinMoin/request/request_fcgi.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object at 0x5417b10>, fcgRequest=<MoinMoin.support.thfcgi.Request instance at 0x19b7950>, env={'CONTENT_LENGTH': '100', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/srv/wiki.ubuntu.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'UTF-8,*;q=0.5', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,fr-CA;q=0.6,fr;q=0.4,en-GB;q=0.2', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', ...}, form=FieldStorage(None, None, [MiniFieldStorage('logi...niFieldStorage('submit', 'Associate this name')]), properties={})
- 26 self.fcgform = form
- 27 self._setup_vars_from_std_env(env)
- 28 RequestBase.__init__(self, properties)
- 29
- 30 except Exception, err:
- global RequestBase = <class 'MoinMoin.request.RequestBase'>
- RequestBase.__init__ = <unbound method RequestBase.__init__>
- self = <MoinMoin.request.request_fcgi.Request object at 0x5417b10>
- properties = {}
/var/lib/python-support/python2.5/MoinMoin/request/__init__.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object at 0x5417b10>, properties={})
- 205 # set self.user even if _handle_auth_form raises an Exception
- 206 self.user = None
- 207 self.user = self._handle_auth_form(user_obj)
- 208 del user_obj
- 209 self.cfg.session_handler.after_auth(self, self.cfg.session_id_handler, self.user)
- self = <MoinMoin.request.request_fcgi.Request object at 0x5417b10>
- self.user = None
- self._handle_auth_form = <bound method Request._handle_auth_form of <Moin...equest.request_fcgi.Request object at 0x5417b10>>
- user_obj = <MoinMoin.user.User at 0x71bac68 name:u'intuited' valid:1>
/var/lib/python-support/python2.5/MoinMoin/request/__init__.py in _handle_auth_form (self=<MoinMoin.request.request_fcgi.Request object at 0x5417b10>, user_obj=<MoinMoin.user.User at 0x71bac68 name:u'intuited' valid:1>)
- 610 return self.handle_auth(user_obj, attended=True, username=username,
- 611 password=password, login=login, logout=logout,
- 612 stage=stage, openid_identifier=oid)
- 613
- 614 def handle_auth(self, user_obj, attended=False, **kw):
- stage = u'openid'
- openid_identifier undefined
- oid = None
/var/lib/python-support/python2.5/MoinMoin/request/__init__.py in handle_auth (self=<MoinMoin.request.request_fcgi.Request object at 0x5417b10>, user_obj=<MoinMoin.user.User at 0x71bac68 name:u'intuited' valid:1>, attended=True, **kw={'login': True, 'logout': False, 'openid_identifier': None, 'password': u'[REDACTED]', 'stage': u'openid', 'username': None})
- 642 if stage and authmethod.name != stage:
- 643 continue
- 644 ret = authmethod.login(self, user_obj, **extra)
- 645 user_obj = ret.user_obj
- 646 cont = ret.continue_flag
- ret undefined
- authmethod = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xe57200>
- authmethod.login = <bound method OpenIDAuth.login of <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xe57200>>
- self = <MoinMoin.request.request_fcgi.Request object at 0x5417b10>
- user_obj = <MoinMoin.user.User at 0x71bac68 name:u'intuited' valid:1>
- extra = {'attended': True, 'cookie': <SimpleCookie: MOIN_SESSION='5t2h7zkx7j5357mbfpa...mctr=ubuntu+php+utf-8+ISO-8859-1|utmcmd=organic'>, 'multistage': True, 'openid_identifier': None, 'password': u'[REDACTED]', 'username': None}
/var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in login (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xe57200>, request=<MoinMoin.request.request_fcgi.Request object at 0x5417b10>, user_obj=<MoinMoin.user.User at 0x71bac68 name:u'intuited' valid:1>, **kw={'attended': True, 'cookie': <SimpleCookie: MOIN_SESSION='5t2h7zkx7j5357mbfpa...mctr=ubuntu+php+utf-8+ISO-8859-1|utmcmd=organic'>, 'multistage': True, 'openid_identifier': None, 'password': u'[REDACTED]', 'username': None})
- 321
- 322 if continuation:
- 323 return self._handle_continuation(request)
- 324
- 325 # openid is designed to work together with other auths
- self = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xe57200>
- self._handle_continuation = <bound method OpenIDAuth._handle_continuation of...n.auth.openidrp.OpenIDAuth instance at 0xe57200>>
- request = <MoinMoin.request.request_fcgi.Request object at 0x5417b10>
/var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in _handle_continuation (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xe57200>, request=<MoinMoin.request.request_fcgi.Request object at 0x5417b10>)
- 300 return self._handle_name_continuation(request)
- 301 elif oidstage == '3':
- 302 return self._handle_associate_continuation(request)
- 303 return CancelLogin()
- 304
- self = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xe57200>
- self._handle_associate_continuation = <bound method OpenIDAuth._handle_associate_conti...n.auth.openidrp.OpenIDAuth instance at 0xe57200>>
- request = <MoinMoin.request.request_fcgi.Request object at 0x5417b10>
/var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in _handle_associate_continuation (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xe57200>, request=<MoinMoin.request.request_fcgi.Request object at 0x5417b10>)
- 268 def _handle_associate_continuation(self, request):
- 269 if not 'openid.id' in request.session:
- 270 return CancelLogin()
- 271
- 272 _ = 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
- Date: Thu, 25 Mar 2010 15:39:44 +0000
- Platform: Linux titanium 2.6.24-26-server #1 SMP Tue Dec 1 18:26:43 UTC 2009 x86_64
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.6.3 (release)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.