Page 1 of 1
Traceback at options, "find a window", show osd....
Posted: Mon Jan 30, 2012 7:54 pm
by mamilko01
This error happens on win7 x64 sp1 when I try:
-to use file--> options
-to use Show oSD
-to use Autorepat
-to use Find a window
-and some more
Error log:
Traceback (most recent call last) (1544):
File "C:\Program Files (x86)\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
self.Configure(*args, **kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ConfigDialog.py", line 165, in Configure
treeItem.Configure(*args)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 101, in Configure
return self.executable.Configure(*args)
File "C:\Program Files (x86)\EventGhost\plugins\Window\FindWindow.py", line 336, in Configure
numMatchCtrl = eg.SpinIntCtrl(panel, -1, matchNum or 1, 1)
File "C:\Program Files (x86)\EventGhost\eg\Classes\SpinIntCtrl.py", line 55, in __init__
integerWidth=integerWidth
File "C:\Program Files (x86)\EventGhost\eg\Classes\SpinNumCtrl.py", line 87, in __init__
numCtrl.SetParameters(**kwargs) # To avoid bug in NumCtrl
File "wx\lib\masked\numctrl.pyc", line 791, in SetParameters
File "wx\lib\masked\maskededit.pyc", line 2002, in SetCtrlParameters
File "wx\lib\masked\maskededit.pyc", line 2829, in _configure
TypeError: ord() expected a character, but string of length 0 found
Re: Traceback at options, "find a window", show osd....
Posted: Thu Feb 02, 2012 6:38 am
by Pako
mamilko01 wrote:This error happens on win7 x64 sp1 when I try:
-to use file--> options
-to use Show oSD
-to use Autorepat
-to use Find a window
-and some more
I'm sorry, but I can not deal with it.
I do not understand your description.
Any screenshot or xml file?
Pako
Re: Traceback at options, "find a window", show osd....
Posted: Thu Feb 02, 2012 8:01 am
by mamilko01
Its solved, my regional settings were corrupted, now everything functions.
Re: Traceback at options, "find a window", show osd.
Posted: Fri Nov 02, 2012 10:47 am
by Jacek_FH
I've got the same problem, clean install of newest EventGhost - 0.4.1.r1582, Win7 64bit SP1, using Example.xml, run with or without administrator rights
Trying menu > File > Options with unchecked "Log only assigned events" freezes program, and with checked generates:
Code: Select all
Traceback (most recent call last) (1582):
File "D:\Programy\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
self.Configure(*args, **kwargs)
File "D:\Programy\EventGhost\eg\Classes\OptionsDialog.py", line 129, in Configure
max=999
File "D:\Programy\EventGhost\eg\Classes\ControlProviderMixin.py", line 29, in SpinIntCtrl
return eg.SpinIntCtrl(self, -1, value, *args, **kwargs)
File "D:\Programy\EventGhost\eg\Classes\SpinIntCtrl.py", line 55, in __init__
integerWidth=integerWidth
File "D:\Programy\EventGhost\eg\Classes\SpinNumCtrl.py", line 87, in __init__
numCtrl.SetParameters(**kwargs) # To avoid bug in NumCtrl
File "wx\lib\masked\numctrl.pyc", line 791, in SetParameters
File "wx\lib\masked\maskededit.pyc", line 2002, in SetCtrlParameters
File "wx\lib\masked\maskededit.pyc", line 2829, in _configure
TypeError: ord() expected a character, but string of length 0 found
Trying to add Find window action:
Code: Select all
Traceback (most recent call last) (1582):
File "D:\Programy\EventGhost\eg\Classes\TaskletDialog.py", line 59, in ProcessingTask
self.Configure(*args, **kwargs)
File "D:\Programy\EventGhost\eg\Classes\ConfigDialog.py", line 165, in Configure
treeItem.Configure(*args)
File "D:\Programy\EventGhost\eg\Classes\ActionItem.py", line 101, in Configure
return self.executable.Configure(*args)
File "D:\Programy\EventGhost\plugins\Window\FindWindow.py", line 336, in Configure
numMatchCtrl = eg.SpinIntCtrl(panel, -1, matchNum or 1, 1)
File "D:\Programy\EventGhost\eg\Classes\SpinIntCtrl.py", line 55, in __init__
integerWidth=integerWidth
File "D:\Programy\EventGhost\eg\Classes\SpinNumCtrl.py", line 87, in __init__
numCtrl.SetParameters(**kwargs) # To avoid bug in NumCtrl
File "wx\lib\masked\numctrl.pyc", line 791, in SetParameters
File "wx\lib\masked\maskededit.pyc", line 2002, in SetCtrlParameters
File "wx\lib\masked\maskededit.pyc", line 2829, in _configure
TypeError: ord() expected a character, but string of length 0 found
Traceback (most recent call last) (1582):
File "wx\_core.pyc", line 14660, in <lambda>
File "D:\Programy\EventGhost\eg\Core.py", line 197, in Notify
listener(value)
File "D:\Programy\EventGhost\eg\Classes\MainFrame\TreeCtrl.py", line 830, in OnNodeSelected
path = node.GetPath()
File "D:\Programy\EventGhost\eg\Classes\TreeItem.py", line 354, in GetPath
path.append(parent.childs.index(item))
AttributeError: 'NoneType' object has no attribute 'childs'
No screenshot is necessary as nothing happens (beside error log) - options dialog wont show, same with find window dialog
Re: Traceback at options, "find a window", show osd.
Posted: Tue Nov 06, 2012 5:18 pm
by Jacek_FH
I've found workaround - in file:
EventGhost\eg\Classes\SpinNumCtrl.py
I've commented out 87 line:
Code: Select all
#numCtrl.SetParameters(**kwargs) # To avoid bug in NumCtrl
After that everything works.
(but I don't know what I had lost in the process)
Re: [SOLVED]Traceback at options, "find a window", show osd.
Posted: Mon Jan 14, 2013 7:28 pm
by slack
Thank you Jacek_FH.
I had the same problem with Options, and I also could not edit UIRT2 actions.
Since I commented line 87, EventGhost seems to work OK.
Thank you !!!