Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.14.1 (build 3160) - 21 December 2021

Legacy Cumulus 1 release v1.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 interested in supporting Cumulus then maybe you would like to contribute to the maintenance of the Wiki? This need not take hours of your time - just a half hour here and there can make a big difference, particularly if many people are doing this. Any contributions are very welcome, whether they involve new content or editing of existing content. It will be very helpful to current and future users of Cumulus software if the Wiki is kept well-maintained and current. If you are interested then please contact forum user saratogaWX and ask for a Wiki account.

Beginner errors

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
HansR
Posts: 2836
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Beginner errors

Post by HansR »

@Linda:

OK, got your data and looked at it.

Although the exact (moment of) failure is not clear, I am convinced it is the shear amount of errors (every line produces the same error for which you said to continue) in the Jan20 and Jan21 (and maybe others) which causes the whole thing to stop working. I think it is a confusion in the runtime try/catch circuit of exception handling, not a software error in itself.

There are the following options:
  1. Correct the errors: the errors produced are the from the solar radiation which apparently you have as a double (0.0) and which should be an integer (0);
  2. OR Disable the charts which use the monthly logfiles i.e set the following inifile parameters to false:
    • Windrun=true
    • WindRose=false
    • SolarHours=false
    • SolarHoursYearMonth=false
    • SolarEnergy=false
    • SolarEnergyYearMonth=false
The data need to be corrected at some point anyway. This should at least give you the basic website and give you a view of the data you have in YADR. I think ;)
From there you can continue to improve data and site. If you encounter other errors let me know.

EDIT: minor modification and clarification; Windrun does not require the monthly logs. The other charts mentioned above do.
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4/index.html
Cumulus build 3160 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.10.63-v7+ ● Mono 6.12.0.122

LindaFNM
Posts: 61
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Beginner errors

Post by LindaFNM »

Hans,

Thank you! I now have an Index page, it doesn’t have anything in it yet but I’ll work on that.

I corrected the errors as I thought it was silly to carry on, and disabled the settings you suggested. It’s running well and I have a complete .ini file which I didn’t have before, but seems to exit now because I’m not loading maps. If the site is only locally on my Pi, do I need these? The way I read your instructions on the New Users post, you can turn the maps off which I thought I’d done?

Thank you very much for your patience.

User avatar
HansR
Posts: 2836
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Beginner errors

Post by HansR »

Hi Linda,
LindaFNM wrote:
Fri 14 Jan 2022 8:20 pm
Thank you! I now have an Index page, it doesn’t have anything in it yet but I’ll work on that.
OK. Let me know if any problems (as I can't see where it's going).
LindaFNM wrote:
Fri 14 Jan 2022 8:20 pm
I corrected the errors as I thought it was silly to carry on, and disabled the settings you suggested.
OK. Remember it was a 1) OR 2) optional. So if you fixed the logs, you might enable the settings again (and maybe find other issues in the logs). But it's OK to continue.
LindaFNM wrote:
Fri 14 Jan 2022 8:20 pm
It’s running well and I have a complete .ini file which I didn’t have before, but seems to exit now because I’m not loading maps. If the site is only locally on my Pi, do I need these? The way I read your instructions on the New Users post, you can turn the maps off which I thought I’d done?
Yes, the map is optional. That will disappear in future i.e. all who use Cutils will be on the map but the URL will then be optional. So currently you can set Participant=false in the section [maps] and leave the URL blank. In future participant will be redundant and without effect.

Let me know how you get on (as I can't see where it's going)
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4/index.html
Cumulus build 3160 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.10.63-v7+ ● Mono 6.12.0.122

LindaFNM
Posts: 61
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Beginner errors

Post by LindaFNM »

sorry, this seems to be my main issue now? The Index is showing the Lat/Long on the front


