Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: PH stops processing triggers Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: July 08 2020 at 11:33 | IP Logged Quote jeffw_00

Hi - I'm using the latest release of PH (not the new beta), and saw
some strange behavior this morning. It stopped processing triggers.
In the log I can see the triggers being detected, but no MACROs are
called. A restart fixed it, but it was weird. If it happens again, is there
anything I should look at? Is there any place triggers can be globally
disabled?

Thanks!
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: July 09 2020 at 15:59 | IP Logged Quote dhoward

Jeff,

My guess is that the execution queue crashed. With an older version of PowerHome (and new version), one way would be to look at the PowerHome Status
screen and see if the Execution Queue is filling up and nothing being processed. You could also go the menu File->Debug Info to get a snapshot of internal
variables that you can look at or send to me for review.

On the newest version of PowerHome (2.2beta3), there is also a function that you can execute in the multi-editor called ph_stacktrace(). This function
will show the whole state of the execution stack and can be useful in tracking down what may have caused a hang.

If it happens again, before restarting, see if the File->Clear EXE Queue menu item does anything to restore normal operation.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: July 09 2020 at 16:02 | IP Logged Quote jeffw_00

Hmmm - timed events were still chugging along - (sorry, should have
mentioned) - wouldn't that need the execution queue? PH hadn't
completely hung. I could see activity in the log. I could see triggers
fire - but the macro they were supposed to trigger did not appear..
weird...
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: July 09 2020 at 16:38 | IP Logged Quote dhoward

Jeff,

If Timed Events were processing (along with the associated actions which would have been sent to EQ), then the EQ probably wasnt hung.
Not sure what else could do it unless the Boolean field was evaluating to 0 or false. A trigger will still fire but if this field is 0 or
false then the action will not be performed.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: July 10 2020 at 08:27 | IP Logged Quote jeffw_00

It was several different triggered events that weren't showing up. Ok -
let it go.. Happened once in the many many years I've been
running PH :-)

Thanks!
/j

Edited by jeffw_00 - July 10 2020 at 08:28
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum