On Wed, Nov 5, 2008 at 6:26 PM, Chuso <
che...@gmail.com> wrote:
> Shotfactory source code includes non-ASCII characteres in __date__
> variables causing it to fail with the following message:
>
> SyntaxError: Non-ASCII character '\xc3' in file /home/browsershots/
> shotfactory/shotfactory04/gui/__init__.py on line 22, but no encoding
> declared; see
http://www.python.org/peps/pep-0263.html for details
This problem occurs if you use Subversion with a non-ASCII locale,
e.g. French or Chinese, as the date is inserted by Subversion when you
run "svn checkout", but the month may contain non-ASCII letters. You
can fix it by deleting your checkout folder, then setting LC_ALL=C or
en_US.UTF-8, then running the entire checkout again.
Hope this helps,
Johann