Page 1 of 1

Dayfile.txt errors

Posted: Mon 25 Jan 2016 5:43 pm
by Herefordian
Hello, I inadvertently removed two lines of data from a Dayfile.txt for a specific date (Lines 176 and 178) after receiving an error message I didn't understand. I then stupidly clicked missing error button. Now two blank lines appear at 1 and 2 and the attachment shows further error messages. I have lost all my current months Rainfall and the year to date rainfall on the display.display. Can you help me? :groan:

Re: Dayfile.txt errors

Posted: Mon 25 Jan 2016 6:05 pm
by water01
Close Cumulus. Go to C:\Cumulus\ or wherever you installed Cumulus.

Look in the directory called Backups and within that the directory called Daily.

In the Daily folder open the backup that is for the day before you caused the error and open it e.g 20160123000000.

Copy all 8 files from that directory to C:\Cumulus\Data and overwrite your existing files in the Data directory.

Restart Cumulus and it will start from a point before the error and load data from your logger until the latest log item and all should be back to normal again.

Re: Dayfile.txt errors

Posted: Mon 25 Jan 2016 6:25 pm
by steve
Good suggestion from David, but unfortunately 'rewinding' using the backup files like that won't work with an Instromet station.

But you may still be able to use just dayfile.txt from the most recent backup, and have another go at correcting the errors. Or you could stop Cumulus and open the current dayfile.txt in notepad++, where the problem with the first two lines should be obvious - if not, attach dayfile.txt here and someone will be able to show you what to do.

Re: Dayfile.txt errors

Posted: Tue 26 Jan 2016 10:18 am
by Herefordian
Thanks for the help. Will be back!

Re: Dayfile.txt errors

Posted: Wed 27 Jan 2016 5:52 pm
by Herefordian
APC - 2016.01.27 16.17 - 001.3d.jpg
Sorry but I am non-plussed. Please see attachment.

Re: Dayfile.txt errors

Posted: Wed 27 Jan 2016 5:59 pm
by steve
But what about doing what I suggested?
stop Cumulus and open the current dayfile.txt in notepad++, where the problem with the first two lines should be obvious - if not, attach dayfile.txt here and someone will be able to show you what to do.

Re: Dayfile.txt errors

Posted: Thu 28 Jan 2016 4:18 pm
by Herefordian
Steve, Because when I get there I do not know what to do :oops:

Re: Dayfile.txt errors

Posted: Thu 28 Jan 2016 5:41 pm
by water01
if not, attach dayfile.txt here and someone will be able to show you what to do.
Why not do this and we might be able to help.

Re: Dayfile.txt errors

Posted: Fri 29 Jan 2016 12:45 pm
by Herefordian
Thankyou everyone. Finally got it right. In the process learned one or two other things that have puzzled me for some time! :D