Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Timeout nach Standby, was hat das zu bedeuten?

Allgemeines zum Thema EventGhost
Post Reply
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Timeout nach Standby, was hat das zu bedeuten?

Post by Prinz »

Hallo,

ich habe nach einem Resume aus dem Standby in letzter Zeit folgende Fehlermeldung in der Log-Datei:

Code: Select all

22:08:58: MessageReceiver: PowerBroadcastNotifier.OnPowerBroadcast(hwnd=329950, msg=536L, wparam=7L, lparam=0)
22:09:03: MessageReceiver: timeout TriggerEventWait
  File "threading.pyc", line 462, in __bootstrap
  File "threading.pyc", line 486, in __bootstrap_inner
  File "threading.pyc", line 446, in run
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 136, in LogItWithReturnWrapper
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 168, in __MainLoop
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 191, in __DoOneEvent
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 39, in PumpWaitingMessages
  File "C:\Programme\System\EventGhost\eg\Singletons\MessageReceiver.py", line 96, in MyWndProc
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 124, in LogItWrapper
  File "C:\Programme\System\EventGhost\plugins\System\PowerBroadcastNotifier.py", line 68, in OnPowerBroadcast
  File "C:\Programme\System\EventGhost\eg\Singletons\EventThread.py", line 99, in TriggerEventWait
Worauf k├Ânnte die hinweisen?

Gruß
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Timeout nach Standby, was hat das zu bedeuten?

Post by Bitmonster »

Also es sieht so aus, als ob EG beim Resume eines deiner Makros ausführen wollte, aber dieses nicht in "angemessener" Zeit mit der Ausführung fertig wurde. Machst du da irgendwas aufwändiges beim Resume?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: Timeout nach Standby, was hat das zu bedeuten?

Post by Prinz »

Hallo,
Bitmonster wrote:Also es sieht so aus, als ob EG beim Resume eines deiner Makros ausführen wollte, aber dieses nicht in "angemessener" Zeit mit der Ausführung fertig wurde. Machst du da irgendwas aufwändiges beim Resume?
Eigentlich nicht.

Ich habe jetzt mal zum Testen eine leere myconfig.xml. Das Problem tritt auch hier auf.

Hier der komplette Log:

Code: Select all

10:02:30: MainThread: ----------------------------------------
10:02:30: MainThread:         EventGhost started
10:02:30: MainThread: ----------------------------------------
10:02:30: MainThread: Version: 0.3.6.1449
10:02:30: MainThread: LoadStrings(language='de_DE')
10:02:30: MainThread: SendKeysParser.__init__()
10:02:30: MessageReceiver: MessageReceiver.__MainLoop()
10:02:30: MessageReceiver: MessageReceiver.Setup()
10:02:30: MainThread: Document.ShowFrame()
10:02:31: MainThread: Log.GetData()
10:02:31: MainThread: Document.SetTree(tree=<eg.Classes.MainFrame.TreeCtrl.TreeCtrl; proxy of <Swig Object of type 'wxPyTreeCtrl *' at 0x1d861f8> >)
10:02:31: MainThread: Document.ShowFrame => None
10:02:31: ActionThread: ActionThread.__MainLoop()
10:02:31: EventThread: EventThread.__MainLoop()
10:02:31: EventThread: EventThread.StartSession(filename=None)
10:02:31: ActionThread: ActionThread.StartSession(filename=None)
10:02:31: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='EventGhost', evalName=None, args=())
10:02:31: ActionThread: PluginManager.Save()
10:02:31: ActionThread: PluginManager.Refresh :0.33457296946958343
10:02:31: MainThread: OSDFrame.__init__(parent=None)
10:02:31: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='System', evalName=None, args=())
10:02:31: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='Window', evalName=None, args=())
10:02:31: ActionThread: Open(cls=<class 'eg.Classes.PluginInfo.PluginInfo'>, pluginName='Mouse', evalName=None, args=())
10:02:31: MouseThread: MouseThread.run()
10:02:31: SchedulerThread: SessionChangeNotifier.Register()
10:02:31: ActionThread: Document.Load(filePath=None)
10:02:31: ActionThread: Document.LoadEmpty()
10:02:31: ActionThread: StartLoad(cls=<class 'eg.Classes.TreeLink.TreeLink'>)
10:02:31: ActionThread: XML loaded in 0.016031 seconds.
10:02:31: ActionThread: ActionThread.StartSession => None
10:02:41: MessageReceiver: PowerBroadcastNotifier.OnPowerBroadcast(hwnd=1507832, msg=536L, wparam=0L, lparam=1)
10:02:46: MessageReceiver: timeout TriggerEventWait
  File "threading.pyc", line 462, in __bootstrap
  File "threading.pyc", line 486, in __bootstrap_inner
  File "threading.pyc", line 446, in run
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 136, in LogItWithReturnWrapper
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 168, in __MainLoop
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 191, in __DoOneEvent
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 39, in PumpWaitingMessages
  File "C:\Programme\System\EventGhost\eg\Singletons\MessageReceiver.py", line 96, in MyWndProc
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 124, in LogItWrapper
  File "C:\Programme\System\EventGhost\plugins\System\PowerBroadcastNotifier.py", line 68, in OnPowerBroadcast
  File "C:\Programme\System\EventGhost\eg\Singletons\EventThread.py", line 99, in TriggerEventWait
