Page 6 of 26

Re: For New Users

Posted: Mon 09 Nov 2020 12:42 pm
by HansR
OK.

Set UploadDir (Section [FTP site]) to the CMX directory (full path from the FTP root, assume you have that already) and set CumulusRealTimeLocation=../CumulusMX
CumulusUtils uses plain old FTP , I assume that is working fine on free.fr

Then run CumulusUtils and it should work.

NOTE: It currently tries to find

Code: Select all

http://stef942.free.fr/CMX/stef942@ftpperso.free.fr/CumulusMXrealtimegauges.txt
which you can see by pressing F12 (console). So I don't know where you put that emailaddress, but just remove stef942 @ ftpperso.free.fr/CumulusMX and you should be OK.

Re: For New Users

Posted: Mon 09 Nov 2020 12:46 pm
by stef942
IT WOOOOOORRRRKKKKS lol :mrgreen: :mrgreen: :bash:

corect entry is :

Code: Select all

CumulusRealTimeLocation=../CumulusMX/
thanks a lot for your efforts both of you :clap: :clap:

Re: For New Users

Posted: Mon 09 Nov 2020 1:34 pm
by HansR
:groan: :D :clap: :clap:

Now please set your signature link to that site as well as the link of the map.
Start fine tuning cumulusutils.ini to your wishes.
Have fun and enjoy the site. :!: 8-)

Re: For New Users

Posted: Mon 09 Nov 2020 2:08 pm
by rogerthn
Félicitations ;)
@Hans, any idea why Processor Temperature is empty on the http://stef942.free.fr/CMX/ System Info?
PS
From http://stef942.free.fr/CMX/systeminfoTable.txt
Processor Temperature: °C

Re: For New Users

Posted: Mon 09 Nov 2020 2:27 pm
by HansR
@rogerthn:
1) I assume he ran cutils while cumulusmx was not running (or starting) as the runtime of cmx is 0. Because he has not yet configured repeated runs for the sysinfo, it will probably be not so informative until he does ;)
2) when that is displayed in a page under UTF8 definition it will look better :)

Re: For New Users

Posted: Sun 15 Nov 2020 7:45 pm
by stef942
Hi, i have an error when trying to run ver 4.7.0 :

Code: Select all

pi@raspberrypi:~/CumulusMX/utils/bin $ ./cumulusutils.exe website
 No Cumulus.ini found. Must run in Cumulus directory!
:shock:

Re: For New Users

Posted: Sun 15 Nov 2020 7:53 pm
by rogerthn
From release notes
You have to call CumulusUtils with the following command (being in the cumulus directory) utils\bin\cumulusutils.exe

Re: For New Users

Posted: Sun 15 Nov 2020 7:58 pm
by stef942
ah ok thank you it works :clap:

Re: For New Users

Posted: Mon 16 Nov 2020 11:12 am
by kocher
Greetings Hans

I must ask your opinion and help one more time.

It turns out that another Spanish friend is trying to install cumulusUtils on his website:

http://www.meteosantmateu.online/cumulusutils/

He is a little experienced user, as he himself admits.
I try to provide you with help, but it is difficult due to the long wait for our friend's replies in our Spanish forum.

I have thought that your opinion can be of great help so that I can better guide my Spanish friend.

I attach the following files from my friend:

- 2011152038cumulusutils.log

- cumulusutils.ini

I have already warned him that he must change in cumulusutils.ini, in his web section:

[Website]
CumulusRealTimeLocation =

For this:

[Website]
CumulusRealTimeLocation = .. /

Re: For New Users

Posted: Mon 16 Nov 2020 12:11 pm
by HansR
Hi Javier,

OK. This seems a two way problem.

1) It does not run wel in the environment because it crashes on its encounter of Newtonsoft.Json library.
2) There are some questions to the CumulusRealTimeLocation.

ad 1) From what I see is that you use a version incompatible with the libraries present on his system

What version of CumulusUtils is being used and what system is Cumulus running on? Please use 4.7.0 with CMX 3.9.1 to prevent continued dll-version discrepancies. NOTE: a bin directory has been created for cutils. Read the release post well! The Newtonsoft library is replaced by ServiceStack.Text.dll and the FTP system has been rewritten. My advise is to use only plain FTP for now.

ad 2) Having said that, it became clear that the parameters UploadDir and CumulusRealTimeLocation give some confusion so I updated the manual on this. I quote:
NOTE:
1. Parameter UploadDir (section [FTP site]) determines to which FTP directory the upload goes. With a leading slash it is an absolute FTP path, without slash it is a relative path to the FTProot. If this parameter is empty all output is uploaded to the parameter Directory in the Cumulus.ini file (section FTP site]) (this does NOT end with a slash)
2. Parameter CumulusRealTimeLocation (section [Website]) determines where the javascript runtime searches for the realtime files uploaded by CumulusMX. It is an absolute or relative path to the Webroot. It must end with a slash.
(I may end the 'slash ending confusion' some time soon).

