What steps will reproduce the problem?
1. Start ide2py/main.py in a cloned rad2py folder
What is the expected output? What do you see instead?
The ide2py GUI should open normally. An error is shown in a widget and after
accepting the dialog the program exits.
What version of the product are you using? On what operating system?
Last version from hg repository.
Python 2.6.5
wx 2.8.10.1
Please provide any additional information below.
Can be fixed by using a unicode literal in the line 187 of main.py
The error:
Traceback (most recent call last):
File "./main.py", line 890, in <module>
app = MainApp(redirect=False)
File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__
self._BootstrapApp()
File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "./main.py", line 866, in OnInit
self.main_frame = PyAUIFrame(None)
File "./main.py", line 187, in __init__
self.statusbar.SetStatusText("2011 \xA9 Mariano Reingart", 2)
File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_windows.py", line 879, in SetStatusText
return _windows_.StatusBar_SetStatusText(*args, **kwargs)
File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 5:
unexpected code byte
Original issue reported on code.google.com by spame...@gmail.com on 27 Dec 2011 at 5:10
Original issue reported on code.google.com by
spame...@gmail.com
on 27 Dec 2011 at 5:10