1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108 |
<class 'openid.message.InvalidOpenIDNamespace'> Python 2.6.5: /usr/bin/python
Sun Mar 15 03:13:43 2015
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/pymodules/python2.6/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
556 """Runs the handler, flushes the streams, and ends the request."""
557 try:
558 protocolStatus, appStatus = self.server.handler(self)
559 except:
560 traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>>
/usr/lib/pymodules/python2.6/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
1116 try:
1117 try:
1118 result = self.application(environ, start_response)
1119 try:
1120 for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <function script_name_fixer>, environ = {'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_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '_ga=GA1.2.1351423255.1426339397; MOIN_SESSION_80_ROOT=159aacdfec02b72684dc137ae2fb00349cd186a8', 'HTTP_HOST': 'wiki.kubuntu.org', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', ...}, start_response = <function start_response>
/srv/wiki.kubuntu.org/moin.fcgi in script_name_fixer(env={'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_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '_ga=GA1.2.1351423255.1426339397; MOIN_SESSION_80_ROOT=159aacdfec02b72684dc137ae2fb00349cd186a8', 'HTTP_HOST': 'wiki.kubuntu.org', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', ...}, start=<function start_response>)
55 def script_name_fixer(env, start):
56 env['SCRIPT_NAME'] = fix_script_name
57 return app(env, start)
58 application = script_name_fixer
59
global app = <MoinMoin.wsgiapp.Application object>, env = {'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_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '_ga=GA1.2.1351423255.1426339397; MOIN_SESSION_80_ROOT=159aacdfec02b72684dc137ae2fb00349cd186a8', 'HTTP_HOST': 'wiki.kubuntu.org', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', ...}, start = <function start_response>
/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in __call__(self=<MoinMoin.wsgiapp.Application object>, environ={'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_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '_ga=GA1.2.1351423255.1426339397; MOIN_SESSION_80_ROOT=159aacdfec02b72684dc137ae2fb00349cd186a8', 'HTTP_HOST': 'wiki.kubuntu.org', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', ...}, start_response=<function start_response>)
279 request = None
280 request = self.Request(environ)
281 context = init(request)
282 response = run(context)
283 context.clock.stop('total')
context undefined, global init = <function init>, request = <MoinMoin.wsgiapp.AppRequest object>
/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in init(request=<MoinMoin.wsgiapp.AppRequest object>)
53 context.session = context.cfg.session_service.get_session(context)
54
55 context.user = setup_user(context, context.session)
56
57 context.lang = setup_i18n_postauth(context)
context = <AllContext ['AllContext']>, context.user = <MoinMoin.user.User at 0x637a098 name:'' valid:0>, global setup_user = <function setup_user>, context.session = <MoinSession 159aacdfec02b72684dc137ae2fb00349cd...over.OpenIDServiceEndpoint object at 0x6378310>}>
/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in setup_user(context=<AllContext ['AllContext']>, session=<MoinSession 159aacdfec02b72684dc137ae2fb00349cd...over.OpenIDServiceEndpoint object at 0x6378310>}>)
216 'stage': form.get('stage')
217 }
218 userobj = auth.handle_login(context, userobj, **params)
219 elif 'logout' in form:
220 userobj = auth.handle_logout(context, userobj)
userobj = None, global auth = <module 'MoinMoin.auth' from '/usr/lib/pymodules/python2.6/MoinMoin/auth/__init__.pyc'>, auth.handle_login = <function handle_login>, context = <AllContext ['AllContext']>, params = {'attended': True, 'openid_identifier': None, 'password': None, 'stage': u'openid', 'username': None}
/usr/lib/pymodules/python2.6/MoinMoin/auth/__init__.py in handle_login(request=<AllContext ['AllContext']>, userobj=None, username=None, password=None, attended=True, openid_identifier=None, stage=u'openid')
394 if stage and authmethod.name != stage:
395 continue
396 ret = authmethod.login(request, userobj, **params)
397
398 userobj = ret.user_obj
ret undefined, authmethod = <MoinMoin.auth.openidrp.OpenIDAuth instance>, authmethod.login = <bound method OpenIDAuth.login of <MoinMoin.auth.openidrp.OpenIDAuth instance>>, request = <AllContext ['AllContext']>, userobj = None, params = {'attended': True, 'multistage': True, 'openid_identifier': None, 'password': None, 'username': None}
/usr/lib/pymodules/python2.6/MoinMoin/auth/openidrp.py in login(self=<MoinMoin.auth.openidrp.OpenIDAuth instance>, request=<AllContext ['AllContext']>, user_obj=None, **kw={'attended': True, 'multistage': True, 'openid_identifier': None, 'password': None, 'username': None})
261
262 if continuation:
263 return self._handle_continuation(request)
264
265 # openid is designed to work together with other auths
self = <MoinMoin.auth.openidrp.OpenIDAuth instance>, self._handle_continuation = <bound method OpenIDAuth._handle_continuation of <MoinMoin.auth.openidrp.OpenIDAuth instance>>, request = <AllContext ['AllContext']>
/usr/lib/pymodules/python2.6/MoinMoin/auth/openidrp.py in _handle_continuation(self=<MoinMoin.auth.openidrp.OpenIDAuth instance>, request=<AllContext ['AllContext']>)
235 if oidstage == '1':
236 logging.debug('OpenID: handle verify continuation')
237 return self._handle_verify_continuation(request)
238 elif oidstage == '2':
239 logging.debug('OpenID: handle name continuation')
self = <MoinMoin.auth.openidrp.OpenIDAuth instance>, self._handle_verify_continuation = <bound method OpenIDAuth._handle_verify_continua... of <MoinMoin.auth.openidrp.OpenIDAuth instance>>, request = <AllContext ['AllContext']>
/usr/lib/pymodules/python2.6/MoinMoin/auth/openidrp.py in _handle_verify_continuation(self=<MoinMoin.auth.openidrp.OpenIDAuth instance>, request=<AllContext ['AllContext']>)
148 current_url = get_multistage_continuation_url(request, self.name,
149 {'oidstage': '1'})
150 info = oidconsumer.complete(query, current_url)
151 if info.status == consumer.FAILURE:
152 logging.debug(_("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'login', 'janrain_nonce': u'2015-03-15T03%3A13%3A41Z5m3zbO', 'login': u'1', 'oidstage': u'1', 'openid.assoc_handle': u'%7BHMAC-SHA1%7D%7B55043e1d%7D%7BS%2BegnQ%3D%3D%7D', 'openid.claimed_id': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'openid.identity': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'openid.lp.is_member': u'', 'openid.mode': u'id_res', 'openid.ns': u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0', ...}, current_url = 'http://wiki.kubuntu.org/?action=login&login=1&oidstage=1&stage=openid'
/usr/lib/pymodules/python2.6/openid/consumer/consumer.py in complete(self=<openid.consumer.consumer.Consumer object>, query={'action': u'login', 'janrain_nonce': u'2015-03-15T03%3A13%3A41Z5m3zbO', 'login': u'1', 'oidstage': u'1', 'openid.assoc_handle': u'%7BHMAC-SHA1%7D%7B55043e1d%7D%7BS%2BegnQ%3D%3D%7D', 'openid.claimed_id': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'openid.identity': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'openid.lp.is_member': u'', 'openid.mode': u'id_res', 'openid.ns': u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0', ...}, current_url='http://wiki.kubuntu.org/?action=login&login=1&oidstage=1&stage=openid')
412 endpoint = self.session.get(self._token_key)
413
414 message = Message.fromPostArgs(query)
415 response = self.consumer.complete(message, endpoint, current_url)
416
message undefined, global Message = <class 'openid.message.Message'>, Message.fromPostArgs = <bound method type.fromPostArgs of <class 'openid.message.Message'>>, query = {'action': u'login', 'janrain_nonce': u'2015-03-15T03%3A13%3A41Z5m3zbO', 'login': u'1', 'oidstage': u'1', 'openid.assoc_handle': u'%7BHMAC-SHA1%7D%7B55043e1d%7D%7BS%2BegnQ%3D%3D%7D', 'openid.claimed_id': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'openid.identity': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'openid.lp.is_member': u'', 'openid.mode': u'id_res', 'openid.ns': u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0', ...}
/usr/lib/pymodules/python2.6/openid/message.py in fromPostArgs(cls=<class 'openid.message.Message'>, args={'action': u'login', 'janrain_nonce': u'2015-03-15T03%3A13%3A41Z5m3zbO', 'login': u'1', 'oidstage': u'1', 'openid.assoc_handle': u'%7BHMAC-SHA1%7D%7B55043e1d%7D%7BS%2BegnQ%3D%3D%7D', 'openid.claimed_id': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'openid.identity': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'openid.lp.is_member': u'', 'openid.mode': u'id_res', 'openid.ns': u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0', ...})
165 openid_args[rest] = value
166
167 self._fromOpenIDArgs(openid_args)
168
169 return self
self = <openid.message.Message {(<Symbol Bare namespace..., (<Symbol Bare namespace>, 'action'): u'login'}>, self._fromOpenIDArgs = <bound method Message._fromOpenIDArgs of <openid... (<Symbol Bare namespace>, 'action'): u'login'}>>, openid_args = {'assoc_handle': u'%7BHMAC-SHA1%7D%7B55043e1d%7D%7BS%2BegnQ%3D%3D%7D', 'claimed_id': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'identity': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'lp.is_member': u'', 'mode': u'id_res', 'ns': u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0', 'ns.lp': u'http%3A%2F%2Fns.launchpad.net%2F2007%2Fopenid-teams', 'ns.sreg': u'http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1', 'op_endpoint': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bopenid', 'response_nonce': u'2015-03-15T03%3A13%3A42ZT3kmPb', ...}
/usr/lib/pymodules/python2.6/openid/message.py in _fromOpenIDArgs(self=<openid.message.Message {(<Symbol Bare namespace..., (<Symbol Bare namespace>, 'action'): u'login'}>, openid_args={'assoc_handle': u'%7BHMAC-SHA1%7D%7B55043e1d%7D%7BS%2BegnQ%3D%3D%7D', 'claimed_id': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'identity': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FdWHRRXp', 'lp.is_member': u'', 'mode': u'id_res', 'ns': u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0', 'ns.lp': u'http%3A%2F%2Fns.launchpad.net%2F2007%2Fopenid-teams', 'ns.sreg': u'http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1', 'op_endpoint': u'https%3A%2F%2Flogin.ubuntu.com%2F%2Bopenid', 'response_nonce': u'2015-03-15T03%3A13%3A42ZT3kmPb', ...})
198 elif ns_alias == NULL_NAMESPACE and ns_key == 'ns':
199 # null namespace
200 self.setOpenIDNamespace(value, False)
201 else:
202 ns_args.append((ns_alias, ns_key, value))
self = <openid.message.Message {(<Symbol Bare namespace..., (<Symbol Bare namespace>, 'action'): u'login'}>, self.setOpenIDNamespace = <bound method Message.setOpenIDNamespace of <ope... (<Symbol Bare namespace>, 'action'): u'login'}>>, value = u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0', builtin False = False
/usr/lib/pymodules/python2.6/openid/message.py in setOpenIDNamespace(self=<openid.message.Message {(<Symbol Bare namespace..., (<Symbol Bare namespace>, 'action'): u'login'}>, openid_ns_uri=u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0', implicit=False)
238 """
239 if openid_ns_uri not in self.allowed_openid_namespaces:
240 raise InvalidOpenIDNamespace(openid_ns_uri)
241
242 self.namespaces.addAlias(openid_ns_uri, NULL_NAMESPACE, implicit)
global InvalidOpenIDNamespace = <class 'openid.message.InvalidOpenIDNamespace'>, openid_ns_uri = u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0'
<class 'openid.message.InvalidOpenIDNamespace'>: Invalid OpenID Namespace u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0'
args = (u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0',)
message = u'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0'
|