Page 1 of 2

Errors when running "cumulusutils.exe"

Posted: Sun 08 Dec 2024 7:10 pm
by Juan Maria Vilaro
Hi Hans, what a pain... I just downloaded version 731, I proceeded as I more or less understood and when I run "cumulusutils" I see that it doesn't work very well, I'll send you the "utilslog" file and you'll see that it has many errors, this is undoubtedly my fault, when you can, tell me how to start, thanks

Re: Errors when running "cumulusutils.exe"

Posted: Sun 08 Dec 2024 9:16 pm
by HansR
Hi Juan, Your parameter DoUploadFTP is set to false (section [FTP]) and must be true for the files to upload.

EDIT: And btw there are no further errors in running CUtils, everything is fine.

Re: Errors when running "cumulusutils.exe"

Posted: Sun 08 Dec 2024 10:22 pm
by Juan Maria Vilaro
Well, I have already changed "True" in cumulusutils.ini I have executed the program, but does not recognize the new version 731, nor do the graphics appear, I attach another "log" generated after the last execution

Re: Errors when running "cumulusutils.exe"

Posted: Sun 08 Dec 2024 10:39 pm
by HansR
OK, I see you have it running OK and the files are uploading.

Now I have the following additional remarks from the logfile above:
  1. It says:

    Code: Select all

    2024-12-08 19:55:43.889 Error DayfileValue.SetValues fail: The input string '' was not in a correct format.
    2024-12-08 19:55:43.890 Error DayfileValue.SetValues: in field nr 23 (evapotranspiration)
    2024-12-08 19:55:43.890 Error DayfileValue.SetValues: line is: 16/04/24,18.5,161,17:36,10.1,23:31,13.8,16:21,1022.6,20:31,1026.3,00:26,0.5,21:42,0.0,11.6,55.3,7.4,17:36,65,16:36,92,10:46,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    2024-12-08 19:55:43.893 Error DayfileValue.SetValues: Field evapotranspiration is Empty
    2024-12-08 19:55:43.894 Error DayfileValue.SetValues : Continuing to read data
    
    You need to correct that line (and possibly other lines)
  2. While reading the monthly logs you get errors like:

    Code: Select all

    2024-12-08 19:56:03.815 Information ReadMonthlyLogs reading data/201404log.txt: DateTime is less than prev Date: 06/04/2014 20:35:00
    2024-12-08 19:56:03.819 Information ReadMonthlyLogs reading data/201404log.txt: DateTime is less than prev Date: 07/04/2014 7:45:00
    2024-12-08 19:56:03.883 Information ReadMonthlyLogs reading data/201404log.txt: DateTime is less than prev Date: 15/04/2014 10:10:00
    
    That means that e.g. 06/04/24 20:35 and following times slots is read two times, one at a later time. This usually happens when starting/stopping occurs the wrong way (newer versions of CMX do not have that so often) . With errors like that, the system runs fine but you get wrong statistics and double data on that day. For all those lines you may want to remove the double data (only one line per time is possible)
There do not seem to be other errors in the log so you system seems fine now.

For the future you may consider:
  1. To start using the user defined menu
  2. To start using the Charts compiler (using CutilsCharts.def) - the easy start is to copy CutilsCharts-default-for-use.def from the distribution to CutilsCharts.def in the utils directory and rerun CUtils for the website. That's it. The default is good enough for a start.

Re: Errors when running "cumulusutils.exe"

Posted: Sun 08 Dec 2024 10:41 pm
by HansR
Juan Maria Vilaro wrote: Sun 08 Dec 2024 10:22 pm Well, I have already changed "True" in cumulusutils.ini I have executed the program, but does not recognize the new version 731, nor do the graphics appear, I attach another "log" generated after the last execution
I'll check the log tomorrow but I see your website having 7.3.1 and everything seems fine. Only the charts do not update. I'll come back to that tomorrow.

EDIT: and could you post your latest log for the UserAskedData command?

EDIT: and please coud you add your URL to the map (parameter website in the section [maps]) and in th signature of the forum?

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 7:29 am
by HansR
Good morning Juan, regarding the update of the charts the following:
  1. You need to upgrade to version 7.3.2 beta 2; I found errors in the charts you use against the CMX version you use and they were corrected. Please run the full website command after updating.
  2. You need to check in CMX if you upload the alldailytempdata.json, alldailyraindata.json and alldailysolardata.json. You check that in

    Code: Select all

    Settings=>Internet Settings=>Interval Configuration=>Normal Interval Settings=>Daily Graph File Settings
  3. Also check the realtime charts please:

    Code: Select all

    Settings=>Internet Settings=>Interval Configuration=>Normal Interval Settings=>Graph File Settings
    Make sure the graphconfig.json, tempdata.json, pressdata.json, winddata.json, wdirdata.json, humdata.json, raindata.json and solardata.json are ticked.
  4. When corrections to the datafiles are made please force an upload through CMX : Utils=>Upload/Copy now! with the first two ticked.
When done, please post the logfile, notify me in this thread and I will check your site again.

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 10:13 am
by HansR
And I have a question: are you moving files manually?
If not what is your

