Page 1 of 1

Error On Start Up - List Index Out Of Bounds

Posted: Wed 10 Aug 2011 9:03 am
by glen.day
Hey Steve,

Long time no talk, just thought I would report a error message that appears every time I open Cumulus. Any ideas why this is happening? I'm running version 1.9.2 build 1006.

10/08/2011 6:51:57 PM : Error on line 7335 of C:\Cumulus\data\Aug11log.txt: List index out of bounds (1)
10/08/2011 6:51:57 PM : Error reading C:\Cumulus\data\Aug11log.txt at line 7335: List index out of bounds (1)
10/08/2011 6:52:51 PM : Error on line 7335 of C:\Cumulus\data\Aug11log.txt: List index out of bounds (1)
10/08/2011 6:52:51 PM : Error on line 7335 of C:\Cumulus\data\Aug11log.txt: List index out of bounds (1)

I have added the Aug11log.txt to this message.

Glen

Re: Error On Start Up - List Index Out Of Bounds

Posted: Wed 10 Aug 2011 9:13 am
by glen.day
Oh that's weird, I found the issue. I wonder how that happened?

Line 7334:- 07/08/11,05:57,6.1,92,4.9,1.6,4.8,296,0.0,0.0,1014.63,271.0,17.2,51,0.0,6.1,6.1,0.0,0,-0.08,438.15,4.6,0,0.0,296
Line 7335:- Line 7336:-07/08/11,09:48,9.9,82,7.0,3.2,4.8,15,0.0,0.2,1014.84,271.2,18.4,49,3.2,9.9,9.9,0.9,172,0.03,438.25,8.6,317,0.0,355

Maybe I should just close Cumulus and delete line 7335, your thoughts?

Re: Error On Start Up - List Index Out Of Bounds

Posted: Wed 10 Aug 2011 9:57 am
by steve
Some sort of file corruption - you have a gap in your data at that point. Just delete all of those 'NUL' characters from the front of line 7335 (you may need to use a decent text editor like Notepad++ if you can't see them).

Re: Error On Start Up - List Index Out Of Bounds

Posted: Wed 10 Aug 2011 10:05 am
by glen.day
Thanks Steve,

Yeah I deleted the line using Notepad++ and everything seems ok now.