ianaré sévi | 20 Aug 2007 08:05
Picon

Re: Unicode error

It's been a while since I've messed with boa in windows, but wouldn't
the error normally be in a 'py', not a 'pyc' file?

Just curious ...

-- 
- ianaré sévi

2007/8/18, Werner F. Bruhin <werner.bruhin <at> free.fr>:
> gianfranco bonacorsi wrote:
> > Ialways  get the unicode error for example if I try to save a newly created application, I mean an empty application.
> > It also happens when I navigate through files and enter a directory
> >
> > the log file gives :
> >
> > 23:05:46: Traceback (most recent call last):
> > 23:05:46:   File "Models\PythonControllers.pyc", line 422, in OnSave
> > 23:05:46:   File "Models\Controllers.pyc", line 162, in OnSave
> > 23:05:46:   File "Editor.pyc", line 985, in activeModSaveOrSaveAs
> > 23:05:46:   File "EditorUtils.pyc", line 398, in saveOrSaveAs
> > 23:05:46:   File "EditorUtils.pyc", line 386, in saveAs
> > 23:05:46:   File "Editor.pyc", line 971, in saveAsDlg
> > 23:05:46:   File "FileDlg.pyc", line 167, in __init__
> > 23:05:46:   File "FileDlg.pyc", line 569, in SetDirectory
> > 23:05:46:   File "FileDlg.pyc", line 288, in updatePathLabel
> > 23:05:46: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 27: ordinal not in range(128)
> >
> >
> > but I m sure I dont use this character.
> >
> > I have python 2.5, boa constructor 0.6.1 , wxpython for python 2.5 version2.8 unicod, windows XP french
> > So I went back to my old configuration
> Just did a little test with Python 2.5, Boa 0.6.1, wxPython 2.8 unicode
> on Windows Vista French and I don't see any problem.
>
> What do you get if you do this in the shell:
>
>  >>> import wx
>  >>> wx.GetDefaultPyEncoding()
> 'iso-8859-1'
>  >>>
>
> Werner
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Boa-constructor-users mailing list
Boa-constructor-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/boa-constructor-users

Gmane