Error reading lock file /etc/weewx/.weewx.conf.swp: Not enough data read
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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.swp is removed, if however you kill the vi session or exit it any other abnormal way the .filename.swp file won't be removed.
You have 2 options simply remove the file or if you have some changes in the file that you want to recover then the best option is to recover the file which will have all the changes that you made in your last edit. To recover the last edits use vi -r save the file exit vi and then remove the .filename.swp file.
Like I said, to avoid this from happening always properly end the vi session.
Other than that it sounds like you are dealing with permission/ownership error, in that case check both the original file and the .filename.swp ownership.
I hope that this helps
Pete
--
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+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-- Unencumbered by the thought process. -- Click and Clack the Tappet brothers