From: Kevin A. <al...@se...> - 2005-03-08 18:43:09
|
Does anyone else running Linux have this problem? I have no way of =20 testing this or trying to resolve it myself since I only run Windows =20 and Mac OS X. If there is no response here, please bring it up on =20 wxPython-users and cc this list. http://www.wxpython.org/maillist.php ka On Feb 25, 2005, at 7:32 AM, Paulo S=E9rgio wrote: > Hi, i have an wxPython application running on windows perfectly, but > when i > tried to run it on linux (debian) it gave the following error: > > Traceback (most recent call last): > File "confServ.py", line 88, in ? > app =3D model.Application(CConfServ) > File "/usr/lib/python2.3/site-packages/PythonCard/model.py", line =20= > 365, in > __init__ > wx.App.__init__(self, 0) > File =20 > "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py", > line 5311, in __init__ > self._BootstrapApp() > File =20 > "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py", > line 4990, in _BootstrapApp > return _core_.PyApp__BootstrapApp(*args, **kwargs) > File "/usr/lib/python2.3/site-packages/PythonCard/model.py", line =20= > 417, in > OnInit > self._initBackgrounds(self.resource) > File "/usr/lib/python2.3/site-packages/PythonCard/model.py", line =20= > 410, in > _initBackgrounds > bg =3D self.frameClass(None, bgRsrc) > File "/usr/lib/python2.3/site-packages/PythonCard/model.py", line =20= > 626, in > __init__ > aBgRsrc.name) > File > "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/=20 > _windows.py", > line 408, in __init__ > newobj =3D _windows_.new_Frame(*args, **kwargs) > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position =20= > 21: > ordinal not in range(128) > > On windows i had a similarly problem with coding but the statement # =20= > "#-*- > coding: cp1252 -*-" resolved the problem. > > Thanks in advance, > Paulo S=E9rgio. |