Skip to content

Cannot start application - possible problem with locale #28

@adriatic-mne

Description

@adriatic-mne

I tried using the application on Win 10 system with IBM Notes 9.0.1 and Outlook 365 (v. 1908).
Immediately after running the app, I get "See the log file" error. In the log I find this:
Traceback (most recent call last):
File "nsf2x.py", line 75, in
File "C:\Logiciel\WinPython-32bit-3.4.4.4Qt5\python-3.4.4\lib\gettext.py", line 400, in translation
File "C:\Logiciel\WinPython-32bit-3.4.4.4Qt5\python-3.4.4\lib\gettext.py", line 372, in find
File "C:\Logiciel\WinPython-32bit-3.4.4.4Qt5\python-3.4.4\lib\gettext.py", line 114, in _expand_lang
File "C:\Logiciel\WinPython-32bit-3.4.4.4Qt5\python-3.4.4\lib\locale.py", line 390, in normalize
AttributeError: 'NoneType' object has no attribute 'lower'

In source file nsf2x.py I found that 75th line is read of locale/language:
lang = locale.windows_locale.get(ctypes.windll.kernel32.GetUserDefaultLCID())

I use the system with Serbian Latin keyboard, but locale is English (United States) (at least that's what I find in Language for non-unicode programs setting).

Can I fix the lang variable to English or en-us in order to prevent this error and then recompile? Or if you have any other idea, they are most welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions