WeatherCat > WeatherCat General Discussion

Troubles with WC3

(1/4) > >>

xairbusdriver:
Tracking down why WC3 keeps quitting, I find the "Status" window "Custom Web:" value confusing. It either shows ""Waiting For Weather Sync." or "Idle". The "Last Run:" value always shows "N/A". However, my web page seems to be updating as usual, most pages every 2 minutes. Station Comms indicate 100.00%, no errors. "Webcam: Running (89 frames)" What is the time frame for that? I'm requesting an image capture every 2 minutes, is "89" the number of 'frames' captured since WC was restarted?

I get don't see any change in the "Status" window, even if I use the Tools->Update Weather Now.

WC is quitting intermittently. Earlier today I got the following emails:
--- Quote ---WeatherCat watchdog: WeatherCat appears to have hung; rebooting as a precautionary measure.
WeatherCat TimeStamp: 11:13:59 07-Apr-18
----------
WeatherCat: Wunderground driver appears to have hung. Restarting it. Result to follow...
WeatherCat TimeStamp: 12:44:40 07-Apr-18
----------
WeatherCat: Custom alerts thread appears to have hung. Restarting it. Result to follow...
WeatherCat TimeStamp: 12:44:42 07-Apr-18
----------
WeatherCat: Wunderground driver running again.
WeatherCat TimeStamp: 12:45:11 07-Apr-18
----------
WeatherCat: Custom alerts running again.
WeatherCat TimeStamp: 12:45:12 07-Apr-18
--- End quote ---
Console log just before those messages:
--- Quote ---2018/04/07 10:54:05:951  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 10:54:06:042  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 11:01:10:915  Deleting old historical images
2018/04/07 11:01:10:929  Creating daily movie
2018/04/07 11:01:14:375  DEBUG: Create daily movie - File webcam_11_06_27.jpg not now day
2018/04/07 11:01:14:416  Finished writing daily timelapse movie...checking completion status...
2018/04/07 11:01:14:416  Video writing succeeded.
2018/04/07 11:01:14:416  Video writing done
2018/04/07 11:01:14:538  Creating hourly timelapse movie...
2018/04/07 11:01:15:053  Finished writing hourly timelapse movie...checking completion status...
2018/04/07 11:01:15:053  Video writing succeeded.
2018/04/07 11:01:15:053  Video writing done
2018/04/07 11:05:58:045  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 11:05:58:136  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 11:13:59:054  WeatherCat: watchdog - WeatherCat appears to have hung, trying to send admin email.
2018/04/07 11:14:01:106  WeatherCat: watchdog - sent admin email. Terminating WeatherCat.
2018/04/07 11:14:01:106  WeatherCat: *****watchdog - rebooting WeatherCat, it appears to have hung*****
2018/04/07 11:14:17:028 

Saving log to disk at /Users/jameschaffin/Library/Logs/WeatherCat
2018/04/07 11:14:17:028
--- End quote ---
I see entries for several days from "WCKicker":
--- Quote ---2018-04-02 19:20:44,681 - WCKicker - INFO ---------------------------
2018-04-02 19:20:44,681 - WCKicker - INFO -WeatherCat kicker launched
2018-04-02 21:27:24,266 - WCKicker - INFO ---------------------------
2018-04-02 21:27:24,275 - WCKicker - INFO -WeatherCat kicker launched
2018-04-02 22:12:26,869 - WCKicker - INFO -reboot_weathercat - rebooting program WeatherCat on Tue, 03 Apr 2018 03:12:26 +0000
2018-04-02 22:59:07,101 - WCKicker - INFO ---------------------------
2018-04-02 22:59:07,101 - WCKicker - INFO -WeatherCat kicker launched
2018-04-03 14:51:11,397 - WCKicker - INFO ---------------------------
2018-04-03 14:51:11,407 - WCKicker - INFO -WeatherCat kicker launched
2018-04-03 14:53:29,309 - WCKicker - INFO ---------------------------
2018-04-03 14:53:29,309 - WCKicker - INFO -WeatherCat kicker launched
2018-04-03 15:26:33,164 - WCKicker - INFO ---------------------------
2018-04-03 15:26:33,164 - WCKicker - INFO -WeatherCat kicker launched
2018-04-06 11:53:56,235 - WCKicker - INFO ---------------------------
2018-04-06 11:53:56,245 - WCKicker - INFO -WeatherCat kicker launched
2018-04-06 11:55:53,575 - WCKicker - INFO ---------------------------
2018-04-06 11:55:53,575 - WCKicker - INFO -WeatherCat kicker launched
2018-04-06 20:56:00,999 - WCKicker - INFO -reboot_weathercat - rebooting program WeatherCat on Sat, 07 Apr 2018 01:56:00 +0000
2018-04-06 21:43:57,260 - WCKicker - INFO ---------------------------
2018-04-06 21:43:57,261 - WCKicker - INFO -WeatherCat kicker launched
2018-04-07 11:14:16,769 - WCKicker - INFO -reboot_weathercat - rebooting program WeatherCat on Sat, 07 Apr 2018 16:14:16 +0000
2018-04-07 12:43:04,720 - WCKicker - INFO ---------------------------
2018-04-07 12:43:04,722 - WCKicker - INFO -WeatherCat kicker launched
--- End quote ---
I am assuming that each manual Quit/Run cycle also generates one of these entries which would account for most of the ones on 4-2,3 & 6 (did not work on the app on 4-4 or 4-5)

