andreirk / django-hotclub

Automatically exported from code.google.com/p/django-hotclub
0 stars 0 forks source link

TemplateSyntaxError at /openid/associations/ #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. check out pinax, start up complete_project
2. log in
3. go to your profile
4. click on the gravatar replace link
5. click on the 'OpenID associations' link

What is the expected output? 

I expect to see an empty list of openIDs associated with my (non-openID
generated) account.

What do you see instead?

TemplateSyntaxError at /openid/associations/

Caught an exception while rendering: Failed lookup for key [openid] in
u"[{'block': <Block Node: login. Contents: [<Text Node: '\r\n    '>, <If
node>, <Text Node: '\r\n'>]>}, {'openids': [], 'action_new': '../',
'associate_next':
'Vi9vcGVuaWQvYXNzb2NpYXRpb25zLwpwMAou.d4mTeGBxX0hxx8yXW3ZQme7yqTk', 'user':
<User: pj>, 'action': u'/openid/associations/', 'message': None,
'base_template': 'django_openid/base.html'}]"

Original Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/django/template/debug.py", line
71, in render_node
    result = node.render(context)
  File "/usr/lib/python2.5/site-packages/django/template/__init__.py", line
887, in render
    resolved_vars = [var.resolve(context) for var in self.vars_to_resolve]
  File "/usr/lib/python2.5/site-packages/django/template/__init__.py", line
676, in resolve
    value = self._resolve_lookup(context)
  File "/usr/lib/python2.5/site-packages/django/template/__init__.py", line
729, in _resolve_lookup
    raise VariableDoesNotExist("Failed lookup for key [%s] in %r", (bit,
current)) # missing attribute
VariableDoesNotExist: Failed lookup for key [openid] in u"[{'block': <Block
Node: login. Contents: [<Text Node: '\r\n    '>, <If node>, <Text Node:
'\r\n'>]>}, {'openids': [], 'action_new': '../', 'associate_next':
'Vi9vcGVuaWQvYXNzb2NpYXRpb25zLwpwMAou.d4mTeGBxX0hxx8yXW3ZQme7yqTk', 'user':
<User: pj>, 'action': u'/openid/associations/', 'message': None,
'base_template': 'django_openid/base.html'}]"

What version of the product are you using? On what operating system?

Pinax checkout of the main tree, r1212.

Django version 1.1 pre-alpha SVN-9524, using settings
'complete_project.settings'

Ubuntu Intrepid Ibex 

Linux trireme 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64
GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by pjimen...@gmail.com on 22 Nov 2008 at 3:10

GoogleCodeExporter commented 9 years ago
This is a bug in django-openid that has been reported. Please see 
http://code.google.com/p/django-
hotclub/wiki/BackwardsIncompatibleChanges.

Original comment by bros...@gmail.com on 22 Nov 2008 at 3:15

GoogleCodeExporter commented 9 years ago
Actually. We can fix this locally. Let me do that now. My bad :)

Original comment by bros...@gmail.com on 22 Nov 2008 at 3:17

GoogleCodeExporter commented 9 years ago
This has been fixed in revision 1213.

Original comment by bros...@gmail.com on 22 Nov 2008 at 3:31