Re: Unicode error

"Werner F. Bruhin" <[email protected]>
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
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
> 
> 
> 
> 
>        
> ____________________________________________________________________________________
> Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
> http://answers.yahoo.com/dir/?link=list&sid=396545433
> 
> -------------------------------------------------------------------------
> 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/


-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.