In a development install, it's easier to find out, due to extensive logging
information, but that's less easy when dealing with a production install.

For the record, this was a regression due to a merge issue in
reviewboard/templates/admin/scmtools/repository/change_form.html.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Wed, Apr 9, 2014 at 2:02 PM, Sławomir Zborowski <stilew...@gmail.com>wrote:

> Thanks a lot. I'll check the new version tomorrow.
> By the way, how one can guess in which template the template syntax error
> appears?
>
> Br,S.
>
> W dniu środa, 9 kwietnia 2014 22:26:08 UTC+2 użytkownik Christian Hammond
> napisał:
>>
>> I just put out a new 1.7.24 release that should fix this. Will be
>> announcing shortly, but you can upgrade now.
>>
>> Christian
>>
>> --
>> Christian Hammond - chi...@chipx86.com
>>
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>>
>> On Wed, Apr 9, 2014 at 1:05 PM, Christian Hammond <chi...@chipx86.com>wrote:
>>
>>>  This looks like a bug in this release. I'll get a new release out
>>> shortly.
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - chi...@chipx86.com
>>>
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>>
>>> On Wed, Apr 9, 2014 at 7:54 AM, Sławomir Zborowski <stil...@gmail.com>wrote:
>>>
>>>>  Hi,
>>>>
>>>> I've just installed ReviewBoard and need some help with it.
>>>> When I try to access /admin/db/scmtools/repository/add/ I get 500
>>>> error.
>>>>
>>>> In the error_log file I can see following.
>>>>
>>>> I have no idea how to find the template where this error occurs. Can
>>>> someone help me with this?
>>>>
>>>> RB ver 1.7.23-py2.7
>>>>
>>>> [Wed Apr 09 15:30:56.064306 2014] [:error] [pid 13491:tid
>>>> 139876051105536] ERROR:django.request:Internal Server Error:
>>>> /admin/db/scmtools/repository/add/
>>>> [Wed Apr 09 15:30:56.064363 2014] [:error] [pid 13491:tid
>>>> 139876051105536] Traceback (most recent call last):
>>>> [Wed Apr 09 15:30:56.064374 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/core/handlers/base.py", line
>>>> 136, in get_response
>>>> [Wed Apr 09 15:30:56.064384 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     response = response.render()
>>>> [Wed Apr 09 15:30:56.064394 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/response.py", line
>>>> 104, in render
>>>> [Wed Apr 09 15:30:56.064403 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     self._set_content(self.rendered_content)
>>>> [Wed Apr 09 15:30:56.064411 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/response.py", line
>>>> 79, in rendered_content
>>>> [Wed Apr 09 15:30:56.064419 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     template = self.resolve_template(self.
>>>> template_name)
>>>> [Wed Apr 09 15:30:56.064427 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/response.py", line
>>>> 55, in resolve_template
>>>> [Wed Apr 09 15:30:56.064436 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     return loader.select_template(template)
>>>> [Wed Apr 09 15:30:56.064445 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader.py", line 187,
>>>> in select_template
>>>> [Wed Apr 09 15:30:56.064454 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     return get_template(template_name)
>>>> [Wed Apr 09 15:30:56.064463 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader.py", line 145,
>>>> in get_template
>>>> [Wed Apr 09 15:30:56.064471 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     template, origin = find_template(template_name)
>>>> [Wed Apr 09 15:30:56.064480 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader.py", line 134,
>>>> in find_template
>>>> [Wed Apr 09 15:30:56.064488 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     source, display_name = loader(name, dirs)
>>>> [Wed Apr 09 15:30:56.064496 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader.py", line 42,
>>>> in __call__
>>>> [Wed Apr 09 15:30:56.064505 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     return self.load_template(template_name,
>>>> template_dirs)
>>>> [Wed Apr 09 15:30:56.064513 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loaders/cached.py",
>>>> line 46, in load_template
>>>> [Wed Apr 09 15:30:56.064522 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     template, origin = self.find_template(template_name,
>>>> template_dirs)
>>>> [Wed Apr 09 15:30:56.064530 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loaders/cached.py",
>>>> line 33, in find_template
>>>> [Wed Apr 09 15:30:56.064677 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     template, display_name = loader(name, dirs)
>>>> [Wed Apr 09 15:30:56.064691 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader.py", line 42,
>>>> in __call__
>>>> [Wed Apr 09 15:30:56.064699 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     return self.load_template(template_name,
>>>> template_dirs)
>>>> [Wed Apr 09 15:30:56.064707 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader.py", line 48,
>>>> in load_template
>>>> [Wed Apr 09 15:30:56.064714 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     template = get_template_from_string(source,
>>>> origin, template_name)
>>>> [Wed Apr 09 15:30:56.064735 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader.py", line 156,
>>>> in get_template_from_string
>>>> [Wed Apr 09 15:30:56.064803 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     return Template(source, origin, name)
>>>> [Wed Apr 09 15:30:56.064815 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/base.py", line 125,
>>>> in __init__
>>>> [Wed Apr 09 15:30:56.064823 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     self.nodelist = compile_string(template_string,
>>>> origin)
>>>> [Wed Apr 09 15:30:56.064831 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/base.py", line 153,
>>>> in compile_string
>>>> [Wed Apr 09 15:30:56.064838 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     return parser.parse()
>>>> [Wed Apr 09 15:30:56.064845 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/base.py", line 267,
>>>> in parse
>>>> [Wed Apr 09 15:30:56.064853 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     compiled_result = compile_func(self, token)
>>>> [Wed Apr 09 15:30:56.064860 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader_tags.py", line
>>>> 214, in do_extends
>>>> [Wed Apr 09 15:30:56.064881 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     nodelist = parser.parse()
>>>> [Wed Apr 09 15:30:56.064889 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/base.py", line 267,
>>>> in parse
>>>> [Wed Apr 09 15:30:56.064896 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     compiled_result = compile_func(self, token)
>>>> [Wed Apr 09 15:30:56.064903 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader_tags.py", line
>>>> 189, in do_block
>>>> [Wed Apr 09 15:30:56.064910 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     nodelist = parser.parse(('endblock',))
>>>> [Wed Apr 09 15:30:56.064918 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/base.py", line 267,
>>>> in parse
>>>> [Wed Apr 09 15:30:56.064931 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     compiled_result = compile_func(self, token)
>>>> [Wed Apr 09 15:30:56.065009 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/loader_tags.py", line
>>>> 189, in do_block
>>>> [Wed Apr 09 15:30:56.065018 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     nodelist = parser.parse(('endblock',))
>>>> [Wed Apr 09 15:30:56.065025 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/base.py", line 267,
>>>> in parse
>>>> [Wed Apr 09 15:30:56.065033 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     compiled_result = compile_func(self, token)
>>>> [Wed Apr 09 15:30:56.065098 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/defaulttags.py", line
>>>> 900, in do_if
>>>> [Wed Apr 09 15:30:56.065120 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     nodelist = parser.parse(('elif', 'else', 'endif'))
>>>> [Wed Apr 09 15:30:56.065128 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/base.py", line 265,
>>>> in parse
>>>> [Wed Apr 09 15:30:56.065135 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     self.invalid_block_tag(token, command, parse_until)
>>>> [Wed Apr 09 15:30:56.065142 2014] [:error] [pid 13491:tid
>>>> 139876051105536]   File "/usr/lib/python2.7/site-
>>>> packages/Django-1.4.10-py2.7.egg/django/template/base.py", line 320,
>>>> in invalid_block_tag
>>>> [Wed Apr 09 15:30:56.065150 2014] [:error] [pid 13491:tid
>>>> 139876051105536]     (command, get_text_list(["'%s'" % p for p in
>>>> parse_until])))
>>>> [Wed Apr 09 15:30:56.065158 2014] [:error] [pid 13491:tid
>>>> 139876051105536] TemplateSyntaxError: Invalid block tag: 'endblock',
>>>> expected 'elif', 'else' or 'endif'
>>>>
>>>> --
>>>> Get the Review Board Power Pack at http://www.reviewboard.org/
>>>> powerpack/
>>>> ---
>>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>>> ---
>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "reviewboard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to reviewboard...@googlegroups.com.
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to