022-01-15 08:56:45.184 Generating CUlib DecSep: |.|, TimeSep: |:| and DateSep: |/| for language EN
2022-01-15 08:56:45.213 Generating Website: Generating cumuluscharts.txt (only emergency fall back for the Compiler when syntax errors)
2022-01-15 08:56:45.235 utils/CutilsCharts.def does not exist so: Generating standard cumuluscharts.txt
2022-01-15 08:56:45.288 MapsOn: Start
2022-01-15 08:56:45.292 Maps->MapsOn: Name, Website, Latitude and Longitude are compulsory so exit here!!
2022-01-15 08:56:45.292 See forum Post 'For New Users' (viewtopic.php?f=44&t=18226).
2022-01-15 08:56:45.344 Ini Flush cache modif:True, cumulusutils.ini
2022-01-15 08:56:45.362 Ini Flush cache modif:False, CUstringsEN.ini

Thank you

User avatar
HansR
Posts: 2836
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Beginner errors

Post by HansR »

Ah.... true. My bad: for the website there is no choice (one of the reasons I will change this optional thing is that it became incomprehensible ;) )

Name, Description, Latitude and longitude are (required) parameters in CumuluxMX. CumulusUtils takes those from the Cumulus.ini file.
Only the website URL comes from cumulusutils.ini. If you have none, just fill in: http://blabla/.

Note, I just realised that if you do not have a website, likely you don't use FTP either and copy (manually?) your files to where you want them. That is possible but because CUtils is data driven, it requires the CMX JSON files (and realtime.txt/realtimegauges.txt). If you do not use FTP you will have to copy those from CMX.

NOTE: having said the above you will have to find a solution for the Cutils created JSON files (which come from UserAskedData, required for the ChartsCompiler, ExtraSensors and AirLink). But get it up and running default first.
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4/index.html
Cumulus build 3160 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.10.63-v7+ ● Mono 6.12.0.122

User avatar
HansR
Posts: 2836
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Beginner errors

Post by HansR »

Linda, because of your finds I edited the post For New Users to avoid the confusion about the map. Hope it is clear now. Thanks.

(btw: the Wiki is quite clear about this)
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4/index.html
Cumulus build 3160 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.10.63-v7+ ● Mono 6.12.0.122

freddie
Posts: 1600
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 20.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Beginner errors

Post by freddie »

HansR wrote:
Sat 15 Jan 2022 10:48 am
If you have none, just fill in: http://blabla/.
True Greta Thunberg stylee :lol:
Freddie
Image

LindaFNM
Posts: 61
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Beginner errors

Post by LindaFNM »

Hans,

Thank you, I’ll try again later. I’ll just use my ‘internal’ website address, rather than blabla :lol:

I was going to copy the files, but wondering if FTP would eventually be easier……. Probably I’d better learn to walk before I attempt to run. I’ll leave the the joys of internal FTP for a little while :D

Linda

User avatar
HansR
Posts: 2836
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Beginner errors

Post by HansR »

freddie wrote:
Sat 15 Jan 2022 12:47 pm
True Greta Thunberg stylee :lol:|
:lol:
LindaFNM wrote:
Sat 15 Jan 2022 1:12 pm
I was going to copy the files, but wondering if FTP would eventually be easier……. Probably I’d better learn to walk before I attempt to run. I’ll leave the the joys of internal FTP for a little while :D
I think it would be easier especially with the data in mind. Be aware that Andy and Roger and maybe some others did use internal FTP on an RPi if I am not mistaken so they might be of help. For me this is uncharted territory.
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4/index.html
Cumulus build 3160 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.10.63-v7+ ● Mono 6.12.0.122

LindaFNM
Posts: 61
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Beginner errors

Post by LindaFNM »

Progress - of sorts!!!

I had an SSL error which I managed to solve from your instructions a couple of posts below mine ;)
Now I have:

2022-01-15 17:59:30.865 GeneratePanelCode: generating UVGauge
2022-01-15 17:59:30.897 Generating Website: Generating cumulusutils.js
2022-01-15 17:59:30.953 Generating CUlib start.
2022-01-15 17:59:30.953 Generating CUlib DecSep: |.|, TimeSep: |:| and DateSep: |/| for language EN
2022-01-15 17:59:30.959 Information cumulusutils.js generation: Checking gauges parameters
2022-01-15 17:59:30.983 Generating Website: Generating cumuluscharts.txt (only emergency fall back for the Compiler when syntax errors)
2022-01-15 17:59:31.007 utils/CutilsCharts.def does not exist so: Generating standard cumuluscharts.txt
2022-01-15 17:59:31.040 Error CheckPackageAndCopy: Upload of utils/index.html to index.html failed.
2022-01-15 17:59:31.040 Information Timing of Website generation = 284 ms
2022-01-15 17:59:31.052 MapsOn: Start
2022-01-15 17:59:31.055 Information MapsOn: Adding Station: Ecowitt
2022-01-15 17:59:31.155 Information MapsOn: Must NOT send signature, has been done already : 15/01/22
2022-01-15 17:59:31.156 Information Fetch Map: Fetching the generated map
2022-01-15 17:59:31.156 GetUrlData Start: URL - https://meteo-wagenborgen.nl/maps.txt
2022-01-15 17:59:31.156 Information GetUrlData Calling GetAsync
2022-01-15 17:59:31.658 Information Main: <style>
.cuMapCircle {cursor: grab;}
#CumulusUtils
2022-01-15 17:59:31.662 Information Timing of Map generation = 621 ms
2022-01-15 17:59:31.663 Information Uploading = pwsFWI.txt
2022-01-15 17:59:31.663 Information Uploading = pwsFWIcurrent.txt
2022-01-15 17:59:31.663 Information Thrifty: DoTop10 && (!Thrifty || ThriftyTop10RecordsDirty ) - True | Uploading = top10Table.txt
2022-01-15 17:59:31.663 Information Thrifty: !Thrifty || ThriftyRainGraphsDirty - True => Uploading = graphsrain.txt
2022-01-15 17:59:31.663 Information Thrifty: !Thrifty || ThriftyTempGraphsDirty - True => Uploading = graphstemp.txt
2022-01-15 17:59:31.663 Information Thrifty: !Thrifty || ThriftyMiscGraphsDirty - True => Uploading = graphsmisc.txt
2022-01-15 17:59:31.663 Information Uploading = maps.txt
2022-01-15 17:59:31.663 Information Thrifty: DoRecords && (!Thrifty || ThriftyRecordsDirty) - True => Uploading = records.txt
2022-01-15 17:59:31.663 Information Thrifty: DoNOAA && (!Thrifty || RunStarted.Day == 2) - True => Uploading = noaa.txt
2022-01-15 17:59:31.663 Information Thrifty: DoDayRecords && (!Thrifty || ThriftyDayRecordsDirty) - True => Uploading = dayrecords.txt
2022-01-15 17:59:31.665 Information Thrifty: False - YADR - Complete upload
2022-01-15 17:59:31.666 Information Overall Timing all Modules = 83075 ms
2022-01-15 17:59:31.667 All done, Entering the finally section...; Closing down.
2022-01-15 17:59:31.667 Disposing Isup...
2022-01-15 17:59:31.675 Disposing Sup...
2022-01-15 17:59:31.682 Ini Flush cache modif:True, cumulusutils.ini
2022-01-15 17:59:31.693 Ini Flush cache modif:False, CUstringsEN.ini
2022-01-15 17:59:31.699 Ready...

Is the marked line significant please? Thank you

User avatar
HansR
Posts: 2836
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Beginner errors

Post by HansR »

Linda,
LindaFNM wrote:
Sat 15 Jan 2022 6:19 pm
Progress - of sorts!!!
indeed ;)
LindaFNM wrote:
Sat 15 Jan 2022 6:19 pm
2022-01-15 17:59:31.040 Error CheckPackageAndCopy: Upload of utils/index.html to index.html failed.
[...]
Is the marked line significant please? Thank you
Yes, it is significant i.e. the index.html is not copied ( :o ) .

