Error logging in via launchpad openid to edit community wiki

Bug #685482 reported by gcc
8
This bug affects 1 person
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://login.launchpad.net/M90hhCglnWMbX77q/+decide which says "Sign in to Ubuntu Community Help Wiki".

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.

      /var/lib/python-support/python2.5/MoinMoin/request/request_fcgi.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object at 0x30c0b90>, fcgRequest=<MoinMoin.support.thfcgi.Request instance at 0x22feea8>, env={'DOCUMENT_ROOT': '/srv/help.ubuntu.com/www', '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-gb,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'MOIN_SESSION=mx1az30wx6m6zagfy9v_2rrjoja08qrb; _...rral; __utmv=30955686.UbuntuWiki; __utmb=30955686', 'HTTP_HOST': 'help.ubuntu.com', ...}, form=FieldStorage(None, None, [MiniFieldStorage('acti...torage('openid.sreg.timezone', 'Europe/London')]), 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 0x30c0b90>
          * properties = {}
   2.

      /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object at 0x30c0b90>, 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 0x30c0b90>
          * self.user = None
          * self._handle_auth_form = <bound method Request._handle_auth_form of <Moin...equest.request_fcgi.Request object at 0x30c0b90>>
          * user_obj = None
   3.

      /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in _handle_auth_form (self=<MoinMoin.request.request_fcgi.Request object at 0x30c0b90>, user_obj=None)
         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 0x30c0b90>, user_obj=None, 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 0xddd050>
          * authmethod.login = <bound method OpenIDAuth.login of <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xddd050>>
          * self = <MoinMoin.request.request_fcgi.Request object at 0x30c0b90>
          * user_obj = None
          * extra = {'attended': True, 'cookie': <SimpleCookie: MOIN_SESSION='mx1az30wx6m6zagfy9v...=/apps/mediawiki/ltsp/index.php|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 0xddd050>, request=<MoinMoin.request.request_fcgi.Request object at 0x30c0b90>, user_obj=None, **kw={'attended': True, 'cookie': <SimpleCookie: MOIN_SESSION='mx1az30wx6m6zagfy9v...=/apps/mediawiki/ltsp/index.php|utmcmd=referral'>, 'multistage': True, 'openid_identifier': None, 'password': None, 'username': None})
         1. 324
         2. 325 if continuation:
         3. 326 return self._handle_continuation(request)
         4. 327
         5. 328 # openid is designed to work together with other auths
          * self = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xddd050>
          * self._handle_continuation = <bound method OpenIDAuth._handle_continuation of...n.auth.openidrp.OpenIDAuth instance at 0xddd050>>
          * request = <MoinMoin.request.request_fcgi.Request object at 0x30c0b90>
   6.

      /var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in _handle_continuation (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xddd050>, request=<MoinMoin.request.request_fcgi.Request object at 0x30c0b90>)
         1. 299 oidstage = request.form.get('oidstage', [0])[0]
         2. 300 if oidstage == '1':
         3. 301 return self._handle_verify_continuation(request)
         4. 302 elif oidstage == '2':
         5. 303 return self._handle_name_continuation(request)
          * self = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xddd050>
          * self._handle_verify_continuation = <bound method OpenIDAuth._handle_verify_continua...n.auth.openidrp.OpenIDAuth instance at 0xddd050>>
          * request = <MoinMoin.request.request_fcgi.Request object at 0x30c0b90>
   7.

      /var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in _handle_verify_continuation (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xddd050>, request=<MoinMoin.request.request_fcgi.Request object at 0x30c0b90>)
         1. 214 # possibly associating an existing account.
         2. 215 if sreg_resp:
         3. 216 return self._handle_name_continuation(request, sreg, teams)
         4. 217 else:
         5. 218 return MultistageFormLogin(self._get_account_name)
          * self = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xddd050>
          * self._handle_name_continuation = <bound method OpenIDAuth._handle_name_continuati...n.auth.openidrp.OpenIDAuth instance at 0xddd050>>
          * request = <MoinMoin.request.request_fcgi.Request object at 0x30c0b90>
          * sreg = {'country': '', 'dob': '0000-00-00', 'email': <email address hidden>', 'fullname': u'gcc', 'gender': '', 'language': '', 'nickname': u'chris+ubuntu-qwirx', 'postcode': '', 'timezone': 0}
          * teams = None
   8.

      /var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in _handle_name_continuation (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xddd050>, request=<MoinMoin.request.request_fcgi.Request object at 0x30c0b90>, sreg={'country': '', 'dob': '0000-00-00', 'email': <email address hidden>', 'fullname': u'gcc', 'gender': '', 'language': '', 'nickname': u'chris+ubuntu-qwirx', 'postcode': '', 'timezone': 0}, teams=None)
         1. 235 if not user.isValidName(request, newname):
         2. 236 return MultistageFormLogin(self._get_account_name,
         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)

Tags: openid
Revision history for this message
Connor Imes (ckimes) wrote :

gcc, thanks for your report. Are you still having this problem?

tags: added: openid
Changed in ubuntu-docs (Ubuntu):
status: New → Incomplete
Revision history for this message
gcc (chris+ubuntu-qwirx) wrote :

Yes.

Changed in ubuntu-docs (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
gcc (chris+ubuntu-qwirx) wrote :
Matthew East (mdke)
affects: ubuntu-docs (Ubuntu) → moin (Ubuntu)
affects: launchpad → moin-openid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.