Locale fixes

Keep up to date with EG related information here.
Post Reply
User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Locale fixes

Post by kgschlosser » Mon May 11, 2020 6:57 am

This is a nightly built of EventGhost that contains hopefully fixes for the locale issues.

Options Dialog fixed
SpinNumCtrl thousands separator fixed
Windows locale that has a virtual LCID fixed
Expanded language support (more locale options in language dialog).

https://ci.appveyor.com/api/buildjobs/y ... _Setup.exe

There may still be an issue with using a locale that has a virtual LCID I am not sure if wxPython is going to pitch a fit about it after language selection is made and a restart of EG takes place.
If you like the work I have been doing then feel free to Image

Radar73
Posts: 5
Joined: Fri Dec 14, 2018 9:50 pm

Re: Locale fixes

Post by Radar73 » Fri May 29, 2020 11:54 pm

Getting an error accessing options:

Traceback (most recent call last) (WIP-2020.05.11-06.47.41):
File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 162, in ProcessingTask
self.Configure(*args, **kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\OptionsDialog.py", line 193, in Configure
languageChoice.SetSelection(locale.label)
File "wx\_core.pyc", line 12993, in SetSelection
TypeError: in method 'ItemContainer_SetSelection', expected argument 2 of type 'int'

After the first install, I can get in to options, on subsequent tries I get the above.

User avatar
kgschlosser
Site Admin
Posts: 5508
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Locale fixes

Post by kgschlosser » Sat May 30, 2020 12:49 am

that's an easy fix I will take care of.
If you like the work I have been doing then feel free to Image

dan Edens
Experienced User
Posts: 119
Joined: Mon Sep 24, 2018 7:57 pm

Re: Locale fixes

Post by dan Edens » Fri Aug 13, 2021 11:33 am

Im having this error when I try to open the options menu.
Any update on this front?

Code: Select all

6:29:31 AM   Traceback (most recent call last) (WIP-2020.05.11-06.47.41):
6:29:31 AM     File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 180, in ProcessingTask
6:29:31 AM       self.Configure(*args, **kwargs)
6:29:31 AM     File "C:\Program Files (x86)\EventGhost\eg\Classes\OptionsDialog.py", line 193, in Configure
6:29:31 AM       languageChoice.SetSelection(locale.label)
6:29:31 AM     File "wx\_core.pyc", line 12993, in SetSelection
6:29:31 AM   TypeError: in method 'ItemContainer_SetSelection', expected argument 2 of type 'int'

User avatar
Sem;colon
Plugin Developer
Posts: 892
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: Locale fixes

Post by Sem;colon » Fri Aug 13, 2021 3:10 pm

Hi Dan,

Try this patch and let me know if it works!
viewtopic.php?f=12&t=10266&start=45#p56089
If you like my work, Image me a drink :wink:

Post Reply