If you run into problems check with F12 (console) the path to realtime.txt and adjust if there is an error. (so in your case I would set "UploadDir=/cumulusutils" and (assuming that is where the reatime files go) CumulusRealTimeLocation=/ or empty (and btw: your solution I think is OK too ;) ).

So, at least get the website up and running and then we will look at the CumulusRealTimeLocation .
Hope this helps.

(Quite unfortunate a new user starts in the confusion around version 4.7.0 and the dll version troubles)

Re: For New Users

Posted: Mon 16 Nov 2020 12:56 pm
by kocher
Thank you very much Hans :)

I'll let him know and keep you posted

Re: For New Users

Posted: Tue 17 Nov 2020 6:33 pm
by HansR
kocher wrote: Mon 16 Nov 2020 12:56 pm Thank you very much Hans :)

I'll let him know and keep you posted
So I see he's got it working.
Any additional issues?

Re: For New Users

Posted: Fri 20 Nov 2020 12:37 pm
by krash
Hello again, Hans ... a couple of doubts .... I am trying to customize the usermenu section .. I have read that the file CUsermenu.txt must be put (removing the comments and modifying it) in the ccumulus directory) I have fact and the case is that when passing the Website option, it is true that it creates a file CUsermenu.txt.save, but it does nothing, that is, it leaves the menu as it is. Another thing. In NOAA reports, where to upload the NOAA files generated by cumulusMX? And in cumulusUtils? .-

Thank you very much¡¡¡--..

Re: For New Users

Posted: Fri 20 Nov 2020 2:22 pm
by HansR
@krash:

First the NOAA. You start in CumulusMX to define the FTP directory where you want to upload the reports (you probably already did that). Then in CumulusUtils you have to define where CumulusUtils can find those reports (as they can be basically everywhere). You supply that directory relative to the Webroot in the parameter FTPDirectory (section NOAA). This directory MUST end with a slash.

Second the CUsermenu.txt.
  1. The user menu file resides in the webroot of CumulusUtils.
  2. It is not about the comments. You may remove those, or leave as is.
  3. CumulusUtils does NOT create a file CUsermenu.txt.save.
  4. The structure of the user menu is easiest explained by example using my website. If you look at my site you will see the user menu defined below.
    • See the distinction between the drop-down and the text in the menu-bar.
    • Each user menu is defined by what is between <li class='nav-item dropdown'> and a </li> (you can have more than one usermenu)
    • What the user needs to do is define the drop down part between the <div></div>
    • You can use hyperlinks <a></a> for direct hyperlinks outside your webside domain;
    • You use the <span></span> HTML tags to load information into the ReportView.
    • Use cut/past and only change filenames, links and menutext.

Code: Select all

<li class='nav-item dropdown'>
  <a class='nav-link dropdown-toggle' href='#' id='navbarDropdown' role='button' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
    NL
  </a>
  <div class='dropdown-menu' aria-labelledby='navbarDropdown'>
    <a class='nav-link' href="https://topotijdreis.nl" target="_blank">Topo NL</a>
    <a class='nav-link' href="https://waterinfo.rws.nl/#!/kaart/waterhoogte-t-o-v-nap/" target="_blank">Waterstanden NL</a>
    <span class='nav-link' onclick="LoadUtilsReport('Ahn.txt');">Hoogtekaart NL</span>
    <!-- div class='dropdown-divider'></div -->
  </div>
</li>

<li class='nav-item dropdown'>
  <a class='nav-link dropdown-toggle' href='#' id='navbarDropdown' role='button' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
    Extra
  </a>
  <div class='dropdown-menu' aria-labelledby='navbarDropdown'>
    <span class='nav-link' onclick="LoadUtilsReport('Sat24-zonwolken.txt');">Satelite</span>
    <span class='nav-link' onclick="LoadUtilsReport('Sat24-infrarood.txt');">Infrared</span>
    <span class='nav-link' onclick="LoadUtilsReport('Radar-regen.txt');">Radar</span>
    <a class='nav-link' href='https://effis.jrc.ec.europa.eu/static/effis_current_situation/public/index.html' target="_blank">Effis</a>
    <div class='dropdown-divider'></div>
    <span class='nav-link' onclick="LoadUtilsReport('GlobalWinds.txt');">Global Winds</span>
    <span class='nav-link' onclick="LoadUtilsReport('Windy.txt');">Windy</span>
    <span class='nav-link' onclick="LoadUtilsReport('WXcharts.txt');">WXcharts</span>
    <div class='dropdown-divider'></div>
    <a class='nav-link' href="https://cumulus.hosiene.co.uk/viewforum.php?f=44" target="_blank">Forum</a>
    <a class='nav-link' href="https://meteo-wagenborgen.nl/wp/" target="_blank">The Blog</a>
  </div>
</li>
Hope this helps, good luck.

Re: For New Users

Posted: Fri 20 Nov 2020 2:42 pm
by HansR
@krash:
And btw: the report filenames are NOT configurable in CumulusUtils, you have to use the defaults CMX provides. Don't change those defaults.