wxPython, py2exe, UnicodeDecodeError

A

artasis

Hello! I've write wizard based on wxPython package and wanted to
compile it to exe via py2exe. All works fine, all compile fine, but
when I start wizard.exe - my compiled script - I'm getting an error:

Traceback (most recent call last):
File "init.py", line 484, in <module>
File "init.py", line 87, in __init__
File "wx\wizard.pyc", line 349, in __init__
File "encodings\cp1251.pyc", line 15, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position
60: character maps to <undefined>

what's going wrong? Google could not give me answer on it :-(
 
A

artasis

UPDATE: Forgot - yes, I'm using cyrillic text in my script, but it all
encoded in utf8
 
A

artasis

pardon me for my stupidy, problem was in utf8 encoding. Changing all
strings encode to unicode solve that problem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top