On Sat, Feb 05, 2011 at 10:46:17PM -0800, Alexander Zhabotinskiy wrote:
> set debug is True, if I have an error in base.py, i'v get a trace.
> 
> But, if a have, for example ${c.current_user.name} at template and
> there is no logged-in user (c.current_user=None), only "Internal
> Server Error".
> 
> All templates is encoded to utf-8 and "## -*- coding: utf-8 -*-"
> everywhere.

The syntax error mentioned a Byte Order Mark (U+FEFF).  There aren't
recommended in UTF-8 text files on Unix/Linux.  Try removing it.

Marius Gedminas
-- 
The IQ of the group is the lowest IQ of a member of
the group divided by the number of people in the group.

Attachment: signature.asc
Description: Digital signature

Reply via email to