Page 1 of 1
NOAA Record failed update
Posted: Mon 25 Jul 2016 9:36 am
by Mapantz
Hi guys..
I have just noticed that my NOAA record failed to update just after midnight. It was uploaded as normal, but the 24th's data was never added. The time and date are all present and correct on the computer, so i'm a bit stumped!
I've uploaded the diag just in case there's anything to look at in there:
20160723-204229.txt
NOAAMO0716.txt
Re: NOAA Record failed update
Posted: Mon 25 Jul 2016 9:51 am
by steve
Did the file actually get updated on your PC - i.e. did the timestamp change to the 25th?
Re: NOAA Record failed update
Posted: Mon 25 Jul 2016 10:07 am
by Mapantz
steve wrote:Did the file actually get updated on your PC - i.e. did the timestamp change to the 25th?
Nope, no new line was added. The 23rd was the last date.
Re: NOAA Record failed update
Posted: Mon 25 Jul 2016 10:17 am
by steve
Just to be clear about this - I can see that the 24th is missing from the report, but they way it works is that it writes out a new copy of the report, it doesn't append a new line. So did the file timestamp change (to the 25th)? What I'm trying to establish is whether it saved a new version of the report, but for some reason didn't include the 24th in the report, or whether it simply didn't create a new version of the file at all (in which case the timestamp of the file in Windows will still be the 24th).
Re: NOAA Record failed update
Posted: Mon 25 Jul 2016 10:46 am
by Mapantz
steve wrote:Just to be clear about this - I can see that the 24th is missing from the report, but they way it works is that it writes out a new copy of the report, it doesn't append a new line. So did the file timestamp change (to the 25th)? What I'm trying to establish is whether it saved a new version of the report, but for some reason didn't include the 24th in the report, or whether it simply didn't create a new version of the file at all (in which case the timestamp of the file in Windows will still be the 24th).
Sorry about that, I got a bit confused. Yes, the file date shows 25/07/2016 00:00
Re: NOAA Record failed update
Posted: Mon 25 Jul 2016 10:59 am
by steve
I've had a look at the code, and I can't see any way that it could ignore the last line of dayfile.txt without logging an error. Did the entry for the 24th actually get written to dayfile.txt?
Re: NOAA Record failed update
Posted: Tue 26 Jul 2016 9:48 am
by Mapantz
Sorry for the late reply, it turned in to a rather busy day yesterday.
Good news! I don't know how, why, what, where or when, but it seems to have rectified itself. I just left it, I didn't restart CMX or anything, but it has put in both the 24th and 25th at the rollover time.
