Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

CumulusMX v3.9.3 b3098

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

User avatar
mcrossley
Posts: 12771
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by mcrossley »

jon_iz wrote: Sat 19 Dec 2020 11:27 pm WRT: New: If enabled, the daily graph data files are now created at start-up and uploaded at first interval FTP. Previously you had to wait for the first EOD rollover.

I must be missing the obvious - i can't see the setting for this to enable it.
It's location hasn't changed...

Settings | Internet Settings | Web/FTP Settings | Include graph data files

Can you start Cumulus with the -debug command line parameter and post the MXdiags file for me please.
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by jon_iz »

Hi Mark,

I was looking for something different in config - so that box was already checked.
log (and config attached)
You do not have the required permissions to view the files attached to this post.
Mapantz
Posts: 1821
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by Mapantz »

Here's how to fix it:

in your historic.htm

Change:

Code: Select all

<meta  http-equiv="Content-Security-Policy" content="script-src code.highcharts.com">
To:

Code: Select all

<meta  https-equiv="Content-Security-Policy" content="script-src 'self' code.highcharts.com">
This SHOULD be the fix.
Image
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by jon_iz »

Looking at the previous version historicT.htm - that line wasn't there?
also doesn't exist in current trendsT.htm
I have commented it out in the template file and that appears to have resolved it.
User avatar
mcrossley
Posts: 12771
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by mcrossley »

jon_iz wrote: Sun 20 Dec 2020 11:47 am Hi Mark,

I was looking for something different in config - so that box was already checked.
log (and config attached)
Thanks, but the log stopped too soon, I should have said I need to see the whole of the first interval FTP session.

But are you saying that removing that meta tag has fixed your issue?
jon_iz
Posts: 86
Joined: Sat 02 Jan 2016 10:10 pm
Weather Station: Davis VP2+, WLL & Airlink
Operating System: Win 10 64bit / RPi Buster
Location: Nantwich, UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by jon_iz »

Hi Mark,
yes, it is now generating the historic graphs - https://www.duncreggan.net/cumulusmx/historic.htm

Do you still want a longer log?
User avatar
mcrossley
Posts: 12771
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by mcrossley »

No that's OK. I'll look at that meta tag again though.
M1DUL
Posts: 347
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by M1DUL »

mcrossley wrote: Sun 20 Dec 2020 12:54 pm But are you saying that removing that meta tag has fixed your issue?
Hi Mark,
I have taken out the <meta http-equiv="Content-Security-Policy" content="script-src code.highcharts.com"> code, and now it is working :D

I did try the code <meta https-equiv="Content-Security-Policy" content="script-src 'self' code.highcharts.com"> which Mapantz said to use, but that stoped the buttons from working.
Mike

OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
User avatar
The Dalek Hunter
Posts: 256
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: CumulusMX v3.9.3 b3098

Post by The Dalek Hunter »

No historic charts here either

https://longsuttonweather.co.uk/historic.htm


And removing the line mentioned above fixes it here as well
User avatar
mcrossley
Posts: 12771
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by mcrossley »

I have removed the offending line from the file in the zip download as well.
User avatar
rogerthn
Posts: 518
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: CumulusMX v3.9.3 b3098

Post by rogerthn »

historicT.htm replaced and https://rogerthn.se/weather2/historic.htm does display something but no data
It looks like no period is selected (1m 3m 6m YTD ...)
Selecting one does result in "console errors"

Code: Select all

Error: <rect> attribute width: Expected length, "NaN".
highstock.src.js:5415 Error: <rect> attribute width: Expected length, "NaN".
_defaultSetter @ highstock.src.js:5415
(anonymous) @ highstock.src.js:3911
f.objectEach @ highstock.src.js:2105
attr @ highstock.src.js:3890
(anonymous) @ highstock.src.js:42584
a.drawMasks @ highstock.src.js:42583
a.onMouseUp @ highstock.src.js:43086
g @ highstock.src.js:42833
Enclosing MXdiags with debug, IP's replaced with A.B.C.D
You do not have the required permissions to view the files attached to this post.
Image
User avatar
mcrossley
Posts: 12771
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX v3.9.3 b3098

Post by mcrossley »

All your historic data files are empty, but no errors are being logged.

Could you zip up and attach your dayfile.txt please and I'll run it through a copy on my debugger.
User avatar
rogerthn
Posts: 518
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: CumulusMX v3.9.3 b3098

Post by rogerthn »

Might be decimal ,
Started with

Code: Select all

sudo mono CumulusMX.exe -lang sv-SE -debug
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 5968
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CumulusMX v3.9.3 b3098

Post by HansR »

rogerthn wrote: Sun 20 Dec 2020 8:54 pm Might be decimal ,
Started with

Code: Select all

sudo mono CumulusMX.exe -lang sv-SE -debug
I don't understand what you are saying Roger. Could you elaborate?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
rogerthn
Posts: 518
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: CumulusMX v3.9.3 b3098

Post by rogerthn »

HansR wrote: Sun 20 Dec 2020 9:01 pm I don't understand what you are saying Roger. Could you elaborate?
I do have comma as decimal point on https://rogerthn.se/weather3/index.htm and in dayfile.txt
Might be the issue?
https://rogerthn.se/weather2/historic.htm was OK using b3097
Image
Post Reply