Any other info I can grab/supply?
WC3 running on Mac mini (late 2017), OS 10.13.4, also running Amphetamine, have Prevent App Nap checked (app's Info), UN-checked Enable Power Nap(System Prefs).

xairbusdriver:
To The Dev: Video uploading question
Do I need to place a file with the new webcam tags in the Additional Files list with a timing of anything other than "60.0" minutes? Does it really need to run more than once after WC starts?
EDITED 4/8/18 7:58pm CST It would seem logical (to me, anyway) that once WC 'sees' the tags, it would set a variable (bool?) that would cause it to ftp the video(s) as needed until it quits or crashes(!). Dear boy, the only way WC "sees" those tags is when it parses the files in the "Set HTML Source path or in the Additional Files list. [rolleyes2] As for having the file that requests uploading the video, once an hour should suffice, probably as soon after the new hour as possible, but after enough time to allow the 'WC1hrMovie' to finish uploading? I'm going to add that file to the Additional Files list at about 5 past the next hour hoping that it will run at approximately every hour + 5 minutes.

BTW, thanks, again, for using the newer format! And I think the day-long vid will be great, as long as my camera keeps working... [banghead]

elagache:
Dear X-Air and WeatherCat troubleshooters,


--- Quote from: xairbusdriver on April 07, 2018, 09:53:15 PM ---Tracking down why WC3 keeps quitting, I find the "Status" window "Custom Web:" value confusing.
. . . . .

--- End quote ---

I have no idea what is happening to you.  It is extremely strange that you are getting any errors from the Stats Manager.  I've forgotten, which webcam camera are you using?

To help Stu figure out what is going on, turn off the watchdog process temporarily and allow WeatherCat to get into this hung state.  Then get a sample of the process using these instructions:

http://athena.trixology.com/index.php?topic=1775.0

Email the sample to Trixology technical support:

https://trixology.com/contact-us/

Unfortunately, Stu's day job is being particularly taxing at the moment, so he might be a bit slow to get back you.  However, Stu should be able to figure out exactly what is going on from the sample of the WeatherCat process.

Sorry, very strange . . . .

Cheers, Edouard

xairbusdriver:
WILL COmply.

I left the house for a couple of hours and found it 'dead' again. As s0on as I open File Sharing WC starts downloading the Historical Data. I may be seeing the mini refusing to run without a full-time monitor. I had a chip/dongle that was plugged into the old one that 'tricked' the computer into thinking there was a monitor attached. I am using the same dongle on the new one, but the newer OS may be smarter than I am! I'll do some searching to see if I can find any info on that. [rolleyes2] Frankly, that makes more sense that blaming WC. [banghead]
Later: My dongle (fit Headless) actually shows up in the System Prefs/Display as the attached monitor. As far as I can tell, it's not much more than a ~75ohm resister.

Once again, the errors are "Error in StatsManager:findTotalInDateRange - hit default". It seems to occur twice, within micro seconds, but with several minutes between attempts:
--- Quote ---2018/04/07 17:04:39:287  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:04:39:381  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:16:31:328  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:16:31:420  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:28:23:380  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:28:23:472  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:40:15:484  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:40:15:575  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:52:08:131  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:52:08:223  Error in StatsManager:findTotalInDateRange - hit default
2018/04/07 17:58:05:343  WeatherCat: watchdog - WeatherCat appears to have hung, trying to send admin email.
2018/04/07 17:58:07:975  WeatherCat: watchdog - sent admin email. Terminating WeatherCat.
2018/04/07 17:58:24:764 

Saving log to disk at /Users/jameschaffin/Library/Logs/WeatherCat
2018/04/07 17:58:24:764 

----------LAUNCH------------

2018/04/07 18:28:49:907  WeatherCat V3.00  Build 2224. 19:53:40 Mar 15 2018 loading...
2018/04/07 18:28:49:909  ***Good afternoon and welcome to WeatherCat!***
2018/04/07 18:28:49:922  Launching WeatherCat kicker

--- End quote ---
I'll surmise that ----------LAUNCH------------ occurred when I first enabled File Sharing.

xairbusdriver:
1. OK, I've looked through every WC Pref page at least twice, even the ones that don't pertain to anything I need; no sign of "Watchdog".
2. I've found 5 or 6 posts asking/saying folks have ENabled or DISabled Watchdog, but none with instructions for a simpleton to actually do either.
3. Found no hits for "watch", "watchdog" nor "dog" with the Search function here.
4. Also found no entry in The Manual searching for the same terms.
5. I even found some hits on the web but they only referred to posts I'd already looked at here. [rolleyes2]

I know I saw and enabled that function when setting up WC3. [banghead] Was it in the "Configure Station Comms..." where we are warned that doing that again will cause golf ball sized hail, if not brimstones to fall upon thee?

I'll just find some old tin roofing and give that a try... back soon, I hope! [rolleyes2] Nope, not there, either.

The absolute only place I can find the word "Watchdog" is in the Status window, which doesn't have any user capable controls/buttons/text fields that I can see.

Does anyone have access to the secret page that has a link to the secure site that holds a clue as to where the probably huge, brightly colored and lonely "Watchdog" switch is?!!! [rolleyes2] [banghead] :o

Navigation

[0] Message Index

[#] Next page

Go to full version