Yura
2005-06-02 14:49:07 UTC
I have problems running bitpim under russian language version of win
xp. bitpim.exe just silently dies after showing splash screen,
bitfling seems to start, but shows the following in log tab. As you
can see, the problem is in improper handling of non-ascii paths.
In russian version of xp some folders, like "my documents",
"favorites", etc, have cyrillic names.
16:45:19.239: Traceback (most recent call last):
File "wx\_core.pyo", line 11917, in <lambda>
File "bitfling\bitfling.pyo", line 642, in StartIfICan
File "bitfling\bitfling.pyo", line 635, in GetCertificateFilename
UnicodeEncodeError: 'ascii' codec can't encode characters in position 26-38: ordinal not in range(128)
Variables by last 8 frames, innermost last
Frame ? in bp.py at line 73
_donowt = <class __main__._donowt at 0x00961F60>
ignorer = <function ignorer at 0x009667B0>
__name__ = '__main__'
__doc__ = 'Main entry point to Bitpim\n\nIt invokes BitPim in gui or commandline mode as appropriate\n\***@Note: Only gui mode is supported at the moment\n'
Frame run in bitfling\bitfling.pyo at line 785
menu = <wx._core.Menu; proxy of C++ wxMenu instance at _203bb700_p_wxMenu>
mw = <bitfling.bitfling.MainWindow; proxy of C++ wxFrame instance at _683db700_p_wxFrame>
args = ['C:\\Program Files\\BitPim\\bitpim.exe', 'bitfling']
theApp = <wx._core.PySimpleApp; proxy of C++ wxPyApp instance at _10af9400_p_wxPyApp>
taskwin = <bitfling.bitfling.MyTaskBarIcon; proxy of C++ wxPyTaskBarIcon instance at _20e89e01_p_wxPyTaskBarIcon>
Frame MainLoop in wx\_core.pyo at line 6171
self = <wx._core.PySimpleApp; proxy of C++ wxPyApp instance at _10af9400_p_wxPyApp>
Frame MainLoop in wx\_core.pyo at line 5604
args = (<wx._core.PySimpleApp; proxy of C++ wxPyApp instance at _10af9400_p_wxPyApp>,)
kwargs = {}
Frame <lambda> in wx\_core.pyo at line 11917
event = <wx._core.PyEvent; proxy of C++ wxPyEvent instance at _e027ba00_p_wxPyEvent>
Frame StartIfICan in bitfling\bitfling.pyo at line 642
self = <bitfling.bitfling.MainWindow; proxy of C++ wxFrame instance at _683db700_p_wxFrame>
Frame GetCertificateFilename in bitfling\bitfling.pyo at line 635
path = u'C:\\Documents and Settings\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\\\u041c\u043e\u0438 \u0434\u043e\u043a\u0443\u043c\
self = <bitfling.bitfling.MainWindow; proxy of C++ wxFrame instance at _683db700_p_wxFrame>
xp. bitpim.exe just silently dies after showing splash screen,
bitfling seems to start, but shows the following in log tab. As you
can see, the problem is in improper handling of non-ascii paths.
In russian version of xp some folders, like "my documents",
"favorites", etc, have cyrillic names.
16:45:19.239: Traceback (most recent call last):
File "wx\_core.pyo", line 11917, in <lambda>
File "bitfling\bitfling.pyo", line 642, in StartIfICan
File "bitfling\bitfling.pyo", line 635, in GetCertificateFilename
UnicodeEncodeError: 'ascii' codec can't encode characters in position 26-38: ordinal not in range(128)
Variables by last 8 frames, innermost last
Frame ? in bp.py at line 73
_donowt = <class __main__._donowt at 0x00961F60>
ignorer = <function ignorer at 0x009667B0>
__name__ = '__main__'
__doc__ = 'Main entry point to Bitpim\n\nIt invokes BitPim in gui or commandline mode as appropriate\n\***@Note: Only gui mode is supported at the moment\n'
Frame run in bitfling\bitfling.pyo at line 785
menu = <wx._core.Menu; proxy of C++ wxMenu instance at _203bb700_p_wxMenu>
mw = <bitfling.bitfling.MainWindow; proxy of C++ wxFrame instance at _683db700_p_wxFrame>
args = ['C:\\Program Files\\BitPim\\bitpim.exe', 'bitfling']
theApp = <wx._core.PySimpleApp; proxy of C++ wxPyApp instance at _10af9400_p_wxPyApp>
taskwin = <bitfling.bitfling.MyTaskBarIcon; proxy of C++ wxPyTaskBarIcon instance at _20e89e01_p_wxPyTaskBarIcon>
Frame MainLoop in wx\_core.pyo at line 6171
self = <wx._core.PySimpleApp; proxy of C++ wxPyApp instance at _10af9400_p_wxPyApp>
Frame MainLoop in wx\_core.pyo at line 5604
args = (<wx._core.PySimpleApp; proxy of C++ wxPyApp instance at _10af9400_p_wxPyApp>,)
kwargs = {}
Frame <lambda> in wx\_core.pyo at line 11917
event = <wx._core.PyEvent; proxy of C++ wxPyEvent instance at _e027ba00_p_wxPyEvent>
Frame StartIfICan in bitfling\bitfling.pyo at line 642
self = <bitfling.bitfling.MainWindow; proxy of C++ wxFrame instance at _683db700_p_wxFrame>
Frame GetCertificateFilename in bitfling\bitfling.pyo at line 635
path = u'C:\\Documents and Settings\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\\\u041c\u043e\u0438 \u0434\u043e\u043a\u0443\u043c\
self = <bitfling.bitfling.MainWindow; proxy of C++ wxFrame instance at _683db700_p_wxFrame>
--
Best regards,
Yura mailto:***@ukr.net
Best regards,
Yura mailto:***@ukr.net