Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: PH Stops executing macros mysteriously 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: January 20 2019 at 18:52 | IP Logged Quote jeffw_00

Hi - So 3 times in the past couple of months. PH got into a mode where it worked completely normally, except executing a macro (either from timed event or interactively) did nothing. Interactively the screen blinks, but there is nothing in the Powerhome Status. If timed event, I can see the "Timed event FOO processed" in the log (I have everything enabled for logging), but that's the ONLY entry, no log of the MACRO execution, as it didn't execute.

The Powerhome Status looks fine otherwise, and a ReInit always fixes it. But this is so unlike powerhome. Not sure what to do, reinstall the SW (unfortunately I think that's multiple steps?) I Any all suggestions appreciated. We're mostly home so we usually notice within a few hours, but I hate to rely on that.   I think for now I may schedule a daily Reinit.

Thanks!
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
gg102
Senior Member
Senior Member


Joined: January 29 2013
Location: United States
Online Status: Offline
Posts: 245
Posted: January 20 2019 at 19:23 | IP Logged Quote gg102

Hi Jeff,

I've not experienced this, but I have experienced that Win10 sometimes throws up an
error message and that might "freeze" PH. An error like "No email client has been set
up for this application" or something like that. I have never narrowed down that one.
For me, that message hasn't popped up in a while. Maybe MS fixed it recently.

One thing to add might be your own debugging log file. I have a log file that I
update periodically. Maybe for debugging, write a line to your own log file. Include
the macro name and the current time "now()". At least you'll know the last macro that
was executed and when. You can write to your log file anywhere to indicate that you
made it to that spot.

At the beginning of every hour, write a line to your debug log file. That way you'll
know if PH made it through the hour.

When you're finished debugging, you don't have to remove all those debug lines from
every macro, just put a jump 9999 at the start of the macro that writes to the log
file. That way, you can re-enable it at any time. If you want more details, I'd be
happy to share what I have.


Question: if PH seems to stop executing macros, how will you reliably automatically
restart PH?


Just a couple thoughts...




Back to Top View gg102's Profile Search for other posts by gg102
 
gg102
Senior Member
Senior Member


Joined: January 29 2013
Location: United States
Online Status: Offline
Posts: 245
Posted: January 20 2019 at 19:47 | IP Logged Quote gg102

Jeff,

I thought of one more important thing.

There WAS a problem with timed events in a previous
version. It was a complicated issue, and I captured the
failure, and Dave fixed it. I don't remember which
version, or exactly what the issue was, but if you're on
2.1.5d that issue has been fixed.


Back to Top View gg102's Profile Search for other posts by gg102
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: January 20 2019 at 19:49 | IP Logged Quote jeffw_00

Thanks - I'm running Windows 7, and my hope is that the daily reinit will clear out whatever is causing the issue before it manifests. I can tell where it quits by looking at Powerhome's log - it turns into just a set of "Timed Event xxx processed" lines and nothing else.   Thanks!
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: January 20 2019 at 19:50 | IP Logged Quote jeffw_00

However - I appear to be running 2.1.5.c - I might wait for Dave to weigh in but perhaps I should update.

Where do I get 2.1.5d?

Edited by jeffw_00 - January 20 2019 at 19:51
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
gg102
Senior Member
Senior Member


Joined: January 29 2013
Location: United States
Online Status: Offline
Posts: 245
Posted: January 20 2019 at 19:56 | IP Logged Quote gg102

Hi,

I don't remember if this is a full install or just a
partial.

http://www.power-home.com/download/ph215d.zip

Back to Top View gg102's Profile Search for other posts by gg102
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: January 20 2019 at 20:06 | IP Logged Quote jeffw_00

Thanks - I need to find the install instructions at some point, but I will try it.
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: January 20 2019 at 20:28 | IP Logged Quote jeffw_00

Ok - this time it was different - the Reinit didn't completely fix it. Macros initiated from triggers were still getting ignored Also, a reboot didn't fix it.

BUT... Reverting to a 1-day-old database fixed it. (I backup my database every day). Somehow, this time, the database got corrupted in such a way that it just wouldn't execute triggered macros.

The original problem is still a concern though...

Thanks!
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
gg102
Senior Member
Senior Member


Joined: January 29 2013
Location: United States
Online Status: Offline
Posts: 245
Posted: January 20 2019 at 20:34 | IP Logged Quote gg102

Wow,

That's interesting.

I also backup my database every day of the month,
therefore I have about 30 backups. Also, I run on a RAM
disk so I have to backup to a hard drive a lot.

This seems to be more of a Dave issue now.

Glad you're up and running (mostly).
Back to Top View gg102's Profile Search for other posts by gg102
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 21 2019 at 17:51 | IP Logged Quote dhoward

Jeff,

I believe this problem is related to 2.1.5c. Try
upgrading to 2.1.5d. This is a link to the thread: 2.1.5d thread.

Basically, you just download the 2.1.5d zip file and unzip its contents into the PowerHome directory and overwrite any existing files.

Let me know how it goes,

Dave.

***Edit - Ugh, looks like the forum may have messed up the link.
Try and copy/paste from here:
Code:
http://power-home.com/forum/forum_posts.asp?TID=4468&PN=1&TP N=1



Edited by dhoward - January 21 2019 at 17:56
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: January 21 2019 at 18:04 | IP Logged Quote jeffw_00

Hi Dave - Thanks for the response!. That link appears to be the thread for 2.1.5c. But I downloaded http://www.power-home.com/download/ph215d.zip and I will try it. Stay tuned (I guess the absence of issues for 3-4 weeks will confirm a fix).

best
/j

Edited by jeffw_00 - January 21 2019 at 18:08
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: January 21 2019 at 18:14 | IP Logged Quote dhoward

Jeff,

Correct. The link is to 2.1.5c but the download link and instructions for 2.1.5d is in the first post.

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: January 21 2019 at 18:15 | IP Logged Quote jeffw_00

why, look at that! You're right :-)

Already installed - thanks for the help. will keep you posted
/j
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: February 05 2019 at 13:49 | IP Logged Quote jeffw_00

no more issues - thanks!
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