Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
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
Deleting Lines in Dayfile Editor
Moderator: mcrossley
-
- Posts: 129
- Joined: Sun 21 Aug 2011 2:26 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Sydney. Australia
- Contact:
Deleting Lines in Dayfile Editor
I noticed some odd readings for Jan23 in Reports, Records and Trends. An example, in Reports for Annual23 the low temperature in January is 0o degrees on the 23rd and in monthly Jan23 a low of 16.8o.
Further investigation found there are three entries for the 23/01/23 in the day file editor. I tried to delete one of the lines in the editor but it had no affect on hitting the delete button on the pop up. So how can I fix this?
Further investigation found there are three entries for the 23/01/23 in the day file editor. I tried to delete one of the lines in the editor but it had no affect on hitting the delete button on the pop up. So how can I fix this?
You do not have the required permissions to view the files attached to this post.
- HansR
- Posts: 6088
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Deleting Lines in Dayfile Editor
Easiest way: shutdown CMX, edit dayfile.txt in an appropriate editor (e.g. notepad++) and delete two of the three lines (the selection is yours, they probably won't be the same)
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- mcrossley
- Posts: 12966
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Deleting Lines in Dayfile Editor
Could you also post the MXdiags file for when you tried the delete. I have tested deleting single and multiple lines again, and it is working for me.
-
- Posts: 129
- Joined: Sun 21 Aug 2011 2:26 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Sydney. Australia
- Contact:
Re: Deleting Lines in Dayfile Editor
Thanks Mark, file attached.
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12966
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Deleting Lines in Dayfile Editor
It looks like either; not all the files from the latest /interface folder have been copied over, or you need a browser cache flush to pick up the latest files.
-
- Posts: 129
- Joined: Sun 21 Aug 2011 2:26 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Sydney. Australia
- Contact:
Re: Deleting Lines in Dayfile Editor
Ok I’ll try the cache flush in the morning and see what happens.
The other thought I had reading another post about “object reference not set” would it be related to being on build 3220 and not 3221.
The other thought I had reading another post about “object reference not set” would it be related to being on build 3220 and not 3221.
- mcrossley
- Posts: 12966
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Deleting Lines in Dayfile Editor
b3220 did see the change that is likely to induce this error with a stale cache - the ability to perform deletes of multiple lines in one go. But as that release was a while ago, it is unlikely to be a stale cache issue.
-
- Posts: 129
- Joined: Sun 21 Aug 2011 2:26 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Sydney. Australia
- Contact:
Re: Deleting Lines in Dayfile Editor
No luck after updating to build 3221 or clearing cache. So used HanR's suggestion to edit the dayfile.txt.
-
- Posts: 3339
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Deleting Lines in Dayfile Editor
Are you sure you copied ALL of the files from the release to your folder as mine is working fine as well.
-
- Posts: 129
- Joined: Sun 21 Aug 2011 2:26 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Sydney. Australia
- Contact:
Re: Deleting Lines in Dayfile Editor
I believe so. After extracting the zip file I copy/paste the CumulusMX folder to C: after renaming a copy of the old MX folder.
- mcrossley
- Posts: 12966
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Deleting Lines in Dayfile Editor
Could you post a zipped up copy of your dayfile?
-
- Posts: 129
- Joined: Sun 21 Aug 2011 2:26 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Sydney. Australia
- Contact:
Re: Deleting Lines in Dayfile Editor
Here is the one with the duplicate lines. Just
You do not have the required permissions to view the files attached to this post.
-
- Posts: 129
- Joined: Sun 21 Aug 2011 2:26 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Sydney. Australia
- Contact:
Re: Deleting Lines in Dayfile Editor
Just realised last post was an old file. This attachment has the one with the duplicate lines.
You do not have the required permissions to view the files attached to this post.
- HansR
- Posts: 6088
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Deleting Lines in Dayfile Editor
I have the same issue. After a problem with the WS80 (hanging wind spike) I wanted to delete the erroneous entries in the logfile.
That unfortunately does not work.
Logfile attached (first without subsequently with DEBUG), look for api/edit
That unfortunately does not work.
Logfile attached (first without subsequently with DEBUG), look for api/edit
You do not have the required permissions to view the files attached to this post.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- mcrossley
- Posts: 12966
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Deleting Lines in Dayfile Editor
Sorry it has taken so long to get back to this. I put the day file you posted above into my copy of CMX, and....
It deleted the extra 23/01/23 lines without any error!
As I cannot reproduce the error, I am going to need a bit more diagnostics from you or Hans.
1. Take a copy of your dayfile.txt first.
2. You will need to load the browser developer tools, and when you send the delete to CMX, on the network tab, could you find the line that has:
Name = "dayfile"
Path = "/api/edit/dayfile"
3. Open that entry by clicking it, and select the Payload tab. Cut and paste the contents of that tab here please.
4. Stop CMX, restore the backed up copy of the dayfile, and restart CMX.
Thanks
It deleted the extra 23/01/23 lines without any error!
As I cannot reproduce the error, I am going to need a bit more diagnostics from you or Hans.
1. Take a copy of your dayfile.txt first.
2. You will need to load the browser developer tools, and when you send the delete to CMX, on the network tab, could you find the line that has:
Name = "dayfile"
Path = "/api/edit/dayfile"
3. Open that entry by clicking it, and select the Payload tab. Cut and paste the contents of that tab here please.
4. Stop CMX, restore the backed up copy of the dayfile, and restart CMX.
Thanks