I found cumulusutils.js in your webroot (https://badameteo.com/CumulusMX/FWI/cumulusutils.js, this is the newest version) and in the lib directory (where it should be) I find a very old file (https://badameteo.com/CumulusMX/FWI/lib/cumulusutils.js, this is an old version).

This is wrong and this is also a reason why your site is not working well. And I do not understand how this is possible.

When running website that library should automatically go into the lib directory but it does not.
I cannot explain that.

Could you give the FTP section of the cumulusutils.ini file?
Could you give me the Directory parameter from the FTP section in the Cumulus.ini file?

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 1:16 pm
by Juan Maria Vilaro
Hello Hans, thank you very much for your selfless collaboration. This morning cumulusutils was already at version 731. Then I saw your messages and proceeded first of all, following the advice, to repair all the LOGs that had dates wrongly ordered or duplicated, which took me more than 3 hours. Then I downloaded version 732 beta as you told me and installed it immediately. After that, I ran the program, which I am attaching "utilslog".
I am sure that the fact that you find something strange in the installation is due to my mistakes, since perhaps I am not doing the updates correctly.
I would like to find some place on the "wiki" where it is explained how to do the update correctly and how to locate the files in CumulusMX4 and in CumulusMx on the server, because I think I have it very wrong.

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 1:28 pm
by Juan Maria Vilaro
CumulusMX.ini : Directory=/www/CumulusMX/

Cumulusutils.ini:[FTP site]
DoUploadFTP=true
UploadDir=true

Saludos

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 2:31 pm
by HansR
Hi Juan,

We are getting there: the datafiles are almost clean (still something to do but not urgent) and we will now look at the installation. And yes... datafile correction and/or cleaning can be time consuming.

Apparently you upload CMX in /www/CumulusMX and if I understand you well you wish to upload CUtils in FWI.
I think that is too complex that is what we will discuss.

But If I understand the system you only have the CUtils website and no other websites (like e.g. the standard website or the Saratoga template website). II do see however an empty old website on your webroot : https://badameteo.com/

Question: Does that old website still have a meaning or may that one be deleted?

And then I see a working website of 7.3.2 beta 2 on https://badameteo.com/CumulusMX and a non-working website (the one I was looking at) in version 4.3.2 beta 2 on https://badameteo.com/CumulusMX/FWI. That is very confusing. We need to reduce that to just one path on the server, preferably the basic webroot.

Question: So which one do you want to use? Or would it be OK to just use https://badameteo.com/

If you want my advise and have no other websites: just upload to https://badameteo.com/ so you would configure:
  1. CumulusMX.ini : Directory=/www/
  2. Cumulusutils.ini : UploadDir= (so: leave it empty)
NOTE: don't edit Cumulus.ini manually but through the settings in CMX.

If you do not wish to configure the above, but want another directory, please propose the directory on the server and the configuration you wish to use.

If you have questions, please ask before you take the above action.
Otherwise, fill in the above, restart CMX and rerun CUtils.
Post the log and I will review the situation.

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 3:14 pm
by PaulMy
But If I understand the system you only have the CUtils website and no other websites
I think Juan has more pages and modification than I - https://www.badameteo.com/CumulusMX/index.htm

Enjoy,
Paul

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 3:17 pm
by HansR
PaulMy wrote: Mon 09 Dec 2024 3:14 pm
But If I understand the system you only have the CUtils website and no other websites
I think Juan has more pages and modification than I - https://www.badameteo.com/CumulusMX/index.htm
Ah thanks Paul, I had not discovered that one.
But it does not change my view because those two sites may be in the same directory (it actually makes life easier).

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 3:26 pm
by Juan Maria Vilaro
Hello Hans, thank you for your patience. First of all, I would like to tell you that I am a person who likes music and wants to play the piano, but I don't know music theory and I play by ear. By this I mean that there are some concepts that you who know a lot use that I don't quite understand and that's why I have to ask.
As you can see, I have my pages hosted on a paid server that works very well until today, "Hosting badameteo.com" so I have several templates hosted that I will detail below.
https://badameteo.com/CumulusMX/index.htm
https://badameteo.com/html/wswin-custom-x.html
https://badameteo.com/template/indexDesktop.php
https://www.badameteo.com/CumulusMX/FWI/
https://badameteo.com/saratoga/
https://badameteo.com/saratogaCU/
https://badameteo.com/ClimaDavis/
So what would happen with all this?

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 3:50 pm
by HansR
Juan Maria Vilaro wrote: Mon 09 Dec 2024 3:26 pm Hello Hans, thank you for your patience. First of all, I would like to tell you that I am a person who likes music and wants to play the piano, but I don't know music theory and I play by ear. By this I mean that there are some concepts that you who know a lot use that I don't quite understand and that's why I have to ask.
As you can see, I have my pages hosted on a paid server that works very well until today, "Hosting badameteo.com" so I have several templates hosted that I will detail below.
https://badameteo.com/CumulusMX/index.htm
https://badameteo.com/html/wswin-custom-x.html
https://badameteo.com/template/indexDesktop.php
https://www.badameteo.com/CumulusMX/FWI/
https://badameteo.com/saratoga/
https://badameteo.com/saratogaCU/
https://badameteo.com/ClimaDavis/
So what would happen with all this?
With respect to piano playing... that may result in great music so no problem. Asking is the way to improvement.

Having seen your list, I assume you have only one instance of CMX running?
All websites use the data from that single CMX instance?

Question: Is the above correct or do you have more CMX instances. And if so which one will you use for CUtils?
Question: if the above is correct, how are the datafiles distributed between all those sites?

When I have a complete picture I will advise on how to configure.

Re: Errors when running "cumulusutils.exe"

Posted: Mon 09 Dec 2024 4:13 pm
by Juan Maria Vilaro
From CMX they take the data, (Awekas), (Template (Meteotemplate)), (pswWD), (saratogaCU),

The other pages use Weather Display and Weatherlink

I don't know if I explained myself correctly