10:02:47: MessageReceiver: PowerBroadcastNotifier.OnPowerBroadcast(hwnd=1507832, msg=536L, wparam=4L, lparam=0)
10:02:52: MessageReceiver: timeout TriggerEventWait
  File "threading.pyc", line 462, in __bootstrap
  File "threading.pyc", line 486, in __bootstrap_inner
  File "threading.pyc", line 446, in run
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 136, in LogItWithReturnWrapper
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 168, in __MainLoop
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 191, in __DoOneEvent
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 39, in PumpWaitingMessages
  File "C:\Programme\System\EventGhost\eg\Singletons\MessageReceiver.py", line 96, in MyWndProc
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 124, in LogItWrapper
  File "C:\Programme\System\EventGhost\plugins\System\PowerBroadcastNotifier.py", line 68, in OnPowerBroadcast
  File "C:\Programme\System\EventGhost\eg\Singletons\EventThread.py", line 99, in TriggerEventWait
10:05:08: MessageReceiver: PowerBroadcastNotifier.OnPowerBroadcast(hwnd=1507832, msg=536L, wparam=18L, lparam=0)
10:05:13: MessageReceiver: timeout TriggerEventWait
  File "threading.pyc", line 462, in __bootstrap
  File "threading.pyc", line 486, in __bootstrap_inner
  File "threading.pyc", line 446, in run
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 136, in LogItWithReturnWrapper
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 168, in __MainLoop
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 191, in __DoOneEvent
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 39, in PumpWaitingMessages
  File "C:\Programme\System\EventGhost\eg\Singletons\MessageReceiver.py", line 96, in MyWndProc
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 124, in LogItWrapper
  File "C:\Programme\System\EventGhost\plugins\System\PowerBroadcastNotifier.py", line 68, in OnPowerBroadcast
  File "C:\Programme\System\EventGhost\eg\Singletons\EventThread.py", line 99, in TriggerEventWait
10:05:13: MessageReceiver: PowerBroadcastNotifier.OnPowerBroadcast(hwnd=1507832, msg=536L, wparam=7L, lparam=0)
10:05:18: MessageReceiver: timeout TriggerEventWait
  File "threading.pyc", line 462, in __bootstrap
  File "threading.pyc", line 486, in __bootstrap_inner
  File "threading.pyc", line 446, in run
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 136, in LogItWithReturnWrapper
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 168, in __MainLoop
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 191, in __DoOneEvent
  File "C:\Programme\System\EventGhost\eg\Classes\ThreadWorker.py", line 39, in PumpWaitingMessages
  File "C:\Programme\System\EventGhost\eg\Singletons\MessageReceiver.py", line 96, in MyWndProc
  File "C:\Programme\System\EventGhost\eg\Utils.py", line 124, in LogItWrapper
  File "C:\Programme\System\EventGhost\plugins\System\PowerBroadcastNotifier.py", line 68, in OnPowerBroadcast
  File "C:\Programme\System\EventGhost\eg\Singletons\EventThread.py", line 99, in TriggerEventWait
