Closed Bug 667843 Opened 13 years ago Closed 13 years ago

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

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: potch)

References

()

Details

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 '('
sheesh! no patience! :)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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.