[FIXED] Error in EventGhost v0.3.6.1308 (Beta)...
Posted: Thu Mar 13, 2008 9:57 am
...And also with many Beta versions before it.
Hi.
It has quite long time that my IRman (not clone) has working fine with any current EventGhost Beta version. It has begin to jam affter short time of EventGhost's start. Before this jam, it seems to working quite fine and sending correct event values.
Log.txt:
Hi.
It has quite long time that my IRman (not clone) has working fine with any current EventGhost Beta version. It has begin to jam affter short time of EventGhost's start. Before this jam, it seems to working quite fine and sending correct event values.
Log.txt:
- 10:23:43: MainThread: ----------------------------------------
10:23:43: MainThread: EventGhost started
10:23:43: MainThread: ----------------------------------------
10:23:43: MainThread: Version: 0.3.6.1308
10:23:43: MainThread: LoadStrings(language='en_EN')
10:23:44: MainThread: SendKeysParser.__init__()
10:23:45: MessageReceiver: MessageReceiver.__MainLoop()
10:23:45: MessageReceiver: MessageReceiver.Setup()
10:23:47: ActionThread: ActionThread.__MainLoop()
10:23:47: EventThread: EventThread.__MainLoop()
10:23:47: EventThread: EventThread.StartSession(filename=u'C:\\Documents and Settings\\All Users\\Tiedostot\\Shared Settings\\EventGhost\\my.xml')
10:23:47: ActionThread: ActionThread.StartSession(filename=u'C:\\Documents and Settings\\All Users\\Tiedostot\\Shared Settings\\EventGhost\\my.xml')
10:23:47: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='EventGhost', evalName=None, args=())
10:23:55: ActionThread: PluginManager.Save()
10:23:55: ActionThread: PluginManager.Refresh :7.3257710127963191
10:23:57: MainThread: OSDFrame.__init__(parent=None)
10:23:57: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='System', evalName=None, args=())
10:24:00: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='Window', evalName=None, args=())
10:24:00: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='Mouse', evalName=None, args=())
10:24:00: MouseThread: MouseThread.run()
10:24:01: ActionThread: Document.Load(filePath=u'C:\\Documents and Settings\\All Users\\Tiedostot\\Shared Settings\\EventGhost\\my.xml')
10:24:01: ActionThread: StartLoad(cls=<class 'eg.Classes.TreeLink.TreeLink'>)
10:24:01: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='Timer', evalName='Timer', args=(), treeItem=<eg.Singletons.Document.PluginItem object at 0x01E4D350>)
10:24:01: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='Winamp', evalName='Winamp', args=(), treeItem=<eg.Singletons.Document.PluginItem object at 0x01E4D310>)
10:24:01: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='SoundMixerEx', evalName='SoundMixerEx', args=(), treeItem=<eg.Singletons.Document.PluginItem object at 0x01E4DDB0>)
10:24:01: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='SysTrayMenu', evalName='SysTrayMenu', args=([(u'Show Version', 'item', u'EventGhostShowVersion', 4), (u'---------', 'separator', u'', 3), (u'Remote #1 Mode - Winamp', 'item', u'Remote1ModeWinamp', 1), (u'Remote #1 Mode - Mouse Emulation', 'item', u'Remote1ModeMouse', 2)],), treeItem=<eg.Singletons.Document.PluginItem object at 0x01E635F0>)
10:24:02: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='UIR', evalName='UIR', args=(2, 6, True), treeItem=<eg.Singletons.Document.PluginItem object at 0x01E63D10>)
10:24:02: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='NetworkReceiver', evalName='NetworkReceiver', args=(1024, u'l0cked', u'TCP'), treeItem=<eg.Singletons.Document.PluginItem object at 0x01E918F0>)
10:24:03: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='Webserver', evalName='Webserver', args=(u'HTTP', 26875, u'C:\\Documents and Settings\\All Users\\Tiedostot\\Shared Settings\\EventGhost\\www.root'), treeItem=<eg.Singletons.Document.PluginItem object at 0x01E91E30>)
10:24:04: ActionThread: Compile.__init__(sourceCode=u'eg.input = eg.trackInput\neg.trackInput = None')
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\nwin32gui.SendMessage(hWinamp, 1024, 0, 135)")
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\nwin32gui.SendMessage(hWinamp, 1024, 0, 65536)")
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\n\ntrackPositionSec = (win32gui.SendMessage(hWinamp, 1024, 0, 105) / 10)\ntrackLengthSec = win32gui.SendMessage(hWinamp, 1024, 1, 105)\n\neg.result = trackPositionSec / trackLengthSec")
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\nwin32gui.SendMessage(hWinamp, 1024, eg.input, 121)")
10:24:04: ActionThread: Compile.__init__(sourceCode=u'import win32gui\n\nhWinamp = win32gui.FindWindow(\'Winamp v1.x\', None)\n\ncurrentTrack = win32gui.SendMessage(hWinamp, 1024, 0, 125) + 1\ntotalTracks = win32gui.SendMessage(hWinamp, 1024, 0, 124)\n\neg.result = "%i of %i"%(currentTrack, totalTracks)')
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\n\ncurrentState = win32gui.SendMessage(hWinamp, 1024, 0, 250)\nwin32gui.SendMessage(hWinamp, 1024, not currentState, 252)\nnewState = win32gui.SendMessage(hWinamp, 1024, 0, 250)\n\nstates = ['Disabled', 'Enabled']\neg.result = states[newState]")
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\n\ncurrentState = win32gui.SendMessage(hWinamp, 1024, 0, 251)\nwin32gui.SendMessage(hWinamp, 1024, not currentState, 253)\nnewState = win32gui.SendMessage(hWinamp, 1024, 0, 251)\n\nstates = ['Disabled', 'Enabled']\neg.result = states[newState]")
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\n\ncurrentState = win32gui.SendMessage(hWinamp, 1024, 0, 634)\nwin32gui.SendMessage(hWinamp, 1024, not currentState, 635)\nnewState = win32gui.SendMessage(hWinamp, 1024, 0, 634)\n\nstates = ['Disabled', 'Enabled']\neg.result = states[newState]")
10:24:04: ActionThread: Compile.__init__(sourceCode=u'import win32gui\n\nhWinamp = win32gui.FindWindow(\'Winamp v1.x\', None)\n\ntrackRating = win32gui.SendMessage(hWinamp, 1024, 0, 640)\n\neg.result = "%i of 5"%(trackRating)')
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\n\ncurrentRating = win32gui.SendMessage(hWinamp, 1024, eg.input, 640)\n\nnewRating = eg.input\n\nwin32gui.SendMessage(hWinamp, 1024, newRating, 639)")
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\nplayerPanning = win32gui.SendMessage(hWinamp, 1024, -666, 123)\n\neg.result = (playerPanning / 1.27)")
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\n\nplayerPanning = win32gui.SendMessage(hWinamp, 1024, -666, 123)\n\nplayerNewPanning = ((playerPanning + eg.input) * 1.27)\nif playerNewPanning < -127.0:\n playerNewPanning = -127.0\nelif playerNewPanning > 127.0:\n playerNewPanning = 127.0\n\nwin32gui.SendMessage(hWinamp, 1024, playerPanning, 123)")
10:24:04: ActionThread: Compile.__init__(sourceCode=u"import win32gui\n\nplayerPanning = 40\nplayerPanning = (playerPanning * 1.27)\n\nhWinamp = win32gui.FindWindow('Winamp v1.x', None)\nwin32gui.SendMessage(hWinamp, 1024, playerPanning, 123)")
10:24:04: ActionThread: XML loaded in 3.367758 seconds.
10:24:04: ActionThread: UIR.__start__(port=2, byteCount=6, initSequence=True)
10:24:04: Thread-5: UIR.ReceiveThread()
10:24:04: ActionThread: ActionThread.StartSession => None
10:24:04: MainThread: OSDFrame.ShowOSD(osdText=u'Remote Mode: Winamp', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:536>)
10:42:06: MainThread: Document.ShowFrame()
10:42:07: MainThread: Log.GetData()
10:42:07: MainThread: Document.SetTree(tree=<eg.Classes.MainFrame.TreeCtrl.TreeCtrl; proxy of <Swig Object of type 'wxPyTreeCtrl *' at 0x1c94798> >)
10:42:08: MainThread: Document.ShowFrame => None
10:42:10: MainThread: MainFrame.OnIconize(event=<wx.IconizeEvent>)
10:42:10: MainThread: Document.HideFrame()
10:42:10: MainThread: MainFrame.Destroy()
10:42:10: MainThread: Document.SetTree(tree=None)
10:42:10: MainThread: LogCtrl.Destroy()
10:42:10: MainThread: TreeCtrl.Destroy()
10:42:10: MainThread: Document.SetTree(tree=None)
10:42:10: MainThread: Document.HideFrame => None
10:42:10: MainThread: ToolBar.__del__()
10:42:10: MainThread: LogCtrl.__del__()
10:42:10: MainThread: TreeCtrl.__del__()
10:42:10: MainThread: EventDropTarget.__del__()
10:42:10: MainThread: StatusBar.__del__()
10:42:10: MainThread: MainFrame.__del__()
10:42:49: MainThread: OSDFrame.ShowOSD(osdText=u'Volume: 36%', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:664>)
10:42:49: MainThread: OSDFrame.ShowOSD(osdText=u'Volume: 34%', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:672>)
10:42:50: MainThread: OSDFrame.ShowOSD(osdText=u'Volume: 32%', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:848>)
10:42:50: MainThread: OSDFrame.ShowOSD(osdText=u'Volume: 31%', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:864>)
10:42:51: MainThread: OSDFrame.ShowOSD(osdText=u'Volume: 29%', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:848>)
10:42:52: MainThread: OSDFrame.ShowOSD(osdText=u'Volume: 28%', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:840>)
10:45:04: MainThread: OSDFrame.ShowOSD(osdText=u'Volume: 29%', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:872>)
10:45:04: MainThread: OSDFrame.ShowOSD(osdText=u'Volume: 31%', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:872>)
10:45:08: MainThread: OSDFrame.ShowOSD(osdText=u'Volume: 29%', fontInfo=u'0;-32;0;0;0;700;0;0;0;0;1;2;1;34;MS Sans Serif', foregroundColour=(0, 255, 0), backgroundColour=(0, 64, 0), alignment=5, offset=(0, 55), displayNumber=0, timeout=3.0, event=<PyHANDLE:856>)
Exception in thread Thread-5:
Traceback (most recent call last):
File "threading.pyc", line 486, in __bootstrap_inner
File "threading.pyc", line 446, in run
File "C:\Program Files\EventGhost\eg\Utils.py", line 137, in LogItWithReturnWrapper
File "C:\Program Files\EventGhost\plugins\UIR\__init__.py", line 110, in ReceiveThread
File "C:\Program Files\EventGhost\eg\WinAPI\serial\serialwin32.py", line 189, in close
error: (5, 'SetCommTimeouts', 'K\xe4ytt\xf6 estetty.')
11:30:05: MainThread: Document.ShowFrame()
11:30:07: MainThread: Log.GetData()
11:30:08: MainThread: Document.SetTree(tree=<eg.Classes.MainFrame.TreeCtrl.TreeCtrl; proxy of <Swig Object of type 'wxPyTreeCtrl *' at 0x1c94798> >)
11:30:12: MainThread: Document.ShowFrame => None
11:30:12: MainThread: Document.ShowFrame()
11:30:12: MainThread: Document.ShowFrame => None
11:39:51: MainThread: MainFrame.OnClipboardChange()
11:43:18: MainThread: MainFrame.OnClipboardChange()
11:43:20: MainThread: SysTrayMenu.OnMenuItem(event=<wx.CommandEvent>)
11:43:20: MainThread: OSDFrame.ShowOSD(osdText=u'Running with EventGhost v0.3.6.1308', fontInfo=None, foregroundColour=(0, 255, 0), backgroundColour=(0, 0, 0), alignment=4, offset=(0, 0), displayNumber=0, timeout=3.0, event=<PyHANDLE:832>)
11:43:32: MainThread: MainFrame.OnClipboardChange()
11:43:34: MainThread: SysTrayMenu.OnMenuItem(event=<wx.CommandEvent>)
11:43:34: MainThread: OSDFrame.ShowOSD(osdText=u'Running with EventGhost v0.3.6.1308', fontInfo=None, foregroundColour=(0, 255, 0), backgroundColour=(0, 0, 0), alignment=4, offset=(0, 0), displayNumber=0, timeout=3.0, event=<PyHANDLE:812>)
11:43:48: MainThread: MainFrame.OnClipboardChange()
11:43:49: MainThread: SysTrayMenu.OnMenuItem(event=<wx.CommandEvent>)
11:43:49: MainThread: OSDFrame.ShowOSD(osdText=u'Running with EventGhost v0.3.6.1308', fontInfo=None, foregroundColour=(0, 255, 0), backgroundColour=(0, 0, 0), alignment=4, offset=(0, 0), displayNumber=0, timeout=3.0, event=<PyHANDLE:796>)
11:45:42: MainThread: MainFrame.OnClipboardChange()
11:45:43: MainThread: App.Exit(event=<wx.CommandEvent>)
11:45:43: MainThread: Document.Close()
11:45:43: MainThread: MainFrame.Destroy()
11:45:43: MainThread: Document.SetTree(tree=None)
11:45:43: MainThread: LogCtrl.Destroy()
11:45:43: MainThread: TreeCtrl.Destroy()
11:45:43: MainThread: Document.SetTree(tree=None)
11:45:43: MainThread: Document.GetExpandState()
11:45:43: MainThread: Document.Close => None
11:45:43: MainThread: App.OnExit()
11:45:43: MainThread: Triggering OnClose
11:45:43: MainThread: Calling exit funcs
11:45:43: MainThread: <function closeOSD at 0x01D95370>
11:45:43: MainThread: Calling eg.DeInit()
11:45:43: MainThread: stopping threads
11:45:43: ActionThread: ActionThread.StopSession()
11:45:43: ActionThread: AutostartItem.UnloadPlugins()
11:45:43: ActionThread: info.Close()
11:45:43: ActionThread: info.RemovePluginInstance()
11:45:43: ActionThread: info.Close()
11:45:43: ActionThread: info.RemovePluginInstance()
11:45:43: ActionThread: info.Close()
11:45:43: ActionThread: info.RemovePluginInstance()
11:45:43: ActionThread: info.Close()
11:45:43: ActionThread: info.RemovePluginInstance()
11:45:43: ActionThread: info.Close()
11:45:43: ActionThread: UIR.__stop__()
11:45:43: ActionThread: info.RemovePluginInstance()
11:45:43: ActionThread: info.Close()
11:45:44: ActionThread: info.RemovePluginInstance()
11:45:44: ActionThread: info.Close()
11:45:44: ActionThread: info.RemovePluginInstance()
11:45:44: ActionThread: info.Close()
11:45:44: ActionThread: info.RemovePluginInstance()
11:45:44: ActionThread: info.Close()
11:45:44: ActionThread: System.__stop__()
11:45:44: ActionThread: System.__stop__ => None
11:45:44: ActionThread: info.RemovePluginInstance()
11:45:44: ActionThread: info.Close()
11:45:44: ActionThread: info.RemovePluginInstance()
11:45:44: ActionThread: info.Close()
11:45:44: ActionThread: Mouse.__stop__()
11:45:44: ActionThread: Mouse.__close__()
11:45:44: ActionThread: info.RemovePluginInstance()
11:45:44: MouseThread: MouseThread.run => None
11:45:44: MainThread: shutting down
11:45:44: ActionThread: ActionThread.__MainLoop => None
11:45:44: EventThread: EventThread.__MainLoop => None
11:45:44: MainThread: MessageReceiver.Close()
11:45:44: MessageReceiver: MessageReceiver.__MainLoop => None
11:45:44: MainThread: COM interface count: 2
11:45:44: MainThread: Threads:
11:45:44: MainThread: <_MainThread(MainThread, started)> MainThread
11:45:44: MainThread: Threads:
11:45:44: MainThread: <_MainThread(MainThread, started)> MainThread
11:45:44: MainThread: Done!