10:05:33: MainThread: MainFrame.OnClose(event=<wx.CloseEvent>)
10:05:33: MainThread: Document.HideFrame()
10:05:33: MainThread: MainFrame.Destroy()
10:05:33: MainThread: Document.SetTree(tree=None)
10:05:33: MainThread: LogCtrl.Destroy()
10:05:33: MainThread: TreeCtrl.Destroy()
10:05:33: MainThread: Document.SetTree(tree=None)
10:05:33: MainThread: MainFrame.Destroy => True
10:05:33: MainThread: Document.HideFrame => None
10:05:33: MainThread: ToolBar.__del__()
10:05:33: MainThread: LogCtrl.__del__()
10:05:33: MainThread: TreeCtrl.__del__()
10:05:33: MainThread: EventDropTarget.__del__()
10:05:33: MainThread: StatusBar.__del__()
10:05:33: MainThread: MainFrame.__del__()
10:05:36: MainThread: Document.ShowFrame()
10:05:36: MainThread: Log.GetData()
10:05:36: MainThread: Document.SetTree(tree=<eg.Classes.MainFrame.TreeCtrl.TreeCtrl; proxy of <Swig Object of type 'wxPyTreeCtrl *' at 0x1d861f8> >)
10:05:36: MainThread: Document.ShowFrame => None
10:05:38: MainThread: MainFrame.OnMenuOpen(event=<wx.MenuEvent>)
10:05:38: MainThread: MainFrame.SetupEditMenu(menuItems=<Utils.Bunch instance at 0x01EAAF80>)
10:05:39: MainThread: App.Exit()
10:05:39: MainThread: Document.Close()
10:05:39: MainThread: MainFrame.Destroy()
10:05:39: MainThread: Document.SetTree(tree=None)
10:05:39: MainThread: LogCtrl.Destroy()
10:05:39: MainThread: TreeCtrl.Destroy()
10:05:39: MainThread: Document.SetTree(tree=None)
10:05:39: MainThread: MainFrame.Destroy => True
10:05:39: MainThread: Document.GetExpandState()
10:05:39: MainThread: Document.Close => None
10:05:39: MainThread: App.OnExit()
10:05:39: MainThread: Triggering OnClose
10:05:39: MainThread: Calling exit funcs
10:05:39: MainThread: <function closeOSD at 0x01E48A30>
10:05:39: MainThread: Calling eg.DeInit()
10:05:39: MainThread: stopping threads
10:05:39: ActionThread: ActionThread.StopSession()
10:05:39: ActionThread: AutostartItem.UnloadPlugins()
10:05:39: ActionThread: info.Close()
10:05:39: ActionThread: info.RemovePluginInstance()
10:05:39: ActionThread: info.Close()
10:05:39: ActionThread: System.__stop__()
10:05:39: ActionThread: System.__stop__ => None
10:05:39: ActionThread: info.RemovePluginInstance()
10:05:39: ActionThread: info.Close()
10:05:39: ActionThread: info.RemovePluginInstance()
10:05:39: ActionThread: info.Close()
10:05:39: ActionThread: Mouse.__stop__()
10:05:39: ActionThread: Mouse.__close__()
10:05:39: ActionThread: info.RemovePluginInstance()
10:05:39: ActionThread: ActionThread.__MainLoop => None
10:05:39: EventThread: EventThread.__MainLoop => None
10:05:39: MainThread: shutting down
10:05:39: MainThread: MessageReceiver.Close()
10:05:39: MainThread: Threads:
10:05:39: MainThread:   <Scheduler(SchedulerThread, started)> SchedulerThread
10:05:39: MainThread:   <Thread(MessageReceiver, started)> MessageReceiver
10:05:39: MainThread:   <MouseThread(MouseThread, started)> MouseThread
10:05:39: MainThread:   <_MainThread(MainThread, started)> MainThread
10:05:39: MainThread: joining: <Scheduler(SchedulerThread, started)><bound method Scheduler.MainLoop of <Scheduler(SchedulerThread, started)>>
10:05:39: MessageReceiver: MessageReceiver.__MainLoop => None
10:05:39: MouseThread: MouseThread.run => None
10:05:39: MainThread: Threads:
10:05:39: MainThread:   <_MainThread(MainThread, started)> MainThread
10:05:39: MainThread: Done!
Diese Meldung habe ich sowohl auf meinem Tower-PC als auch auf meinem HTPC. Woher kann dieses Probem kommen?

