Unable to write file... and then it can
Posted: Sat 14 Dec 2013 9:11 pm
Here's an unusual thing:
I noticed the program had set all zeroes for yesterday's high/lows so I looked in the diags folder and found this:
14/12/2013 08:40:00.909 : Writing today.ini, LastUpdateTime = 14/12/2013 08:40:00 raindaystart = 751.200012207031 rain counter = 753
14/12/2013 08:50:00.828 : Writing today.ini, LastUpdateTime = 14/12/2013 08:50:00 raindaystart = 751.200012207031 rain counter = 753
14/12/2013 09:00:00.176 : === Day reset, today = 14
14/12/2013 09:00:00.176 : === Day reset for 13/12/2013
14/12/2013 09:00:00.176 : NOAA reports will be uploaded at next web update
14/12/2013 09:00:00.180 : Raintotal = 753 Raindaystart = 751.200012207031
14/12/2013 09:00:00.180 : Rainyesterday (calibrated) set to 1.79998779296875
14/12/2013 09:00:00.180 : RainDayThreshold = -1
14/12/2013 09:00:00.180 : rdt1000=200 ry1000=1800
14/12/2013 09:00:00.180 : Yesterday was a rain day
14/12/2013 09:00:00.180 : Consecutive rain days = 2
14/12/2013 09:00:00.180 : Raindaystart set to 753
14/12/2013 09:00:00.183 : StartofdayET set to 619.760009765625
14/12/2013 09:00:00.293 : Error writing today.ini: Unable to write to C:\Cumulus\data\today.ini
14/12/2013 09:00:00.294 : Write yesterday file: Date = 14/12/2013
14/12/2013 09:00:00.294 : Error writing yesterday.ini: Unable to write to C:\Cumulus\data\yesterday.ini
14/12/2013 09:00:00.294 : Creating NOAA monthly report for month 12 year 2013
14/12/2013 09:00:00.393 : Saving monthly report as C:\Cumulus\Reports\NOAAMO1213.txt
14/12/2013 09:00:00.397 : Creating NOAA yearly report for year 2013
14/12/2013 09:00:01.419 : Saving yearly report as C:\Cumulus\Reports\NOAAYR2013.txt
14/12/2013 09:00:01.449 : Creating backup folder C:\Cumulus\backup\daily\20131214090000\
14/12/2013 09:00:01.458 : === Day reset complete
14/12/2013 09:00:01.458 : Now recording data for day=14 month=12 year=2013
14/12/2013 09:00:01.559 : Writing today.ini, LastUpdateTime = 14/12/2013 09:00:01 raindaystart = 753 rain counter = 753
14/12/2013 09:00:02.721 : Uploading NOAA reports
14/12/2013 09:10:00.756 : Writing today.ini, LastUpdateTime = 14/12/2013 09:10:00 raindaystart = 753 rain counter = 753
14/12/2013 09:20:00.506 : Writing today.ini, LastUpdateTime = 14/12/2013 09:20:00 raindaystart = 753 rain counter = 753
14/12/2013 09:30:00.995 : Writing today.ini, LastUpdateTime = 14/12/2013 09:30:00 raindaystart = 753 rain counter = 753
14/12/2013 09:40:00.644 : Writing today.ini, LastUpdateTime = 14/12/2013 09:40:00 raindaystart = 753 rain counter = 753
There is is, busily writing to today.ini. Then comes the end of day (at 09:00) and it fails writing both today.ini and yesterday.ini, then a little later it happily writes today.ini.
I have checked disk for errors... none. I can't think why it should do that. Has anyone seen anything like this before? Or has anyone got any ideas?
I noticed the program had set all zeroes for yesterday's high/lows so I looked in the diags folder and found this:
14/12/2013 08:40:00.909 : Writing today.ini, LastUpdateTime = 14/12/2013 08:40:00 raindaystart = 751.200012207031 rain counter = 753
14/12/2013 08:50:00.828 : Writing today.ini, LastUpdateTime = 14/12/2013 08:50:00 raindaystart = 751.200012207031 rain counter = 753
14/12/2013 09:00:00.176 : === Day reset, today = 14
14/12/2013 09:00:00.176 : === Day reset for 13/12/2013
14/12/2013 09:00:00.176 : NOAA reports will be uploaded at next web update
14/12/2013 09:00:00.180 : Raintotal = 753 Raindaystart = 751.200012207031
14/12/2013 09:00:00.180 : Rainyesterday (calibrated) set to 1.79998779296875
14/12/2013 09:00:00.180 : RainDayThreshold = -1
14/12/2013 09:00:00.180 : rdt1000=200 ry1000=1800
14/12/2013 09:00:00.180 : Yesterday was a rain day
14/12/2013 09:00:00.180 : Consecutive rain days = 2
14/12/2013 09:00:00.180 : Raindaystart set to 753
14/12/2013 09:00:00.183 : StartofdayET set to 619.760009765625
14/12/2013 09:00:00.293 : Error writing today.ini: Unable to write to C:\Cumulus\data\today.ini
14/12/2013 09:00:00.294 : Write yesterday file: Date = 14/12/2013
14/12/2013 09:00:00.294 : Error writing yesterday.ini: Unable to write to C:\Cumulus\data\yesterday.ini
14/12/2013 09:00:00.294 : Creating NOAA monthly report for month 12 year 2013
14/12/2013 09:00:00.393 : Saving monthly report as C:\Cumulus\Reports\NOAAMO1213.txt
14/12/2013 09:00:00.397 : Creating NOAA yearly report for year 2013
14/12/2013 09:00:01.419 : Saving yearly report as C:\Cumulus\Reports\NOAAYR2013.txt
14/12/2013 09:00:01.449 : Creating backup folder C:\Cumulus\backup\daily\20131214090000\
14/12/2013 09:00:01.458 : === Day reset complete
14/12/2013 09:00:01.458 : Now recording data for day=14 month=12 year=2013
14/12/2013 09:00:01.559 : Writing today.ini, LastUpdateTime = 14/12/2013 09:00:01 raindaystart = 753 rain counter = 753
14/12/2013 09:00:02.721 : Uploading NOAA reports
14/12/2013 09:10:00.756 : Writing today.ini, LastUpdateTime = 14/12/2013 09:10:00 raindaystart = 753 rain counter = 753
14/12/2013 09:20:00.506 : Writing today.ini, LastUpdateTime = 14/12/2013 09:20:00 raindaystart = 753 rain counter = 753
14/12/2013 09:30:00.995 : Writing today.ini, LastUpdateTime = 14/12/2013 09:30:00 raindaystart = 753 rain counter = 753
14/12/2013 09:40:00.644 : Writing today.ini, LastUpdateTime = 14/12/2013 09:40:00 raindaystart = 753 rain counter = 753
There is is, busily writing to today.ini. Then comes the end of day (at 09:00) and it fails writing both today.ini and yesterday.ini, then a little later it happily writes today.ini.
I have checked disk for errors... none. I can't think why it should do that. Has anyone seen anything like this before? Or has anyone got any ideas?