Page 1 of 1

Error when ending the Wait action

Posted: Wed Jan 06, 2010 4:00 pm
by gorman
Hi! After a Wait action of 15 seconds I get random errors (it doesn't always happen).

Log of the error: http://pastebin.com/m2bb15c7f

Windows 7 x64, EventGhost 0.3.7r1262

Re: Error when ending the Wait action

Posted: Fri Jan 08, 2010 10:02 pm
by gorman
Ehm... anyone?

Re: Error when ending the Wait action

Posted: Sat Jan 16, 2010 6:58 pm
by stottle
EG will print an error message when one thread asks another thread to do something and it takes to long. That's what the timeout error is. They are hard to debug, because the message is from the calling thread and doesn't tell what, if anything, went wrong the in thread that was running the action.

The problem appears to be with a call to OnComputerResume, so is this a sleep related action?

Can you disable the event or action that triggers this?

Brett

Re: Error when ending the Wait action

Posted: Tue Jan 19, 2010 11:31 pm
by gorman
The machine wakes up from standby and, on resume, waits a certain amount of time before launching XBMC. That's due to the need for HDMI to correctly communicate with my receiver and TV.

Re: Error when ending the Wait action

Posted: Wed Jan 20, 2010 3:50 pm
by Prinz
Hi,
gorman wrote:The machine wakes up from standby and, on resume, waits a certain amount of time before launching XBMC. That's due to the need for HDMI to correctly communicate with my receiver and TV.
I had this problem before.

I have solved this problem in following way:

The resume event triggers another event using the EG methode "Trigger Event". This new event can be delayed by 15s. When the new event is fired, XBMC can be started.

The goal of this solution ist, that the EG is not blocked about 15s after resume.

Regards
Prinz