Attachment 'traceback.html'

Download

--> -->

TypeError

complete() got an unexpected keyword argument 'return_to'

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.4/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object>)

    1. 1304 self.page.send_page()
    2. 1305 else:
    3. 1306 handler(self.page.page_name, self)
    4. 1307
    5. 1308 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function execute>
    • self = <MoinMoin.request.request_fcgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'InterfaceWiki'
  2. /var/lib/python-support/python2.4/MoinMoin/action/userprefs.py in execute (pagename=u'InterfaceWiki', request=<MoinMoin.request.request_fcgi.Request object>)

    1. 93 return Page.Page(request, pagename).send_page()
    2. 94
    3. 95 text, title, msg_class, msg = _create_page(request)
    4. 96 if title:
    5. 97 # XXX: we would like to make "Settings" here a link back
    • text undefined
    • title undefined
    • msg_class undefined
    • msg undefined
    • global _create_page = <function _create_page>
    • request = <MoinMoin.request.request_fcgi.Request object>
  3. /var/lib/python-support/python2.4/MoinMoin/action/userprefs.py in _create_page (request=<MoinMoin.request.request_fcgi.Request object>, cancel=False)

    1. 65
    2. 66 if 'handler' in request.form:
    3. 67 msg_class, msg = _handle_submission(request)
    4. 68 else:
    5. 69 msg_class, msg = None, None
    • msg_class undefined
    • msg undefined
    • global _handle_submission = <function _handle_submission>
    • request = <MoinMoin.request.request_fcgi.Request object>
  4. /var/lib/python-support/python2.4/MoinMoin/action/userprefs.py in _handle_submission (request=<MoinMoin.request.request_fcgi.Request object>)

    1. 32 if not obj.allowed():
    2. 33 return None, None
    3. 34 res = obj.handle_form()
    4. 35 if isinstance(res, tuple):
    5. 36 return res
    • res undefined
    • obj = <MoinMoin.userprefs.oid.Settings object>
    • obj.handle_form = <bound method Settings.handle_form of <MoinMoin.userprefs.oid.Settings object>>
  5. /var/lib/python-support/python2.4/MoinMoin/userprefs/oid.py in handle_form (self=<MoinMoin.userprefs.oid.Settings object>)

    1. 134
    2. 135 if form.has_key('oid.return'):
    3. 136 return self._handle_oidreturn()
    4. 137
    5. 138 if form.has_key('cancel'):
    • self = <MoinMoin.userprefs.oid.Settings object>
    • self._handle_oidreturn = <bound method Settings._handle_oidreturn of <MoinMoin.userprefs.oid.Settings object>>
  6. /var/lib/python-support/python2.4/MoinMoin/userprefs/oid.py in _handle_oidreturn (self=<MoinMoin.userprefs.oid.Settings object>)

    1. 106 'oid.return': '1'})
    2. 107 return_to = request.getQualifiedURL(request.page.url(request, qstr))
    3. 108 info = oidconsumer.complete(query, return_to=return_to)
    4. 109 if info.status == consumer.FAILURE:
    5. 110 return 'error', _('OpenID error: %s.') % info.message
    • info undefined
    • oidconsumer = <openid.consumer.consumer.Consumer object>
    • oidconsumer.complete = <bound method Consumer.complete of <openid.consumer.consumer.Consumer object>>
    • query = {'action': u'userprefs', 'handler': u'oid', 'janrain_nonce': u'2008-07-12T01:33:38ZFvg9rF', 'oid.return': u'1', 'openid.assoc_handle': u'{HMAC-SHA1}{487809f1}{EZgiTw==}', 'openid.identity': u'http://qwandor.wordpress.com/', 'openid.mode': u'id_res', 'openid.return_to': u'http://interface.org.nz/InterfaceWiki?action=use..._claimed_id=http%3A%2F%2Fqwandor.wordpress.com%2F', 'openid.sig': u'vm9dfM7tlvQ9dMIQze5Zd01WbfA=', 'openid.signed': u'mode,identity,return_to', ...}
    • return_to = 'http://interface.org.nz/InterfaceWiki?action=userprefs&handler=oid&oid.return=1'

TypeError

complete() got an unexpected keyword argument 'return_to'

  • args = ("complete() got an unexpected keyword argument 'return_to'",)

System Details

  • Date: Sat, 12 Jul 2008 01:45:46 +0000
  • Platform: Linux nubus 2.6.16-xenU #3 SMP Thu May 11 21:06:22 NZST 2006 i686
  • Python: Python 2.4.4 (/usr/bin/python)
  • MoinMoin: Release 1.7.0 (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.
  • [get | view] (2008-07-12 01:48:10, 10.0 KB) [[attachment:traceback.html]]
  • [get | view] (2009-02-02 20:34:45, 10.8 KB) [[attachment:traceback181.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.