First, I shut down Weewx and made a copy of my weewx.sdb file. When I tried to change the bad data (on the copy) to NULL, I received an sqlite3 error that I could not write to a read-only file. I thought that weewx.sdb allowed writing, so why would a copy turn into read-only?
Thanks.
vince
unread,
Oct 21, 2021, 11:12:16 PM10/21/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
Because it's owned by root and you tried to do your editing as the non-privileged 'pi' user ?
Steve2Q
unread,
Oct 22, 2021, 11:14:42 AM10/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
I did use sudo in front of the UPDATE command, but I guess this is not sufficient?
Steve
vince
unread,
Oct 22, 2021, 11:24:11 AM10/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
You're going to have to give us a transcript of what you did, and what you saw.
You need to do "sudo sqlite3" which I'm guessing you did not do.
Steve2Q
unread,
Oct 22, 2021, 1:30:50 PM10/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
Vince..thanks. I solved the problem by starting with sudo su. Haven't done any LInux in quite a while so I forgot about that one. Another question: I am thinking of adding lines to
[StdQC] to eliminate any outHumidity values <20. By doing this, will it also take care of the calculated dewpoint and heat index values, or will I need separate entries for each?