Re: [weewx-user] Re: Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read

2018-04-07 Thread Glenn McKechnie
Apparently an older version of nano would return that error at seemingly random times, possibly due to file corruption. If you were suffering extreme lag in the connection then perhaps it is related to that. Check your version of nano, or update it if you feel it's an older one. I really can't

[weewx-user] Re: Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read

2018-04-07 Thread Kimberly Olsen
Glenn, I can see no swap file despite vi insisting there is. No amount of ls -la will find one K On Saturday, 7 April 2018 12:48:18 UTC+10, Kimberly Olsen wrote: > > I've been attempting to get ftp working this morning and suddenly when > attempting to edit weewx.conf, I get the message below

[weewx-user] Re: Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read

2018-04-07 Thread Kimberly Olsen
I absolutely did end the nano session (i prefer nano) properly every time- so there must be another explanation. Yesterday I was editing from SSH and was experiencing extreme lag. I am betting the two things are related K On Saturday, 7 April 2018 12:48:18 UTC+10, Kimberly Olsen wrote: > >

[weewx-user] Re: Using WeeWxMQTT - problems

2018-04-07 Thread Ralph Underwood
I found some goof info on the development group and got closer to a working setup. I purchased an Adafruit HTU21 sensor board and using Bill Morrows code example I now get MQTT output like this: TIME:0,INTE:19.36,INHU:59.75 TIME:0,INTE:19.35,INHU:59.74 TIME:0,INTE:19.35,INHU:59.88

[weewx-user] Re: Pond.py multi senor watt and temp

2018-04-07 Thread Andrew Milner
The simplest and probably most efficient way would be to make the script add the data to two files: 1) the accumulating file you have now and 2) a single line file which is the one which you read into pond.py or you could do something like (not tested): seek to end of file, go back one max line

Re: [weewx-user] Re: Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read

2018-04-07 Thread Pete Geenhuizen
When you edit a file with  vi, which is actually a link to vim, it creates a backup file in your case .weewx.conf.swp. because it has a dot in front of the name the best way to see it is by using ls -la When you save the file and exit vi the .filename.swpis removed, if however you kill the vi

[weewx-user] Running multiple instances of WeeWx - startup script

2018-04-07 Thread Dan'l B
In the instructions on this page it says that to set up the startup script, do: > sudo cp util/init.d/weewx-multi /etc/init.d/weewx > > sudo update-rc.d weewx defaults > > echo "vantage acurite" | sudo tee /etc/defaults/weewx-multi > > Do these

[weewx-user] Re: extension to calculate rainstorm info: total rainfall, ending time, duration

2018-04-07 Thread 'Rich Altmaier' via weewx-user
I have an update, storm v1.1. I misunderstood the timestamp on archive records. I now see the timestamp value is the time at end of the interval of rain accumulation. Fixed that! Rich On Thursday, April 5, 2018 at 4:39:41 PM UTC-7, Rich Altmaier wrote: > > This is my first try at an

[weewx-user] Pond.py multi senor watt and temp

2018-04-07 Thread vigilancewx
Hello I have a current cost electricity meter connect to a linux computer via a usb cable On the linux computer is a script that every 20seconds loggs the watt and temp readings from the current cost meter to a txt file and RRD file I can generate the RRD graphs into the weewx

[weewx-user] Re: Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read

2018-04-07 Thread Kimberly Olsen
and when I look for weewx.conf.swp, it doesn't exist...no nothing strange here ;-) On Saturday, 7 April 2018 12:48:18 UTC+10, Kimberly Olsen wrote: > > I've been attempting to get ftp working this morning and suddenly when > attempting to edit weewx.conf, I get the message below > > This is

[weewx-user] Re: Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read

2018-04-07 Thread Kimberly Olsen
If I attempt to edit weewx.conf in vi rather than nano, I get informed that the file is open and that the swap file is newer etc etc -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from

[weewx-user] Re: Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read

2018-04-07 Thread Kimberly Olsen
I am using the command sudo nano /etc/weewx/weewx.conf which resulted in the error I am not unfamiliar with Linux basics having used some Unix in the past Unfortunately I started with a fresh install, got new skins installed and despite being able to edit weewx.conf all day, again now it fails

[weewx-user] Re: Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read

2018-04-07 Thread Kimberly Olsen
OK then why does it work most of the time and fail only occasioanally? On Sunday, 8 April 2018 03:52:03 UTC+10, vince wrote: > > On Friday, April 6, 2018 at 7:48:18 PM UTC-7, Kimberly Olsen wrote: >> >> I've been attempting to get ftp working this morning and suddenly when >> attempting to edit

[weewx-user] Re: Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read

2018-04-07 Thread vince
On Friday, April 6, 2018 at 7:48:18 PM UTC-7, Kimberly Olsen wrote: > > I've been attempting to get ftp working this morning and suddenly when > attempting to edit weewx.conf, I get the message below > > This is when I am ssh-ing in from my Mac. > When I attempt to edit the file directly on the

[weewx-user] Re: Lets see if I can get a response to this post. Installing new skins

2018-04-07 Thread Andrew Milner
try using sudo to do the copy if you are having permission problems. There is nothing odd or strange about weewx, weewx directories and permissions. On Saturday, 7 April 2018 14:36:30 UTC+3, Kimberly Olsen wrote: > I am very interested in a skin I saw at Carlingford weather >

[weewx-user] Lets see if I can get a response to this post. Installing new skins

2018-04-07 Thread Kimberly Olsen
I am very interested in a skin I saw at Carlingford weather https://carlingfordweather.sydney/ but I can't follow his instructions, nor those in the weewx docs. His instructions are Welcome to Sydney! To install a report skin in weewx, you just need to grab the skin and copy to the skins