code-google-com / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 0 forks source link

Encoding problem with Launch #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What Plugin does this relate to? What version of the Plugin?

Launch 1.5

What steps will reproduce the problem?

Using Windows in a french locale, with an error in command line, I have the
following crash:

#---- Notes ----#
Please provide additional information about the crash here

#---- System Information ----#
Editra Version: 0.5.33
Operating System: Windows 2000 (build 2195, Service Pack 4)
Python Version: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32
bit (Intel)]
wxPython Version: 2.8.10.1 (msw-unicode)
wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on, SWIG-1.3.29)
Python Encoding: Default=ascii  File=mbcs
wxPython Encoding: cp1252
System Architecture: 32bit 
Byte order: little
Frozen: False
#---- End System Information ----#

#---- Traceback Info ----#
*** Mon Feb 08 15:43:28 2010 ***
Traceback (most recent call last):
  File "/opt/local/perso/Editra/src/eclib/outbuff.py", line 587, in
_OnProcessError
  File "build/bdist.linux-x86_64/egg/launch/launch.py", line 687, in
DoProcessError
    util.Log(u"[launch][err] %s" % excdata)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 23:
ordinal not in range(128)

#---- End Traceback Info ----#

When using "print excdata", underlying error is: "[Error 2] Le fichier
spécifié n'existe pas". Which means "file does not exist", the problem is
probably due to the "é" char.

Running Editra 0.5.33 SVN revision 63419, with "python.exe Editra.pyw". I
can't reproduce this with Editra 0.5.32, so I'm not completely sure about
that. I'll investigate more.

Thanks
Seb

Original issue reported on code.google.com by sebastie...@gmail.com on 8 Feb 2010 at 4:23

GoogleCodeExporter commented 9 years ago
confirmed

I think I added that log message a few weeks back to allow for better debuggin 
of
issues. Need to convert the string to Unicode prior to performing the format 
operation.

Original comment by CodyPrec...@gmail.com on 8 Feb 2010 at 8:12

GoogleCodeExporter commented 9 years ago
Should be fixed in latest svn

Original comment by CodyPrec...@gmail.com on 9 Feb 2010 at 2:50