Traceback at options, "find a window", show osd....

Found a bug in EventGhost? Report it here.

Traceback at options, "find a window", show osd....

Postby mamilko01 » Mon Jan 30, 2012 7:54 pm

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
Last edited by mamilko01 on Thu Feb 02, 2012 8:03 am, edited 1 time in total.
mamilko01
 
Posts: 4
Joined: Mon Jan 30, 2012 7:47 pm

Re: Traceback at options, "find a window", show osd....

Postby Pako » Thu Feb 02, 2012 6:38 am

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
User avatar
Pako
Plugin Developer
 
Posts: 1283
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: Traceback at options, "find a window", show osd....

Postby mamilko01 » Thu Feb 02, 2012 8:01 am

Its solved, my regional settings were corrupted, now everything functions.
mamilko01
 
Posts: 4
Joined: Mon Jan 30, 2012 7:47 pm

Re: Traceback at options, "find a window", show osd.

Postby Jacek_FH » Fri Nov 02, 2012 10:47 am

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
Last edited by Jacek_FH on Wed Nov 07, 2012 6:24 am, edited 1 time in total.
Jacek_FH
 
Posts: 2
Joined: Fri Nov 02, 2012 10:34 am

Re: Traceback at options, "find a window", show osd.

Postby Jacek_FH » Tue Nov 06, 2012 5:18 pm

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)
Jacek_FH
 
Posts: 2
Joined: Fri Nov 02, 2012 10:34 am

Re: [SOLVED]Traceback at options, "find a window", show osd.

Postby slack » Mon Jan 14, 2013 7:28 pm

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 !!!
slack
 
Posts: 2
Joined: Wed Nov 07, 2012 8:19 pm
Location: Serbia


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 4 guests