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

Data confusion

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

haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Data confusion

Post by haeb »

I started cmx accidentally not with my de-DE parameter. So cmx mixed up dot and commas. I tried to remove all commas. This seems not to be successful.

Cmx does not work and log file in MXdiags does have the following entries:
There was an error during serialization for object of type CumulusMX.DataStruct

Any suggestions?

Horst
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Data confusion

Post by steve »

Stop MX, find the backup folder created when you started with the wrong locale setting, copy the files from it into the data folder, and then start MX.
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: Data confusion

Post by haeb »

Hi steve,
thanks you for your response.

I tried this, but it seems to me i have tried to start cmx too often before. So there is no backup left which is from before the accident.

Btw. is there a setting to set the number of backups?

Horst
User avatar
PaulMy
Posts: 3831
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Data confusion

Post by PaulMy »

The Cumulus built in backups are very good, and adding your own full backup regularly is even better ;)

I presume you had data saved in from before the current data in your datalogger? so backdating is not an option?

Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Data confusion

Post by steve »

Did it happen more that ten days ago, so you can't use one of the daily backups?
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: Data confusion

Post by haeb »

No, the accident was 5 days ago. But i think cmx makes a backup every time it was started. So i do have 10 backups but i don't have 10 days backup.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Data confusion

Post by sfws »

Deleted
Last edited by sfws on Mon 03 Aug 2015 3:53 pm, edited 1 time in total.
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: Data confusion

Post by haeb »

this is all i have but i need a backup from before 20150724. I have also saved the 20150724212258 and 20150724211338 outside the backup folder. So it seems there is no backup which i can use.

But how can i correct the error? Just changing the commas to dots does not work. There are also other mistakes. I found this one in dayfile.txt and corrected it:
27:01:15;18,4;[..]

which should be
27.01.15;18,4;[..]

This led me to the file Jan15log.txt which contained in several dates Slashes as date delimiter.

Correcting these errors changed nothing: cmx does start on the command line and the webpage does not contain data.
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Data confusion

Post by steve »

That daily backup folder is very odd, only the latest one looks reasonable, as it's timestamped just after midnight. If you zip up the MXdiags folder and attach it, I'll take a look.

You probably have some issues with date/time formats in the ini files which hold all-time records etc.

Edit: it's probably the timestamps in today.ini which have caused the daily backups to go wrong, as it's confused about what day it was when it last ran, so it's doing the daily backup immediately. It has probably done an end-of-day rollover for each of those, so you probably have multiple entries in dayfile.txt, with invalid data.
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: Data confusion

Post by haeb »

Hi steve,

i will send you the MXdiags folder and my oldest dayfile.txt by pm.

Horst
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Data confusion

Post by steve »

It seems to be working OK, so it looks like you have corrected the data successfully. The error message you quoted is probably because of the bug in the Mono json serializer when decimal commas are used.
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: Data confusion

Post by haeb »

Hi Steve,
but it does not work in the browser all data fields are empty.
steve wrote:It seems to be working OK, so it looks like you have corrected the data successfully. The error message you quoted is probably because of the bug in the Mono json serializer when decimal commas are used.
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Data confusion

Post by steve »

Yes, as I said, probably because of the bug in the Mono json serializer when decimal commas are used. There are known issues in Mono with its handling of decimal commas, which is why it's the first item, highlighted in red, on the 'FAQ/known issues' page.

What version of Mono are you using?
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: Data confusion

Post by haeb »

Hi Steve,

Mono version seems to be 3.2.8, ('dpkg -l | grep mono' gives me all 3.2.8)

O.K. what can i do, where are commas left?

I had a closer look on the cmx webpages and found some pages which are containing data (mybe wrong data) and some which not containg data. I have made some hardcopys which i will send you by pm. Maybe you find anything interesting.

Horst
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Data confusion

Post by steve »

That version of Mono doesn't work correctly with decimal commas, you need to use a locale which uses 'full stops' for decimals, and all of your data has to use that format.
Steve
Locked