Revision history [back]
signin bug?
I've been getting mails about exceptions in the /account/signing/complete/ action.
Traceback (most recent call last):
File "/opt/python-2.7.2/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/srv/www/vhosts/askbot/askbot/deps/django_authopenid/views.py", line 670, in complete_signin
return_to = get_url_host(request) + reverse('user_complete_signin')
File "/srv/www/vhosts/askbot/askbot/deps/django_authopenid/views.py", line 183, in complete
openid_response
File "/srv/www/vhosts/askbot/askbot/deps/django_authopenid/views.py", line 706, in signin_success
redirect_url = next_url
File "/srv/www/vhosts/askbot/askbot/deps/django_authopenid/views.py", line 762, in finalize_generic_signin
user_identifier=user_identifier
File "/srv/www/vhosts/askbot/askbot/deps/django_authopenid/views.py", line 204, in decorated
return func(request, *args, **kwargs)
File "/opt/python-2.7.2/lib/python2.7/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/srv/www/vhosts/askbot/askbot/deps/django_authopenid/views.py", line 904, in register
return render_into_skin('authopenid/complete.html', data, request)
File "/srv/www/vhosts/askbot/askbot/skins/loaders.py", line 124, in render_into_skin
template = get_template(template, request)
File "/srv/www/vhosts/askbot/askbot/skins/loaders.py", line 116, in get_template
return skin.get_template(template)
File "/opt/python-2.7.2/lib/python2.7/site-packages/jinja2/environment.py", line 719, in get_template
return self._load_template(name, self.make_globals(globals))
File "/opt/python-2.7.2/lib/python2.7/site-packages/jinja2/environment.py", line 693, in _load_template
template = self.loader.load(self, name, globals)
File "/opt/python-2.7.2/lib/python2.7/site-packages/jinja2/loaders.py", line 127, in load
code = environment.compile(source, name, filename)
File "/opt/python-2.7.2/lib/python2.7/site-packages/jinja2/environment.py", line 493, in compile
self.handle_exception(exc_info, source_hint=source)
File "/srv/www/vhosts/askbot/askbot/skins/common/templates/authopenid/complete.html", line 33, in template
register new {{provider}} account info, see {{gravatar_faq_url}}{% endtrans %}
TemplateSyntaxError: Encountered unknown tag 'endtrans'. Jinja was looking for the following tags: 'elif' or 'else' or 'endif'. The innermost block that needs to be closed is 'if'.
not sure if this is related, but they seem to occur when someone uses a yahoo openid?
GET:<QueryDict: {u'openid.op_endpoint': [u'https://open.login.yahooapis.com/openid/op/auth'],