Page 1 of 1

Syntax Error: JASON parse.....

Posted: Tue 04 Jul 2017 11:34 am
by Peristeri Center
Hi folks.

After some years i used "native" Linux weather programs, i came back to CumulusMX and here it is: http://peristeri.altervista.org
Everything looks normal, except, from time to time, on gauges page, i see "SyntaxError: JASON parse: unexpected end of data at line 72 column 31".
Do some one else have seen the above "error"?
Any idea, is welcome.
Thank's Steve for your great Code. :clap:
Best Rgrds
NikosB.

Re: Syntax Error: JASON parse.....

Posted: Tue 04 Jul 2017 11:46 am
by steve
That may be caused by the gauges code reading the realtimegauges.txt file while it is being updated. Are you using the 'rename' option in the ftp settings? That may help. And make sure you don't have 'delete before upload' set.

Re: Syntax Error: JASON parse.....

Posted: Tue 04 Jul 2017 11:58 am
by Peristeri Center
Thank you Steve for your response.
I checked FTP rename.
Let's see !

Re: Syntax Error: JASON parse.....

Posted: Tue 04 Jul 2017 12:10 pm
by Peristeri Center
That was the solution, Steve.
Thank's for your advise and your work. One more time :clap: