Page 1 of 1

Problem with duplicate entry

Posted: Thu 28 Feb 2013 5:14 pm
by aznetcowboy
I keep getting an error message saying "2/28/2013 9:09:59 AM : Duplicate entry at line 52 of dayfile.txt: 20/02/13. Please correct this by editing the file". I don't see any duplicates except for some entries with zeros in them, all of which are correct. What is the duplicate entry that for the life of me I can't see? I have attached the file. Hopefully someone has better eyes than I do and can find the source of this error. I have been getting it for the past week, and I am now throwing my hands up because I just don't see any problem.
:bash:

Re: Problem with duplicate entry

Posted: Thu 28 Feb 2013 6:05 pm
by steve
By 'duplicate', it means that you have two entries for a single day, not that they are necessarily exactly the same:
2013-02-28 18_01_23-C__Users_steve_Downloads_dayfile (1).txt - Notepad++.png
So something went wrong on the 20th, causing two 'rollovers'. If you still have the diags files from then (it will depend on how many times you have restarted Cumulus since then) if you zip up the diags folder and attach it, I may be able to see what went wrong.

You need to remove one of those entries. It may not be easy to decide which one to keep.

Re: Problem with duplicate entry

Posted: Thu 28 Feb 2013 8:24 pm
by aznetcowboy
steve wrote:By 'duplicate', it means that you have two entries for a single day, not that they are necessarily exactly the same:

So something went wrong on the 20th, causing two 'rollovers'. If you still have the diags files from then (it will depend on how many times you have restarted Cumulus since then) if you zip up the diags folder and attach it, I may be able to see what went wrong.

You need to remove one of those entries. It may not be easy to decide which one to keep.
You are correct in that the diag file for that time frame is long gone. I just basically flipped and coin as to which line to delete. I'll have to live with what I have chosen. I think the one line looked better than the other, so that's the one I am using. I sure hope it is the better of the two and I think it is. :roll: