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

realtime.txt and wxnow.txt can't be accessed (messages in log)

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
inmyrvm
Posts: 44
Joined: Thu 19 Nov 2020 9:16 pm
Weather Station: Davis VP2
Operating System: Windows 10

realtime.txt and wxnow.txt can't be accessed (messages in log)

Post by inmyrvm »

I'm seeing continuous messages in the log file saying wxnow.txt and realtime.txt can't be accessed because they are being used by another process. I've attached my MXdiags folder for reference. I did add a line to my websitedataT.json and restarted MX. The websitedata.json file seems to be formatted properly with the added line and everything else appears to be uploading to my web site, but currently there is no data on my web page. Seems like this has happened before when modifying the websitedataT.json but eventually it does fill in. Anyway, just curious if those errors with the realtime.txt and wxnow.txt are an issue and/or related to the missing data on my web site.

Mike
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: realtime.txt and wxnow.txt can't be accessed (messages in log)

Post by mcrossley »

A few things spring to mind...

1. Are you trying to copy realtime.txt file to the same location. I.e. MX is trying to copy the file to itself?
2. Do you need local copies of this files?
3. Do you actually use the realtime.txt and wxnow.txt files at all? If not switch them off in your interval configuration.

The copy errors are not stopping the rest of the process completing, so I suspect you may have an error in your websitedataT.json file.
inmyrvm
Posts: 44
Joined: Thu 19 Nov 2020 9:16 pm
Weather Station: Davis VP2
Operating System: Windows 10

Re: realtime.txt and wxnow.txt can't be accessed (messages in log)

Post by inmyrvm »

I unchecked the copy option for realtime.txt and that stopped those errors. What is wxnow for? I see the setting for that but not sure what purpose that serves.

I tried to attach my websitedataT.json file but it wouldn't let me. The only change I made was to add this line for the purposes of creating a 24 hour temperature trend:

"temperatureChange24hours":(<#temp rc=y> - <#RecentOutsideTemp d=1 rc=y>),

When I removed that line and restarted MX the web site started populating with data again. Though prior to removing that line from the file the websitedata.json file did fill in the values correctly. Perhaps I'm missing a step.

Mike
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: realtime.txt and wxnow.txt can't be accessed (messages in log)

Post by freddie »

inmyrvm wrote: Thu 28 Oct 2021 4:53 pmI tried to attach my websitedataT.json file but it wouldn't let me.
Next time rename the file to websitedataT.txt. The exclusion of .json files is a security measure.
Freddie
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: realtime.txt and wxnow.txt can't be accessed (messages in log)

Post by mcrossley »

Code: Select all

"temperatureChange24hours":(<#temp rc=y> - <#RecentOutsideTemp d=1 rc=y>),
Is not valid JSON, the "value" has to be either: a number, a string, or true/false

After processing you will have something like...

Code: Select all

"temperatureChange24hours":(14.2 - 13.6),
Which is none of the above.
Post Reply