Gruß
Prinz

P.S.:
Habe gerade noch mal die neueste Version installiert. Gleiches Ergebnis. Habe jetzt den Event-Ghost auf einem virtuellen PC installiert. Dort erscheint diese Fehlermeldung nicht.
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Timeout nach Standby, was hat das zu bedeuten?

Post by Bitmonster »

Und wie sieht es mit älteren Versionen aus? Immo hab ich gerade keine Idee was da das Problem ist. Zuerst dachte ich, dass sich das Standby-Verhalten vielleicht auf dem PC insofern geändert hat, dass er nicht mehr auf das "OK" von EG wartet und einfach sofort in Standby geht. Aber der Fehler scheint ja auch beim Resume zu kommen und das wäre dann nicht logisch.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Timeout nach Standby, was hat das zu bedeuten?

Post by Bitmonster »

Ich habe es gerade mal auf einem jungfr├ñulichen XP-SP3 PC ausprobiert und kein Problem provozieren k├Ânnen. Da muss irgendein anderes Programm oder eine besondere Einstellung bei dir greifen. Aber du k├Ânntest mal folgendes probieren:

1. Benenne deinen C:\Programme\EventGhost Ordner um
2. Benenne deinen C:\Dokumente und Einstellungen\[USER]\Anwendungsdaten\EventGhost Ordner um
3. Installiere noch einmal die letzte Beta.

Dann sind wir sicher, dass sich da nicht alte Source-Files oder alte Konfigurationseinstellungen einmischen.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: Timeout nach Standby, was hat das zu bedeuten?

Post by Prinz »

Hallo,

Danke f├╝r die Info.

Ich denke auch, dass es muss irgendwie an meiner Konfiguration liegen, ich hatte (s.o.) ja auch schon festgestellt, dass die Installation auf einer meine VMs dieses Problem nicht zeigt.

Ich werde dass Problem mir in den nächsten Tagen noch einmal genauer anschauen, habe aber momentan abends nur wenig Zeit. Vielleicht komm ich auch erst am Wochenende dazu.

Das dumme ist einfach, dass ich nicht weiß, wann das Problem genau aufgetetreten ist. Aber vielleicht werde ich mit Deinem Tip schon fündig.

Ich werde mich dann wieder melden.

Danke
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: Timeout nach Standby, was hat das zu bedeuten?

Post by Prinz »

Hallo,
Bitmonster wrote:Dann sind wir sicher, dass sich da nicht alte Source-Files oder alte Konfigurationseinstellungen einmischen.
Hab's gerade ausprobiert, muss wohl die Ursache gewesen sein. Die Fehler sind nun verschwunden.

Danke
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Timeout nach Standby, was hat das zu bedeuten?

Post by Bitmonster »

Wenn du die alten Dateien noch hast und sich der Fehler durch zur├╝ckbenennen wieder provozieren l├ñsst, dann w├ñre es sch├Ân, wenn du mir die Dateien mal zukommen lassen k├Ânntest. Irgendwo muss dann ja ein Fehler in den Installern sein, den ich dann gerne mal aufsp├╝ren m├Âchte.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply