[packman] [PM] ultrasol 1.02 (openSUSE 10.2/i586)
Marcus Rueckert
darix at web.de
Fri Mar 16 12:06:32 CET 2007
On 2007-03-15 16:52:45 +0100, Eberhard Roloff wrote:
> eroloff at grey:~> ultrasol.sh
> Traceback (most recent call last):
> File "/usr/lib/games/ultrasol/ultrasol.py", line 69, in <module>
> exec "import " + n
> File "<string>", line 1, in <module>
> File "/usr/lib/games/ultrasol/games/dieboesesieben.py", line 42
> SyntaxError: Non-ASCII character '\xf6' in file
> /usr/lib/games/ultrasol/games/dieboesesieben.py on line 42, but no
> encoding declared; see http://www.python.org/peps/pep-0263.html for details
the fix is pretty simple and explain in the url from the error message
something like
# coding=iso8859-1
in the first few lines in the script will fix it. no need for such
stupid hack like replacing the umlauts needed.
darix
--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
More information about the Packman
mailing list