Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

The input string '' was not in a correct format.

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
vpokroglo
Posts: 111
Joined: Thu 24 Feb 2011 7:45 pm
Weather Station: WS-2350
Operating System: Raspberry Pi 2
Location: Slovenija
Contact:

The input string '' was not in a correct format.

Post by vpokroglo »

I get following error when running Cumulusutils.
In those error field i do not get any value, just coma field separators (,,,,)

Code: Select all

2024-06-12 21:15:10.424 CumulusUtils Initial: Shutting down the default listener
2024-06-12 21:15:10.475  CUstrings[xx].ini : CUstringsEN.ini looked for.
2024-06-12 21:15:10.495  CumulusUtils version: 7.0.3 
2024-06-12 21:15:10.496  CuSupport constructor : Unit Wind (m/s, mph, km/h, kts): km/hr
2024-06-12 21:15:10.497  CuSupport constructor : Unit Pressure (mb,hPa,inHg): hPa
2024-06-12 21:15:10.498  CuSupport constructor : Unit Rain (mm,in): mm
2024-06-12 21:15:10.499  CuSupport constructor : Unit T (C,F): °C
2024-06-12 21:15:10.500  CuSupport constructor : Unit Distance (m, mi, km, kn): km
2024-06-12 21:15:10.501  CuSupport constructor : Unit Height (m, ft): m
2024-06-12 21:15:10.517 InetSupport: Constructor start
2024-06-12 21:15:10.971 InetSupport: Plain Old FTP activated.
2024-06-12 21:15:10.979 CumulusUtils : ----------------------------
2024-06-12 21:15:10.979 CumulusUtils : Entering Main
2024-06-12 21:15:10.984 HelpTexts: starting
2024-06-12 21:15:11.056 CommandLineArgs : starting
2024-06-12 21:15:11.056  CommandLineArgs : handling arg: pwsFWI
2024-06-12 21:15:11.058 Dayfile: Reading the dayfile.txt...
DayfileValue.SetValues fail: The input string '' was not in a correct format.
DayfileValue.SetValues: in field nr 40 (heatingdegreedays)
DayfileValue.SetValues fail: The input string '' was not in a correct format.
DayfileValue.SetValues: in field nr 40 (heatingdegreedays)
DayfileValue.SetValues fail: The input string '' was not in a correct format.
DayfileValue.SetValues: in field nr 40 (heatingdegreedays)
2024-06-12 21:15:11.336 calculatePwsFWI : starting
2024-06-12 21:15:11.336 calculatePwsFWI : ANALYSE is OFF
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: The input string '' was not in a correct format.

Post by HansR »

Could you post your dayfile please.

Another point is that what you post is not the logfile but the console screenoutput.
Please post the complete logfile as well (it gives me the line number)

(and if possible set the URL for the usermap to the pwsFWI location?)
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
vpokroglo
Posts: 111
Joined: Thu 24 Feb 2011 7:45 pm
Weather Station: WS-2350
Operating System: Raspberry Pi 2
Location: Slovenija
Contact:

Re: The input string '' was not in a correct format.

Post by vpokroglo »

Dayfile and cumulusutils log file attached
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: The input string '' was not in a correct format.

Post by HansR »

vpokroglo wrote: Fri 14 Jun 2024 6:04 pm Dayfile and cumulusutils log file attached
OK... The lines are from 29/04/11, 30/04/11 and 04/08/11 so apparently on those days something went wrong.

As such it is not a problem of CUtils but CMX apparently did not store those data (it occurs only on those three days).

When modifying the dayfile, shutdown CMX, when done, restart CMX.
  1. If you still have the original monthly logs for those months I think you best run CreateMissing and see if that has the desired effect (a correct dayfile).
  2. If you don't get a correct dayfile, I suggest you just fill in the values yourself. It is then best to take the values of the day before (make sure you pick the correct fields) and paste them in the correct position of the erroneous lines.
Let me know how you get on.
(and please fill in the pwsFWI link in your cumulusutils.ini map link parameter)
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
PaulMy
Posts: 4355
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: The input string '' was not in a correct format.

Post by PaulMy »

Hi,
Those ,,,,,,'s appear in about 49 lines of your dayfile.
My suggestion is to delete all of the lines with those and then do a CreateMissing as Hans suggested.
Before deleting the lines do a backup of the dayfile.txt so you will have a good part of those days still intact if you need to use that for manual editing.

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: The input string '' was not in a correct format.

Post by HansR »

PaulMy wrote: Fri 14 Jun 2024 11:50 pm Those ,,,,,,'s appear in about 49 lines of your dayfile.
Thanks for the additional precision @Paul.

I can add that the of 49 times you saw, only the three lines I mention have impact on the functioning of CUtils. Because the data which CUtils requires are missing in those lines as you can see in the log. The other missing data are not used.

So if CreateMissing fails and you need to edit the dayfile then only those three lines require treatment.
The user can decide to (not) repair the other lines.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
vpokroglo
Posts: 111
Joined: Thu 24 Feb 2011 7:45 pm
Weather Station: WS-2350
Operating System: Raspberry Pi 2
Location: Slovenija
Contact:

Re: The input string '' was not in a correct format.

Post by vpokroglo »

Also cretemissing utility doesn't work for me... It doesn't do anything to dayfile.txt. log is attached.
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: The input string '' was not in a correct format.

Post by HansR »

vpokroglo wrote: Sun 16 Jun 2024 10:37 am Also cretemissing utility doesn't work for me... It doesn't do anything to dayfile.txt. log is attached.
Hi,

The logfile says it does not have the datafiles for the records so it can't change values. So the only option left is to edit the dayfile.

Goto to the Dayfile editor in the CMX interface (Data Logs=>Dayfile) and goto the records on the dates I indicated above.
Give the records values for the heatingdegreedays and the Coolingdegreedays. Any value will do, but I advise to give the value of the day before. Save the modified record.

Then reload dayfile.

Then run CUtils again. If the error occurs with another value in the dayfile then repeat until your dayfile passes without error.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
vpokroglo
Posts: 111
Joined: Thu 24 Feb 2011 7:45 pm
Weather Station: WS-2350
Operating System: Raspberry Pi 2
Location: Slovenija
Contact:

Re: The input string '' was not in a correct format.

Post by vpokroglo »

Yes I know, that some days are missing in logfiles, but look at last 4 days after 11.6.2024 (12.6, 13.6, 14.6, and 15.6). Createmissing says that it added those missing entries, but it doesn't.
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: The input string '' was not in a correct format.

Post by HansR »

You will have to address CreateMissing issues in the CMX forum. This is the CUtils forum and I gave the solution related to CUtils (which I think will help you quickly).

For the problems related to CreateMissing please create a topic in teh CMX forum containing the description and the related files (logs and old dayfile and reaulting dayfile). I am no specialist here.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Post Reply