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
Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.
Moderator: mcrossley
beteljuice
Posts: 3292 Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK
Post
by beteljuice » Thu 14 May 2015 2:03 pm
It seems to be complaining about the
E nd
O f
L ine - and you also have several.
Code: Select all
"forecast":"Temps frais et couvert, vent faible, pluie faible depuis 13 heures locales.
",
...................... Imagine, what you will KNOW tomorrow !
courtil
Posts: 124 Joined: Thu 16 Jan 2014 1:31 pm
Weather Station: Vantage PRO2
Operating System: Windows 11
Location: France
Contact:
Post
by courtil » Thu 14 May 2015 3:42 pm
re,
Thank you for your information, but I do not see any end of line characters in my text ??
Code: Select all
temps frais et couvert vent faible pluie faible brume
Thank you our new contribution
cordially
Michel said Courtil
steve
Cumulus Author
Posts: 26701 Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:
Post
by steve » Thu 14 May 2015 4:55 pm
What about in your currentconditions.txt file?
Steve
courtil
Posts: 124 Joined: Thu 16 Jan 2014 1:31 pm
Weather Station: Vantage PRO2
Operating System: Windows 11
Location: France
Contact:
Post
by courtil » Thu 14 May 2015 5:10 pm
hello,
my currentconditions.file
Temps frais et nuageux, vent faible, petite eclaircie
Thanks for infos
cordially
Michel said Courtil
steve
Cumulus Author
Posts: 26701 Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:
Post
by steve » Thu 14 May 2015 5:12 pm
Please zip it up and attach it.
Steve
courtil
Posts: 124 Joined: Thu 16 Jan 2014 1:31 pm
Weather Station: Vantage PRO2
Operating System: Windows 11
Location: France
Contact:
Post
by courtil » Thu 14 May 2015 5:25 pm
re,
here are 3 Zip files:
- Currentconditions.txt zip
- RealtimegaugesT.txt zip
- Realtimegauges.txt zip
Thank you for everything
cordially
Michel said Courtil
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3246 Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:
Post
by water01 » Thu 14 May 2015 6:06 pm
"forecast":"Dernière mise à jour le <#date format=hh:nn>H locale -- Voici les conditions Météo actuelles à CROISETTE -- Le Soleil se lève à <#sunrise> et se couche à <#sunset> -- Temps actuel : <#currcond> -- La Température est de <#temp>, °C -- L'Humidité relative à <#hum>,% -- La Pression Atmosphérique est de <#press> hPa -- Les Précipitations du jour sont de <#rfall> mm ",
I know Steve writes good code but I doubt any parser in the world is going to sort this out although it appears to make a good attempt!!
David
steve
Cumulus Author
Posts: 26701 Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:
Post
by steve » Thu 14 May 2015 6:16 pm
As Beteljuice told you, you have several end of lines in your file:
2015-05-14 19_13_40-Calendar.png
Note also that "nn" does not mean "minutes" with MX.
You do not have the required permissions to view the files attached to this post.
Steve
mcrossley
Posts: 12756 Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:
Post
by mcrossley » Thu 14 May 2015 6:22 pm
Your currentconditions.txt contains multiple blank lines
beteljuice
Posts: 3292 Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK
Post
by beteljuice » Thu 14 May 2015 10:36 pm
From your Currentconditions.txt zip
Temps frais et nuageux, vent faible, petite eclaircieCRLF
CRLF
CRLF
How are you generating it ?
...................... Imagine, what you will KNOW tomorrow !
courtil
Posts: 124 Joined: Thu 16 Jan 2014 1:31 pm
Weather Station: Vantage PRO2
Operating System: Windows 11
Location: France
Contact:
Post
by courtil » Fri 15 May 2015 5:31 am
Hello everyone,
my command line is generated using
- Notepad ++
or
-EditPade 7 lite
the error only appears HERE if I use the <#currcond>
in the version of the script by Mark crossley - version 2.5.5
With version Scripts by Mark Crossley - Version 2.4.4 - 2013-08-25
no error ???
Thank you for your information.
cordially
Michel said Courtil
courtil
Posts: 124 Joined: Thu 16 Jan 2014 1:31 pm
Weather Station: Vantage PRO2
Operating System: Windows 11
Location: France
Contact:
Post
by courtil » Fri 15 May 2015 6:04 am
Hello,
I deleted in currentconditions.txt
unnecessary lines.
the output file: realtimegauges.txt complies display in gauges but gives errors.
Thank you for your information.
cordially
Michel said courtil
You do not have the required permissions to view the files attached to this post.
mcrossley
Posts: 12756 Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:
Post
by mcrossley » Fri 15 May 2015 6:20 am
The data in the "date" field (the first one) is wrong. Your realtimegauges.txt has...
"date":"08:nn",
In realtimegaugesT.txt
{"date":"<#date format=hh:nn>",
Needs to be...
{"date":"<#date format=HH:mm>",
mcrossley
Posts: 12756 Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:
Post
by mcrossley » Fri 15 May 2015 6:28 am
However the parse error is happening in the native browser JSON parse routine, called by JQuery.
I think you need to remove all that HTML encoding, just use standard UTF-8 code. The script encodes any special characters for you.
DO NOT use Notepad, use a proper editor (eg Notepad++) that can save files in UTF-8 format.