From: Paulo S. <ps...@ig...> - 2005-02-25 15:32:42
|
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 = model.Application(CConfServ) File "/usr/lib/python2.3/site-packages/PythonCard/model.py", line 365, in __init__ wx.App.__init__(self, 0) File "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_core.py", line 5311, in __init__ self._BootstrapApp() File "/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 417, in OnInit self._initBackgrounds(self.resource) File "/usr/lib/python2.3/site-packages/PythonCard/model.py", line 410, in _initBackgrounds bg = self.frameClass(None, bgRsrc) File "/usr/lib/python2.3/site-packages/PythonCard/model.py", line 626, in __init__ aBgRsrc.name) File "/usr/lib/python2.3/site-packages/wx-2.5.3-gtk2-unicode/wx/_windows.py", line 408, in __init__ newobj = _windows_.new_Frame(*args, **kwargs) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 21: ordinal not in range(128) On windows i had a similarly problem with coding but the statement # "#-*- coding: cp1252 -*-" resolved the problem. Thanks in advance, Paulo Sérgio. |
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. |
From: Kenneth P. <pro...@sk...> - 2005-03-08 19:30:57
|
> Does anyone else running Linux have this problem? I have no way of > testing this or trying to resolve it myself since I only run Windows > and Mac OS X. If there is no response here, please bring it up on > wxPython-users and cc this list. > > http://www.wxpython.org/maillist.php I have not heard of anyone else having this problem on Debian. That's not to say it's not happening, though. There just aren't that many Debian users. If someone can post the actual code that causes the problem (I didn't see it here) I can run it on my Debian system and see what it does. KEN |
From: <ps...@ig...> - 2005-03-08 22:56:22
|
I'll send the code to you in pvt, as soon as i get at home ... Paulo Sérgio. Kenneth Pronovici wrote: >>Does anyone else running Linux have this problem? I have no way of >>testing this or trying to resolve it myself since I only run Windows >>and Mac OS X. If there is no response here, please bring it up on >>wxPython-users and cc this list. >> >>http://www.wxpython.org/maillist.php >> >> > >I have not heard of anyone else having this problem on Debian. That's >not to say it's not happening, though. There just aren't that many >Debian users. > >If someone can post the actual code that causes the problem (I didn't >see it here) I can run it on my Debian system and see what it does. > >KEN > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Pythoncard-users mailing list >Pyt...@li... >https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > > > |
From: Phil E. <ph...@li...> - 2005-03-09 09:19:03
|
On Tue, 2005-03-08 at 22:57, Paulo S=E9rgio wrote: > I'll send the code to you in pvt, as soon as i get at home ... >=20 I'd be happy to test it on Mandrake if you'd like me to. --=20 Regards Phil Edwards Brighton, UK |
From: Bo G. <bo...@sy...> - 2005-03-09 14:44:30
|
On Tue, 2005-03-08 at 22:57, Paulo Sérgio wrote: >>I'll send the code to you in pvt, as soon as i get at home ... >> >> >> I could test it on debian here -- Ubuntu Intel & PPC both. Your choice. Bo Green |