Maybe on Google App Engine there is no error line?
Here's an example of an "endif" insteaf of an "endifequal".

Neal


Traceback (most recent call last):
  File "c:\Program Files\Google\google_appengine\google\appengine\ext
\webapp\__init__.py", line 501, in __call__
    handler.get(*groups)
  File "d:\GoogleAppEngine\cumulus\web\adminReports.py", line 2296, in
get
    self.renderPage('templates/reportGenericText.html',
templateDictionaryLocal)
  File "d:\GoogleAppEngine\cumulus\web\adminReports.py", line 2206, in
renderPage
    self.response.out.write(template.render(path, values))
  File "c:\Program Files\Google\google_appengine\google\appengine\ext
\webapp\template.py", line 81, in render
    return t.render(Context(template_dict))
  File "c:\Program Files\Google\google_appengine\google\appengine\ext
\webapp\template.py", line 121, in wrap_render
    return orig_render(context)
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\__init__.py", line 168, in render
    return self.nodelist.render(context)
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\__init__.py", line 705, in render
    bits.append(self.render_node(node, context))
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\__init__.py", line 718, in render_node
    return(node.render(context))
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\loader_tags.py", line 63, in render
    compiled_parent = self.get_parent(context)
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\loader_tags.py", line 60, in get_parent
    return get_template_from_string(source, origin, parent)
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\loader.py", line 88, in get_template_from_string
    return Template(source, origin, name)
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\__init__.py", line 158, in __init__
    self.nodelist = compile_string(template_string, origin)
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\__init__.py", line 174, in compile_string
    return parser.parse()
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\__init__.py", line 273, in parse
    compiled_result = compile_func(self, token)
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\defaulttags.py", line 580, in ifequal
    return do_ifequal(parser, token, False)
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\defaulttags.py", line 557, in do_ifequal
    nodelist_false = parser.parse((end_tag,))
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\__init__.py", line 271, in parse
    self.invalid_block_tag(token, command)
  File "c:\Program Files\Google\google_appengine\lib\django\django
\template\__init__.py", line 315, in invalid_block_tag
    raise self.error( token, "Invalid block tag: '%s'" % command)
TemplateSyntaxError: Invalid block tag: 'endif'



On Sep 10, 8:13 pm, Tim <timster...@gmail.com> wrote:
> It does show line numbers. Scroll down past the yellow section on the
> error page, and it will show you the line numbers, the line with the
> error, and the lines surrounding it.
>
> It should also say something like "In template /Users/tim/Sites/
> website/templates/base.html, error at line 73"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to