Re[2]: Can't run bitpim under windows xp with unicode path names.
Yura <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
My previous message was lost, so I am resending it:
Hello Roger,
Thursday, June 2, 2005, 8:45:09 PM, you wrote:
>>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.
RB> Can you run BitPim from source and mail all the tracebacks here?
RB> Things should mostly be working as all the BitPim code should
RB> be using Unicode, the other libraries we use are Unicode and
RB> even Python itself will be on Windows if pushed a little.
I am not familiar with Python, so it would take time to install all
the stuff and understand a new programming language.
But I tried another old version - 0.7-test6.
It also fails to start, but shows a window with more information (see
below). I tried to run it on 3 PCs with Russian language OS, and
the problem is the same.
I think the problem is here:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 26-38: ordinal not in range(128)
And, probably, here is the unicode path that can't be handled
properly:
Frame setdefaults in guiwidgets.pyo at line 448
path = u'C:\\Documents and Settings\\\u0410\u0434\u043c\u0438\u043d
self = <guiwidgets.ConfigDialog instance; proxy of C++ wxDialog ins
Here is the complete log:
----------------------------------------------------------------------
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "gui.pyo", line 239, in OnClose
File "gui.pyo", line 236, in goforit
File "gui.pyo", line 317, in makemainwindow
File "gui.pyo", line 485, in __init__
File "guiwidgets.pyo", line 359, in __init__
File "guiwidgets.pyo", line 448, in setdefaults
UnicodeEncodeError: 'ascii' codec can't encode characters in position 26-38: ordinal not in range(128)
Variables by last 8 frames, innermost last
Frame MainLoop in wxPython\wx.pyo at line 1974
self = <gui.MainApp instance; proxy of C++ wxPyApp instance at _931
Frame MainLoop in wxPython\wx.pyo at line 92
_kwargs = {}
self = <gui.MainApp instance; proxy of C++ wxPyApp instance at _931
_args = ()
Frame OnClose in gui.pyo at line 239
self = <gui.MySplashScreen instance; proxy of C++ wxSplashScreen in
evt = <wxPython.events.wxCloseEventPtr instance; proxy of C++ wxCl
Frame goforit in gui.pyo at line 236
self = <gui.MySplashScreen instance; proxy of C++ wxSplashScreen in
Frame makemainwindow in gui.pyo at line 317
self = <gui.MainApp instance; proxy of C++ wxPyApp instance at _931
Frame __init__ in gui.pyo at line 485
sz = wxSize(16, 15)
parent = None
title = 'BitPim'
menu = <wxPython.windows.wxMenu instance; proxy of C++ wxMenu insta
self = <gui.MainWindow instance; proxy of C++ wxFrame instance at _
sb = <guiwidgets.MyStatusBar instance; proxy of C++ wxStatusBar i
config = <wxPython.utils.wxConfig instance; proxy of C++ wxConfig ins
id = -1
menuBar = <wxPython.windows.wxMenuBar instance; proxy of C++ wxMenuBar
Frame __init__ in guiwidgets.pyo at line 359
gs = <wxPython.sizers.wxFlexGridSizer instance; proxy of C++ wxFl
title = 'BitPim Settings'
keys = ['Audiovox CDM-8900', 'LG-VX4400', 'LG-VX4500', 'LG-VX6000',
frame = <gui.MainWindow instance; proxy of C++ wxFrame instance at _
but = <wxPython.sizers.wxBoxSizerPtr instance; proxy of C++ wxBoxS
mainwindow = <gui.MainWindow instance; proxy of C++ wxFrame instance at _
self = <guiwidgets.ConfigDialog instance; proxy of C++ wxDialog ins
bs = <wxPython.sizers.wxBoxSizer instance; proxy of C++ wxBoxSize
id = -1
Frame setdefaults in guiwidgets.pyo at line 448
path = u'C:\\Documents and Settings\\\u0410\u0434\u043c\u0438\u043d
self = <guiwidgets.ConfigDialog instance; proxy of C++ wxDialog ins
--
Best regards,
Yura mailto:[email protected]
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005