pvt1578

Python OpenAuth error

Mar 7th, 2012
179
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Wed Mar 07 22:33:10 2012] [notice] Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1 configured -- resuming normal operations
  2. [Wed Mar 07 22:58:03 2012] [error] Generated checkid_setup request to https://www.google.com/accounts/o8/ud with assocication myhexphrasefromgoogle
  3. [Wed Mar 07 22:58:13 2012] [error] Error attempting to use stored discovery information: <openid.consumer.consumer.TypeURIMismatch: Required type http://specs.openid.net/auth/2.0/signon not found in ['http://specs.openid.net/auth/2.0/server', 'http://openid.net/srv/ax/1.0', 'http://specs.openid.net/extensions/ui/1.0/mode/popup', 'http://specs.openid.net/extensions/ui/1.0/icon', 'http://specs.openid.net/extensions/pape/1.0'] for endpoint <openid.consumer.discover.OpenIDServiceEndpoint server_url='https://www.google.com/accounts/o8/ud' claimed_id=None local_id=None canonicalID=None used_yadis=True >>
  4. [Wed Mar 07 22:58:13 2012] [error] Attempting discovery to verify endpoint
  5. [Wed Mar 07 22:58:13 2012] [error] Performing discovery on https://www.google.com/accounts/o8/id?id=myhexphrasefromgoogle
  6. [Wed Mar 07 22:58:13 2012] [error] Received id_res response from https://www.google.com/accounts/o8/ud using association myhexphrasefromgoogle
  7. [Wed Mar 07 22:58:13 2012] [error] Using OpenID check_authentication
  8. [Wed Mar 07 22:58:13 2012] [error] op_endpoint
  9. [Wed Mar 07 22:58:13 2012] [error] claimed_id
  10. [Wed Mar 07 22:58:13 2012] [error] identity
  11. [Wed Mar 07 22:58:13 2012] [error] return_to
  12. [Wed Mar 07 22:58:13 2012] [error] response_nonce
  13. [Wed Mar 07 22:58:13 2012] [error] assoc_handle
  14. [Wed Mar 07 22:58:13 2012] [error] Received "invalidate_handle" from server https://www.google.com/accounts/o8/ud
  15. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1] mod_wsgi (pid=26878): Exception occurred processing WSGI script '/home/mysite/webapps/sa/myproject.wsgi'.
  16. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
  17. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/core/handlers/wsgi.py", line 272, in __call__
  18. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     response = self.get_response(request)
  19. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/core/handlers/base.py", line 169, in get_response
  20. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  21. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/core/handlers/base.py", line 218, in handle_uncaught_exception
  22. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     return callback(request, **param_dict)
  23. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/utils/decorators.py", line 93, in _wrapped_view
  24. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     response = view_func(request, *args, **kwargs)
  25. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/views/defaults.py", line 31, in server_error
  26. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     return http.HttpResponseServerError(t.render(Context({})))
  27. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 123, in render
  28. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     return self._render(context)
  29. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 117, in _render
  30. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     return self.nodelist.render(context)
  31. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 744, in render
  32. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     bits.append(self.render_node(node, context))
  33. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 757, in render_node
  34. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     return node.render(context)
  35. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/myask/askbot/templatetags/extra_tags.py", line 92, in render
  36. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     request = self.request_var.resolve(context)
  37. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 653, in resolve
  38. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     value = self._resolve_lookup(context)
  39. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 692, in _resolve_lookup
  40. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1]     raise VariableDoesNotExist("Failed lookup for key [%s] in %r", (bit, current)) # missing attribute
  41. [Wed Mar 07 22:58:15 2012] [error] [client 127.0.0.1] VariableDoesNotExist: Failed lookup for key [request] in u'[{}]'
  42. [Wed Mar 07 22:59:54 2012] [error] No pre-discovered information supplied.
  43. [Wed Mar 07 22:59:54 2012] [error] Performing discovery on https://www.google.com/accounts/o8/id?id=myhexphrasefromgoogle
  44. [Wed Mar 07 22:59:54 2012] [error] Received id_res response from https://www.google.com/accounts/o8/ud using association AMlYA9X3m5F_AGxU88-A68OaxIpzScUSbLEgdfNwK-n-O94qSzdjZhWq
  45. [Wed Mar 07 22:59:54 2012] [error] Using OpenID check_authentication
  46. [Wed Mar 07 22:59:54 2012] [error] op_endpoint
  47. [Wed Mar 07 22:59:54 2012] [error] claimed_id
  48. [Wed Mar 07 22:59:54 2012] [error] identity
  49. [Wed Mar 07 22:59:54 2012] [error] return_to
  50. [Wed Mar 07 22:59:54 2012] [error] response_nonce
  51. [Wed Mar 07 22:59:54 2012] [error] assoc_handle
  52. [Wed Mar 07 22:59:54 2012] [error] Received "invalidate_handle" from server https://www.google.com/accounts/o8/ud
  53. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1] mod_wsgi (pid=26878): Exception occurred processing WSGI script '/home/mysite/webapps/sa/myproject.wsgi'.
  54. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
  55. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/core/handlers/wsgi.py", line 272, in __call__
  56. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     response = self.get_response(request)
  57. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/core/handlers/base.py", line 169, in get_response
  58. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  59. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/core/handlers/base.py", line 218, in handle_uncaught_exception
  60. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     return callback(request, **param_dict)
  61. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/utils/decorators.py", line 93, in _wrapped_view
  62. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     response = view_func(request, *args, **kwargs)
  63. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/views/defaults.py", line 31, in server_error
  64. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     return http.HttpResponseServerError(t.render(Context({})))
  65. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 123, in render
  66. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     return self._render(context)
  67. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 117, in _render
  68. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     return self.nodelist.render(context)
  69. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 744, in render
  70. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     bits.append(self.render_node(node, context))
  71. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 757, in render_node
  72. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     return node.render(context)
  73. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/myask/askbot/templatetags/extra_tags.py", line 92, in render
  74. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     request = self.request_var.resolve(context)
  75. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 653, in resolve
  76. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     value = self._resolve_lookup(context)
  77. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]   File "/home/mysite/webapps/sa/lib/python2.7/django/template/base.py", line 692, in _resolve_lookup
  78. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1]     raise VariableDoesNotExist("Failed lookup for key [%s] in %r", (bit, current)) # missing attribute
  79. [Wed Mar 07 22:59:56 2012] [error] [client 127.0.0.1] VariableDoesNotExist: Failed lookup for key [request] in u'[{}]'
RAW Paste Data