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

2018-04-08 Thread Kimberly Olsen
Hi Glenn


Yep did all of that. No sign of a swap file. I edited weewx.conf and all is 
fine

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
>
> This is when I am ssh-ing in from my Mac.
> When I attempt to edit the file directly on the pi, I cannot save it
>
> Any ideas ?
>
> Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read 
>

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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
>
> This is when I am ssh-ing in from my Mac.
> When I attempt to edit the file directly on the pi, I cannot save it
>
> Any ideas ?
>
> Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read 
>

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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:
>
> 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 pi, I cannot save it
>
> Any ideas ?
>
> Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read 
>

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 when I am ssh-ing in from my Mac.
> When I attempt to edit the file directly on the pi, I cannot save it
>
> Any ideas ?
>
> Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read 
>

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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

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
>
> This is when I am ssh-ing in from my Mac.
> When I attempt to edit the file directly on the pi, I cannot save it
>
> Any ideas ?
>
> Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read 
>

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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.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 pi, I cannot save it
>>
>> Any ideas ?
>>
>> Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read 
>>
>
>
> You're running into the classic problem almost all new pi users run into. 
>  The account you're using is almost certainly 'pi' which is a 
> non-privlieged account.  You are trying to edit a file in a location that 
> only root has privileges for.   Run "sudo vi /etc/weewx/weewx.conf" so that 
> your vi session is running as root.
>
> Same for your other post about trying to save a skin.  You're trying to 
> save the skin to a root-owned directory, using a non-privileged account.   
> Again, preface your commands there with 'sudo'.
>

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 directory under weewx config. See 
http://www.weewx.com/docs/customizing.htm#_The_standard_reporting_service,_StdReport___
 for 
some loose instructions around this.

 

You can grab the ZIP of the skin via 
https://github.com/dcapslock/weewx-responsive-skin/archive/master.zip

 

If you wish to use the Australian extensions for forecast etc. follow the 
instructions at 
https://github.com/dcapslock/weewx-responsive-skin/wiki/Australian-%27Search%27-Extensions

 

I hope that helps.

I downloaded the ZIP and extracted it to downloads and attempted to move it 
to /etc/weewx/skins but I get permission denied. I attempted to extract to 
the same folder with the same result. The weewx instructions are not 
helpful to me.

I'm not sure what I am doing wrong

KImberly

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2018-04-06 Thread Kimberly Olsen
I should have added I have stopped WeeWX before editing but that makes no 
difference

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2018-04-06 Thread Kimberly Olsen
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 pi, I cannot save it

Any ideas ?

Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read 

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: WeatherLinkIP disconnection from WeeWX frequently

2018-04-06 Thread Kimberly Olsen

>
> :-) 
>

fat fingers
I found the IP address for the WLIP set to 192.168.0.20 instead of 
192.168.1.20
 

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: WeatherLinkIP disconnection from WeeWX frequently

2018-04-06 Thread Kimberly Olsen

>
> Turns out it was not the socket error this time as revealed below, but for 
> some reason it is not posting to PWS not anywhere else.
>
 *pi@raspberrypi*:*~ $* sudo tail -f /var/log/syslog

Apr  6 06:25:02 raspberrypi CRON[2367]: (root) CMD (test -x 
/usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))

Apr  6 07:17:01 raspberrypi CRON[2550]: (root) CMD (   cd / && run-parts 
--report /etc/cron.hourly)

Apr  6 07:57:41 raspberrypi systemd[1]: Reached target Network is Online.

Apr  6 07:57:41 raspberrypi systemd[1]: Starting Daily apt download 
activities...

Apr  6 07:57:49 raspberrypi systemd[1]: Started Daily apt download 
activities.

Apr  6 07:57:49 raspberrypi systemd[1]: apt-daily.timer: Adding 1h 37min 
12.581498s random time.

Apr  6 07:57:49 raspberrypi systemd[1]: apt-daily.timer: Adding 4h 17min 
36.948143s random time.

Apr  6 08:17:01 raspberrypi CRON[2733]: (root) CMD (   cd / && run-parts 
--report /etc/cron.hourly)

Apr  6 09:17:01 raspberrypi CRON[2896]: (root) CMD (   cd / && run-parts 
--report /etc/cron.hourly)

Apr  6 09:37:22 raspberrypi systemd[1]: Started Session c4 of user pi.


-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] WeatherLinkIP disconnection from WeeWX frequently

2018-04-05 Thread Kimberly Olsen
Hi everyone.

I am an old hand a weather stations and typically used WeatherCat on my 
Mac, but in the interests of conserving energy and my love of fiddling with 
raspberryPis, I have moved over to WeeWX. 

My brand new Vantage Vue utilises WeatherlinkIP because I wanted to access 
the console data on various machines on my network for various services. 

In any case, I have had a few issues since I started a few days ago. I 
found that there was a socket error at startup many times but occasionally 
the connection was successful- for a short time.
After reading many threads on here I realised at least one error that I had 
made :-)

I had assigned a static IP to the WLIP  via the router, not realising that 
by entering the IP address assigned by DHCP into a web browser, I would be 
able to set the static IP from the WLIP config page. So after a couple of 
days of errors, I finally removed the static IP from the router and 
configured it via the WLIP config. I thought this would solve the problem, 
but it did so only temporarily.

I checked in from my work office (40k away) this morning, via APRS, to find 
that a few hours ago, the data stopped flowing to APRS. I suspect that yet 
again the WLIP has disconect - I will check for sure when I get home but I 
am confident that is the case, as it has been for some days.

So to my question- How do I keep it connected. I don't want to go to a 
serial connection as it does not suit my needs and the WLIP was 
ridiculously expensive.

I have set debug=1 and will upload the log when I am home.

Kind regards
Kimberly
VK2KMI

-- 
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 it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.