As per the subject, how do I run CreateMissing.exe in linux. Do I use mono, ie sudo mono CreateMissing.exe?
I want to use it because I have a few missing dates in my dayfile
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
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
How to run CreateMising in linux
Moderator: mcrossley
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: How to run CreateMising in linux
Yep, if you are running Cumulus v3 you use mono, with v4 swap it to dotnet.
-
avvy65
- Posts: 84
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to run CreateMising in linux
Oops, I should have said I was running CumulusMX v4
Just tried sudo dotnet CreateMissing.exe
and it returned
Unhandled exception . System.BadImageFormatException: Bad IL format of the file '/home/rob/CumulusMX/CreateMissing.exe
Using sudo mono with v3 starts the process but then produces an error because the date is out of order with dayfile.txt
Just tried sudo dotnet CreateMissing.exe
and it returned
Unhandled exception . System.BadImageFormatException: Bad IL format of the file '/home/rob/CumulusMX/CreateMissing.exe
Using sudo mono with v3 starts the process but then produces an error because the date is out of order with dayfile.txt
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: How to run CreateMising in linux
Sorry, on Linux the dotnet commands should all reference the <name>.dll rather than .exe
So
> dotnet CreateMissing.dll
The .exe's are Windows only.
So
> dotnet CreateMissing.dll
The .exe's are Windows only.
-
avvy65
- Posts: 84
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to run CreateMising in linux
Ok, I forgot it should be the dll file, doh!
Using :
sudo dotnet CreateMissing.dll
returns:
Error: date is out of order at line 654 in the dayfile.txt
On investigation, there was a an out of order line, so I corrected that, then ran the command again.
This time it ran but after a minute or so, it returned
Error at line 35151 field 9 of /path//data/202204log.txt Index was out of range. Must be non negative and less than the size of the collection (Parameter 'index') Please edit the file to correct the error.
When I try to open the said file , there is a white progress bar moving across the top of the edit / text window, as it loads the file, but it stalls very near the end and I can't edit the file.
There are 1133 pages in LO writer, and I don't know what I'm looking for as I can't see any non- negative entries, and what is the 'size of the collection'
Thanks
Using :
sudo dotnet CreateMissing.dll
returns:
Error: date is out of order at line 654 in the dayfile.txt
On investigation, there was a an out of order line, so I corrected that, then ran the command again.
This time it ran but after a minute or so, it returned
Error at line 35151 field 9 of /path//data/202204log.txt Index was out of range. Must be non negative and less than the size of the collection (Parameter 'index') Please edit the file to correct the error.
When I try to open the said file , there is a white progress bar moving across the top of the edit / text window, as it loads the file, but it stalls very near the end and I can't edit the file.
There are 1133 pages in LO writer, and I don't know what I'm looking for as I can't see any non- negative entries, and what is the 'size of the collection'
Thanks
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: How to run CreateMising in linux
Zip up and post the log file and I'll take a look.
-
avvy65
- Posts: 84
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to run CreateMising in linux
Log file zipped up as requested.
thanks
thanks
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: How to run CreateMising in linux
The last line is corrupt...
Fixed version attached.
Fixed version attached.
You do not have the required permissions to view the files attached to this post.
-
avvy65
- Posts: 84
- Joined: Sun 12 Aug 2018 4:52 pm
- Weather Station: Davies Vantage Vue
- Operating System: Linux Ubuntu
Re: How to run CreateMising in linux
Thanks, I didn't know that, nor how it happened, but I saw many lines like that when I opened the said file in LO writer, and didn't know what it meant.
I ran CreateMissing again , and this time , no errors as such, but of 2117 records in the dayfile.txt, 18 were OK, 37 were Added
and 1200 were updated.
Then No Data 862 - please check log file for errors.
That could be for a few different reasons, like hardware failure, system repairs etc etc. If my Davies Vue station didn't have the records then they would be missing, as well as going back a year or more.
I ran CreateMissing again , and this time , no errors as such, but of 2117 records in the dayfile.txt, 18 were OK, 37 were Added
and 1200 were updated.
Then No Data 862 - please check log file for errors.
That could be for a few different reasons, like hardware failure, system repairs etc etc. If my Davies Vue station didn't have the records then they would be missing, as well as going back a year or more.