Error logging in via launchpad openid to edit community wiki
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moin OpenID module |
New
|
Undecided
|
Unassigned | ||
moin (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubuntu-docs
Click "Login to edit" on community wiki.
Authenticate to Launchpad OpenID
Get to this page: https:/
Click on "Yes, sign me in".
Get the following error, and still not authenticated to wiki to edit pages:
--> -->
TypeError
__init__() takes exactly 2 arguments (3 given)
If you want to report a bug, please save this page and attach it to your bug report.
* Show debugging information
* Report bug
* Visit MoinMoin wiki
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.
/
1. 26 self.fcgform = form
2. 27 self._setup_
3. 28 RequestBase.
4. 29
5. 30 except Exception, err:
* global RequestBase = <class 'MoinMoin.
* RequestBase.
* self = <MoinMoin.
* properties = {}
2.
/
1. 205 # set self.user even if _handle_auth_form raises an Exception
2. 206 self.user = None
3. 207 self.user = self._handle_
4. 208 del user_obj
5. 209 self.cfg.
* self = <MoinMoin.
* self.user = None
* self._handle_
* user_obj = None
3.
/
1. 610 return self.handle_
2. 611 password=password, login=login, logout=logout,
3. 612 stage=stage, openid_
4. 613
5. 614 def handle_auth(self, user_obj, attended=False, **kw):
* stage = u'openid'
* openid_identifier undefined
* oid = None
4.
/
1. 642 if stage and authmethod.name != stage:
2. 643 continue
3. 644 ret = authmethod.
4. 645 user_obj = ret.user_obj
5. 646 cont = ret.continue_flag
* ret undefined
* authmethod = <MoinMoin.
* authmethod.login = <bound method OpenIDAuth.login of <MoinMoin.
* self = <MoinMoin.
* user_obj = None
* extra = {'attended': True, 'cookie': <SimpleCookie: MOIN_SESSION=
5.
/
1. 324
2. 325 if continuation:
3. 326 return self._handle_
4. 327
5. 328 # openid is designed to work together with other auths
* self = <MoinMoin.
* self._handle_
* request = <MoinMoin.
6.
/
1. 299 oidstage = request.
2. 300 if oidstage == '1':
3. 301 return self._handle_
4. 302 elif oidstage == '2':
5. 303 return self._handle_
* self = <MoinMoin.
* self._handle_
* request = <MoinMoin.
7.
/
1. 214 # possibly associating an existing account.
2. 215 if sreg_resp:
3. 216 return self._handle_
4. 217 else:
5. 218 return MultistageFormL
* self = <MoinMoin.
* self._handle_
* request = <MoinMoin.
* sreg = {'country': '', 'dob': '0000-00-00', 'email': <email address hidden>', 'fullname': u'gcc', 'gender': '', 'language': '', 'nickname': u'chris+
* teams = None
8.
/
1. 235 if not user.isValidNam
2. 236 return MultistageFormL
3. 237 _('This is not a valid username, choose a different one.'))
4. 238 uid = None
5. 239 if newname:
* _ = <function <lambda> at 0x3064668>
TypeError
__init__() takes exactly 2 arguments (3 given)
* args = ('__init__() takes exactly 2 arguments (3 given)',)
* message = '__init__() takes exactly 2 arguments (3 given)'
System Details
* Date: Sun, 05 Dec 2010 13:04:20 +0000
* Platform: Linux acerola 2.6.24-28-server #1 SMP Thu Sep 16 14:49:46 UTC 2010 x86_64
* Python: Python 2.5.2 (/usr/bin/python)
* MoinMoin: Release 1.6.3 (release)
affects: | ubuntu-docs (Ubuntu) → moin (Ubuntu) |
affects: | launchpad → moin-openid |
gcc, thanks for your report. Are you still having this problem?