[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Galcon linux version



On Wed, Dec 13, 2006 at 12:28:45PM +0000, Adam Bark wrote:
> Yay linux! Is it actually possible to play a net game in the demo? When I
> ran the win version on cedega I typed a name in then got an error about it
> not exiting properly (can't remember exactly but I can reproduce it if you
> want to see it). In linux however I get this error.
> 
> Traceback (most recent call last):
>  File "main.py", line 540, in ?
>  File "pgu/engine.py", line 113, in run
>  File "pgu/engine.py", line 178, in loop
>  File "pgu/engine.py", line 82, in fnc
>  File "mygui.py", line 122, in event
>  File "pgu/gui/app.py", line 147, in event
>  File "pgu/gui/container.py", line 185, in event
>  File "pgu/gui/widget.py", line 300, in _event
>  File "pgu/gui/theme.py", line 321, in func
>  File "pgu/gui/container.py", line 185, in event
>  File "pgu/gui/widget.py", line 300, in _event
>  File "pgu/gui/theme.py", line 321, in func
>  File "pgu/gui/container.py", line 185, in event
>  File "pgu/gui/widget.py", line 300, in _event
>  File "pgu/gui/theme.py", line 321, in func
>  File "pgu/gui/container.py", line 185, in event
>  File "pgu/gui/widget.py", line 300, in _event
>  File "pgu/gui/theme.py", line 321, in func
>  File "pgu/gui/container.py", line 185, in event
>  File "pgu/gui/widget.py", line 300, in _event
>  File "pgu/gui/theme.py", line 321, in func
>  File "pgu/gui/input.py", line 92, in event
> LookupError: unknown encoding: latin-1

IIRC py2exe doesn't bundle the 'codecs' module by default, and you have to
edit some .ini file and explicitly ask for it to be included.

My memory of everything is a bit hazy, since I haven't used py2exe for
ages, but this sounds like the problem I've seen.  I'm sure there's a
FAQ somewhere.

Marius Gedminas
-- 
Woe unto them that rise up early in the morning -- Isaiah 5:11

Attachment: signature.asc
Description: Digital signature