I have been using EventGhost for a long time and like it a lot. I just installed it on a new computer with a clean Windows 10 installation. Now I get the following error in the log when I try to open the option dialog. I thought it was something related to the latest rc, so I tried another version and got the same error. I have tried all versions between 0.5.0-beta5 and 0.5.0-rc4 and I get the same error in all versions.
The latest stable release works.
Any ideas what might be wrong? I searched the forum but didn't find anything.
Code: Select all
---> Welcome to EventGhost <---
08:01:51: 4 MainThread: Create(cls=<class 'eg.Classes.OptionsDialog.OptionsDialog'>)
08:01:51: 5 MainThread: OptionsDialog.ProcessingTask()
08:01:51: 5 MainThread: OptionsDialog.Configure(parent=<eg.Classes.MainFrame.MainFrame; proxy of <Swig Object of type 'wxFrame *' at 0x5653278> >)
08:01:51: 5 MainThread: OptionsDialog.__init__(parent=<eg.Classes.MainFrame.MainFrame; proxy of <Swig Object of type 'wxFrame *' at 0x5653278> >, title='Options')
08:01:51: 5 MainThread: OptionsDialog.__init__ => None
Traceback (most recent call last) (0.5.0-rc4):
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\Utils.py", line 441, in LogItWithReturnWrapper
result = func(*args, **kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\OptionsDialog.py", line 120, in Configure
max=999
File "C:\Program Files (x86)\EventGhost\eg\Classes\ControlProviderMixin.py", line 116, in SpinIntCtrl
return eg.SpinIntCtrl(self, -1, value, *args, **kwargs)
File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 46, in __getattr__
mod = __import__("eg.Classes." + name, None, None, [name], 0)
File "C:\Program Files (x86)\EventGhost\eg\Classes\SpinIntCtrl.py", line 24, in <module>
class SpinIntCtrl(eg.SpinNumCtrl):
File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 46, in __getattr__
mod = __import__("eg.Classes." + name, None, None, [name], 0)
File "C:\Program Files (x86)\EventGhost\eg\Classes\SpinNumCtrl.py", line 27, in <module>
THOUSANDS_SEP = l.GetInfo(wx.LOCALE_THOUSANDS_SEP)
File "wx\_gdi.pyc", line 3106, in GetInfo
PyAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NULL), "C") == 0" failed at ..\..\src\common\intl.cpp(1449) in wxLocale::GetInfo(): You probably called setlocale() directly instead of using wxLocale and now there is a mismatch between C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale objects to avoid this!
08:01:51: 4 MainThread: Create => <eg.Classes.OptionsDialog.OptionsDialog; proxy of <Swig Object of type 'wxDialog *' at 0x3b16258> >
08:01:51: 4 MainThread: OptionsDialog.GetEvent()
08:01:51: 5 MainThread: OptionsDialog.Destroy()
08:01:51: 5 MainThread: OptionsDialog.ProcessingTask => None
08:01:51: 4 MainThread: OptionsDialog.GetEvent => (None, None)
08:01:51: 1 MainThread: MainFrame.OnDialogDestroy(event=<wx.WindowDestroyEvent>)