Closed
Bug 654519
Opened 15 years ago
Closed 15 years ago
[traceback] TemplateSyntaxError: Could not parse the remainder: '(_('User Login'))' from 'page_title(_('User Login'))'
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
VERIFIED
FIXED
6.0.8
People
(Reporter: stephend, Assigned: jbalogh)
References
()
Details
On both preview/next:
https://addons-next.allizom.org/z/en-US/firefox/users/login
Traceback (most recent call last):
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 136, in get_response
response.render()
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/response.py", line 96, in render
self._set_content(self.rendered_content)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/response.py", line 73, in rendered_content
template = self.resolve_template(self.template_name)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/response.py", line 51, in resolve_template
return loader.get_template(template)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/loader.py", line 145, in get_template
template, origin = find_template(template_name)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/loader.py", line 134, in find_template
source, display_name = loader(name, dirs)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/loader.py", line 42, in __call__
return self.load_template(template_name, template_dirs)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/loader.py", line 48, in load_template
template = get_template_from_string(source, origin, template_name)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/loader.py", line 156, in get_template_from_string
return Template(source, origin, name)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/base.py", line 109, in __init__
self.nodelist = compile_string(template_string, origin)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/base.py", line 137, in compile_string
return parser.parse()
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/base.py", line 240, in parse
compiled_result = compile_func(self, token)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/loader_tags.py", line 216, in do_extends
nodelist = parser.parse()
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/base.py", line 240, in parse
compiled_result = compile_func(self, token)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/loader_tags.py", line 193, in do_block
nodelist = parser.parse(('endblock', 'endblock %s' % block_name))
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/base.py", line 221, in parse
filter_expression = self.compile_filter(token.contents)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/base.py", line 315, in compile_filter
return FilterExpression(token, self)
File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/template/base.py", line 503, in __init__
raise TemplateSyntaxError("Could not parse the remainder: '%s' from '%s'" % (token[upto:], token))
TemplateSyntaxError: Could not parse the remainder: '(_('User Login'))' from 'page_title(_('User Login'))'
Comment 1•15 years ago
|
||
To generate the traceback, hit:
https://addons.allizom.org/z/en-US/firefox/users/login?to=%2Fz%2Fen-US%2Fdevelopers%2Fcommunity%2Fnewsletter
I was hitting this traceback. If you remove the /z from the login part of the URL, the traceback doesn't happen.
https://addons.allizom.org/en-US/firefox/users/login?to=%2Fz%2Fen-US%2Fdevelopers%2Fcommunity%2Fnewsletter
| Assignee | ||
Comment 2•15 years ago
|
||
Hudson was there first.
Assignee: nobody → jbalogh
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> Hudson was there first.
What was the fix? https://github.com/jbalogh/zamboni/commit/843440a7dcb9f167392de5707470514ece5afb38 ?
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•