Page 3 of 3

Re: Action executed increasing numeber of times

Posted: Sat Aug 18, 2018 7:11 pm
by jony
Ok, so it finally happened again today.

Here's the exact play by play: one command kept repeating 2x whenever I asked for it while other commands seemed to be working normally. To fix it, I didn't restart P2R (as I usually do) but instead tried to see if something else would work. I turned that specific command Off and On again. That didn't work, iirc. I then tired turning the Master Switch Off and On. This worked. The command started running 1x again without me having to restart P2R.

Here is the Session Log output:
2018-08-18 17:37:51.863 - Incoming push ...
2018-08-18 17:37:51.863 - <Title> Push2Run ROBSPC
2018-08-18 17:37:51.864 - <Body> volume up *** THIS COMMAND RAN 2X
2018-08-18 17:37:52.563 - action completed

2018-08-18 17:38:54.039 - Incoming push ...
2018-08-18 17:38:54.039 - <Title> Push2Run ROBSPC
2018-08-18 17:38:54.039 - <Body> volume up *** THIS COMMAND RAN 2X
2018-08-18 17:38:54.729 - action completed

2018-08-18 17:39:55.464 - Incoming push ...
2018-08-18 17:39:55.464 - <Title> Push2Run ROBSPC
2018-08-18 17:39:55.465 - <Body> show progress bar *** THIS COMMAND RAN 1X
2018-08-18 17:39:57.109 - action completed

*** HERE I TOGGLED COMMAND ON/OFF, IIRC

2018-08-18 17:40:20.954 - Incoming push ...
2018-08-18 17:40:20.956 - <Title> Push2Run ROBSPC
2018-08-18 17:40:20.956 - <Body> volume up *** THIS COMMAND RAN 2X, IIRC
2018-08-18 17:40:21.648 - action completed

*** HERE I TOGGLED MASTER SWITCH ON/OFF, IIRC

2018-08-18 17:40:59.044 - Incoming push ...
2018-08-18 17:40:59.046 - <Title> Push2Run ROBSPC
2018-08-18 17:40:59.047 - <Body> volume up *** THIS COMMAND RAN 1X
2018-08-18 17:40:59.687 - action completed
Further info: I remember this command behaving strangely yesterday and the day before but didn't immediately realize it was repeating 2x because other commands were working normally. My computer went to sleep a few times during this so the issue persisted through all the sleeps. I don't think it's specifically related to sleep [as it doesn't always happen after sleep], but it does seem to happen after P2R has been running for several days. I don't restart my computer often so P2R is always running, executing 40-60 commands/day (did I mention it's awesome?). :)

Hope that helps!

Re: Action executed increasing numeber of times

Posted: Sun Aug 19, 2018 6:42 pm
by RobLatour
OK - I made a change to the beta which will hopefully help.

I haven't been able to recreate the problem myself so if you wouldn't mind trying it out and letting me know that would be great.

Also, the beta now allows you to set if the log is going to open up with Auto Scroll on or off. This is done via Action - Options - Session Log.

I will PM you the location of the beta.

Re: Action executed increasing numeber of times

Posted: Sun Aug 19, 2018 7:05 pm
by jony
Ok, I will install and let you know if it happens again. I usually encounter it within 4-7 days, so if you don't hear from me within the next couple of weeks, then it's because it hasn't happened again (and is hopefully fixed)!

P.S. I wish I could tell you how to reliably reproduce it, but without knowing the inner workings of the program, I can't even do so on my own machine. I will just use it as I normally do and watch for it.

Thanks again!

Re: Action executed increasing numeber of times

Posted: Tue Sep 04, 2018 6:37 am
by RobLatour
Just to close the loop on this, as discussed offline, the latest beta appears to have resolved your issue with some actions running twice after your computer returns from sleep. These changes, as well as those to make the auto-scroll setting sticky, have now been released in version 2.0.5 of the Push2Run. Thanks again!