Page 1 of 1

Upgrade 3.10.2 (Build 3117)

Posted: Sun 21 Mar 2021 1:57 pm
by josebp
Hi, today I have updated to the new version of Cumulus.
I have uploaded the files to the mysql database, using the new version of ExportToMySQL, and I have errors because data has disappeared.
For example, the absolute minimum is 0.8 and now it appears as 0.0
I have also changed the names of the monthly files.
It has gone from m.ylog.txt to mylog.txt so wxsim has stopped working for me.
I understand that this part is probably from w10 although so far I had not had problems.
Thank you very much for your time.
Regards,
Jose Ramon
www.tiempoensevilla.es
---------------------------------------------
Hola, hoy he actualizado a la nueva versión de Cumulus.
He subido los archivos a la base de datos de mysql, utilizando la nueva versión de ExportToMySQL, y tengo errores porque me han desaparecido datos.
Por ejemplo la Mínima absoluta es de 0,8 y ahora aparece como 0.0
También me ha cambiado los nombres de los archivos mensuales.
Ha pasado de m.ylog.txt a mylog.txt con lo que me ha dejado de funcionar wxsim.
Entiendo que esta parte a lo mejor es de w10 aunque hasta el momento no había tenido problemas.
Muchas gracias por su tiempo.
Saludos,
José Ramón

Re: Upgrade 3.10.2 (Build 3117)

Posted: Sun 21 Mar 2021 5:17 pm
by mcrossley
josebp wrote: Sun 21 Mar 2021 1:57 pm Hi, today I have updated to the new version of Cumulus.
I have uploaded the files to the mysql database, using the new version of ExportToMySQL, and I have errors because data has disappeared.
For example, the absolute minimum is 0.8 and now it appears as 0.0
Where has the minimum changed, in your database?

josebp wrote: Sun 21 Mar 2021 1:57 pm I have also changed the names of the monthly files.
It has gone from m.ylog.txt to mylog.txt so wxsim has stopped working for me.
That change was made a long time ago, in October 2019, version 3.1.0 - b3053. When running under mono the abbreviated month was using a "." at the end in some locales. This was inconsistent with Cumulus 1 (and I believe MX running under older versions of mono), so a fix was applied to correct this.

You will have to rename your old log files to remove the "." after the month.

Re: Upgrade 3.10.2 (Build 3117)

Posted: Sun 21 Mar 2021 5:29 pm
by josebp
hello, thanks for replying.
It has indeed been changed in the database when uploading the dayfile.txt file, as if there was a rounding with the new tool.
With the above .php I never had problems
In the .txt it is still correct, so I don't understand it
It would be the renaming of the files, but since I switched to W10 and put Cumulus MX it was the only change that occurred. I will change them without problems.
Now I'm going to go to 1021.
Regards,
Jose Ramon
---------------------
hola, gracias por contestar.
Efectivamente se ha cambiado en la base de datos al subir el archivo dayfile.txt, como si hubiera un redondeo con la herramienta nueva.
Con el .php anterior nunca tuve problemas
En el .txt sigue estando correcto, así que no lo entiendo
Sería el cambio del nombre de los archivos, pero desde que cambié a W10 y puse Cumulus MX fué el único cambio que se produjo. Los cambiaré sin problemas.
Ya puestos me pasaré a la 1021.
Saludos,
José Ramón

Re: Upgrade 3.10.2 (Build 3117)

Posted: Sun 21 Mar 2021 7:06 pm
by josebp
You can check what I mean in:
http://www.tiempoensevilla.es/wxcurecords.php?lang=en
and how, in the database when importing, the record has remained
http://www.tiempoensevilla.es/wxtop10.php
Cumulus database is correct (local computer)
Regards,
Jose Ramon
--------------------------------------
Puedes comprobar lo que quiero decir en:
http://www.tiempoensevilla.es/wxcurecords.php?lang=en
y como, en la base de datos al importar, ha quedado el registro
http://www.tiempoensevilla.es/wxtop10.php
En base de datos de Cumulus está correcto(equipo local)
Saludos,
José Ramón

Re: Upgrade 3.10.2 (Build 3117)

Posted: Sun 21 Mar 2021 11:11 pm
by mcrossley
I see that ExportToMySQL uses the user locale to construct the insert statements. MySQL only accepts dot decimals, so that is wrong! :bash:

I'll create a new release to fix that...

Re: Upgrade 3.10.2 (Build 3117)

Posted: Sun 21 Mar 2021 11:17 pm
by mcrossley
OK, please try ExportToMySQL v1.2.3

Re: Upgrade 3.10.2 (Build 3117)

Posted: Mon 22 Mar 2021 7:05 pm
by josebp
:clap: :clap: :clap: :clap: :clap: :clap:
already works fine
Muchas Gracias.
Regards
José Ramón

Re: Upgrade 3.10.2 (Build 3117)

Posted: Mon 22 Mar 2021 7:43 pm
by HansR
Aha... checking numbers always counts :|