#265 UnicodeDecodeError in Linux

open
nobody
None
5
2006-04-24
2006-04-24
waffen
No

When I try to run the attached python file (enc.py)
into Boa I receipt this error:(log)

18:13:06: UnicodeDecodeError: 'utf8' codec can't
decode bytes in position 0-2: invaliddataTraceback
(most recent call last):
18:13:06: UnicodeDecodeError: 'utf8' codec can't
decode bytes in position 0-2: invaliddata File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 13262, in <lambda>
18:13:06: lambda event: event.callable(*event.args,
**event.kw) )
18:13:06: File
"/usr/share/boa-constructor/ModRunner.py", line 140, in
finFunc
18:13:06: self.checkError(serr, 'Ran', output,
errRaw=errors)
18:13:06: File
"/usr/share/boa-constructor/ModRunner.py", line 43, in
checkError
18:13:06: tbs = self.esf.updateCtrls(err, out,
root, self.runningDir, errRaw)
18:13:06: File
"/usr/share/boa-constructor/ErrorStackFrm.py", line
241, in updateCtrls
18:13:06:
self.outputTC.SetValue(''.join(outputList))

18:13:06: File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_controls.py",
line 1761, in SetValue
18:13:06: return
_controls_.TextCtrl_SetValue(*args, **kwargs)

18:13:06: UnicodeDecodeError: 'utf8' codec can't
decode bytes in position 1-2: invaliddata

I dont receipt any error when I run this code inside
python console.

Discussion

  • waffen
    waffen
    2006-04-24

    Python file with source code

     
    Attachments