TemplateSyntaxError: expected token 'end of print statement', got '('

VERIFIED FIXED in 6.1.3

Status

addons.mozilla.org Graveyard
Public Pages
VERIFIED FIXED
7 years ago
2 years ago

People

(Reporter: krupa, Assigned: potch)

Tracking

unspecified
6.1.3

Details

(URL)

(Reporter)

Description

7 years ago
steps to reproduce:
1. Load https://addons.allizom.org/z/en-US/firefox/i/

traceback:
Traceback (most recent call last):

 File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/data/amo_python/www/preview/zamboni/apps/addons/views.py", line 433, in impala_home
   'collections': collections})

 File "/data/amo_python/www/preview/zamboni/vendor/src/jingo/jingo/__init__.py", line 79, in render
   rendered = render_to_string(request, template, context)

 File "/data/amo_python/www/preview/zamboni/vendor/src/jingo/jingo/__init__.py", line 97, in render_to_string
   return template.render(**get_context())

 File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 891, in render
   return self.environment.handle_exception(exc_info, True)

 File "/data/amo_python/www/preview/zamboni/templates/impala/user_login.html", line 23, in template
   <a href="{{ reg }}">Register</a> or <a href="{{ login }}">{{ _('Log in') }}</a>

TemplateSyntaxError: expected token 'end of print statement', got '('
(Assignee)

Comment 1

7 years ago
sheesh! no patience! :)
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

7 years ago
verified at https://addons.allizom.org/z/en-US/firefox/i/
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.