The strange thing is that the file is not uploaded while all successive files seem to upload OK.
  1. Did this happen a second time as well or did you not try?
  2. What FTP protocol are you using?
  3. If it is FTP or FTPS, could you activate FTP logging (FtpLog=on in section [FTP site]) and send me the corresponding logfile if it happens again?
  4. If it happens again,can you send me also the full regular logfile?
FTP log files appear in the utilslog directory and have a name like yyMMddHHmmFTPlog.txt

Thanks,
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4/index.html
Cumulus build 3160 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.10.63-v7+ ● Mono 6.12.0.122

LindaFNM
Posts: 61
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Beginner errors

Post by LindaFNM »

Hans,

Thanks for looking. This could well be my problem then as I’m not using any FTP………!! I’m well into totally uncharted territory.

I’ll have another look tomorrow, my poor aged brain can’t cope with too much in one go :lol: I’ve also been trying to correct the data from my broken WS80 since the new one is up and running. I bet at times you wish you’d never started this :roll:

Linda

User avatar
HansR
Posts: 2836
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Beginner errors

Post by HansR »

LindaFNM wrote:
Sat 15 Jan 2022 8:20 pm
I bet at times you wish you’d never started this :roll:
Haha... I thought I created a tool and it appears as a maze. I like to see it converge ;)
Anyway, if you choose not to use FTP the maze just got slightly larger.
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4/index.html
Cumulus build 3160 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.10.63-v7+ ● Mono 6.12.0.122

LindaFNM
Posts: 61
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Beginner errors

Post by LindaFNM »

ee attachment!!!!! The header is there, it just doesn’t all fit on my iPad screen :D :D :D NOAA reports aren’t working, but who cares, the rest is.

Now the embarrassing bit, my lib and css folders remained stubbornly empty and I couldn’t fathom out how to populate them. Luckily there is another post on this forum where you list the files to copy. Not sure how possible this is, but could these be put into the ‘correct’ folders in the zip download please? Then it would be obvious/simple to copy these already filled to the website. Sorry, but when you’re a real beginner, you just want a list to follow to start with, especially if manually copying :lol:

I now have something to work on, I am truly grateful for your help and patience. I appreciate the amount of time that those on these forums freely give. Thank you.
You do not have the required permissions to view the files attached to this post.

User avatar
HansR
Posts: 2836
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Beginner errors

Post by HansR »

LindaFNM wrote:
Mon 17 Jan 2022 9:15 am
ee attachment!!!!! The header is there, it just doesn’t all fit on my iPad screen :D :D :D NOAA reports aren’t working, but who cares, the rest is.
:clap: :clap:
And for the NOAA reports: make sure that your CMX settings for the reports match Cutils' settings. But you may have to copy those manually as well as normally this is FTP'ed.
LindaFNM wrote:
Mon 17 Jan 2022 9:15 am
Now the embarrassing bit, my lib and css folders remained stubbornly empty and I couldn’t fathom out how to populate them. Luckily there is another post on this forum where you list the files to copy. Not sure how possible this is, but could these be put into the ‘correct’ folders in the zip download please? Then it would be obvious/simple to copy these already filled to the website. Sorry, but when you’re a real beginner, you just want a list to follow to start with, especially if manually copying :lol:
Normally the directories are automatically filled when FTP-ing at every run together with all generated files (cumulusutils.js, HighchartsLanguage.js and HighchartsDefaults.js) These are generated so can't be copied at install. But I will put the list in the Wiki in the install section, I will not change the install but I will automate it a bit more and inform better (you sound slightly irritated ;) )

The problem is you do not use FTP, for a web based system that is problematic. You could install FTP and Apache on the RPi and let it behave as a true server (locally). Afaik that is how it has been done by others.
LindaFNM wrote:
Mon 17 Jan 2022 9:15 am
I now have something to work on, I am truly grateful for your help and patience. I appreciate the amount of time that those on these forums freely give. Thank you.
You're welcome, any more questions, let me know.
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4/index.html
Cumulus build 3160 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.10.63-v7+ ● Mono 6.12.0.122

Post Reply