Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

List index out of bounds

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
dennisl
Posts: 3
Joined: Fri 15 Mar 2013 10:18 am
Weather Station: Fine Offset
Operating System: Windows 7
Location: United Kingdom

List index out of bounds

Post by dennisl »

System been running great but today I got an error message saying:

Error on line 3704 of C:\Cumulus\data\Apr13log.txt: List index out of bounds (1)

On checking line 3704 in that file I cannot see anything obviously wrong.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: List index out of bounds

Post by steve »

If you're using notepad, the problem may not be obvious. A better editor like notepad++ will usually show the problem clearly. That particular error usually indicates a blank line in the file. If you attach the file here I'll take a look.
Steve
dennisl
Posts: 3
Joined: Fri 15 Mar 2013 10:18 am
Weather Station: Fine Offset
Operating System: Windows 7
Location: United Kingdom

Re: List index out of bounds

Post by dennisl »

Thanks - I viewed the file in a spreadsheet. File enclosed.
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: List index out of bounds

Post by steve »

dennisl wrote:I viewed the file in a spreadsheet
Yes, that's likely to mask any problems. Here's what it looks like in notepad++
2013-04-27 11_34_43-C__Users_steve_Downloads_Apr13log.txt - Notepad++.png
You need to delete those 'NUL' characters. Sometimes the system seems to write those instead of the real data.

Notepad does show the problem, and the NULs appear as spaces, so you could use notepad to correct it. Best to do it with Cumulus stopped.
You do not have the required permissions to view the files attached to this post.
Steve
dennisl
Posts: 3
Joined: Fri 15 Mar 2013 10:18 am
Weather Station: Fine Offset
Operating System: Windows 7
Location: United Kingdom

Re: List index out of bounds

Post by dennisl »

Thanks Steve. That sorted it.
User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: List index out of bounds

Post by gluepack »

Ok, first time for this.

Unfortunately, I didn't read my emails since Toolbox started emailing me every hour from 19:04+ on the 5th to tell me the red light was flashing.

When I logged on, just before 09:00 today, I found that the last timestamp on Toolbox was 04:04+. I was still receiving emails every hour so that was a bit confusing, unless of course there is some threshold that stops Toolbox logging it.

Anyway, I deleted the offending blank line. Or I thought I did because when I looked at the file again there were two sets of data on one line separated by a large gap. Strange because I would usually marquee select from the start of the blank line to the start of the next good line. Having removed that (replaced with CR) it looks fine. Whether I didn't actually delete the full blank line or whether there were extraneous blanks at the end of the previous good line, I don't know.

Out of interest, I think we had a power blip around the time that the blanks were generated. The system stayed up as my UPS did its job (unlike on many other occasions) but perhaps it had some effect that caused them to be generated.
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
Post Reply