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 help much more with nano as I don't use it.

vi (vim)
In the absence of a suitable user config file, the default action is
to place it in the same directory as the file you are editiing, so in
this case it would be in /etc/weewx
If you ignore the lock file warning and decide to edit the file
anyway, you'll create another swp file - ending as .swo . Rinse repeat
for the next letter.
if vi is giving no clues about the swap files location then try using find.

sudo find /etc/weewx -name *.sw[nop]
If that fails to return anything, broaden the search to...
sudo find / -name *.sw[nop]


Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie


On 8 April 2018 at 14:16, Kimberly Olsen <[email protected]> wrote:
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to