Because it's owned by root and you tried to do your editing as the non-privileged 'pi' user ?
On Thursday, October 21, 2021 at 5:54:02 PM UTC-7 Steve2Q wrote: > Hi..I followed the instructions here: > https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data > > 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. > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/31f76f26-3a88-49b7-a8dd-d9a33b35484an%40googlegroups.com.
