On upgrade, the new weewx.conf keeps losing quotes around the passwords

35 views
Skip to first unread message

Joel Bion

unread,
May 26, 2020, 11:34:26 AM5/26/20
to weewx-user
I have modified my weewx.conf file to put quotes around the passwords (example: my mysql password), as the comments in that file request me to do. Every upgrade, all those quotes are lost. I have to put them all back in. Can these quotes be kept across upgrades?

Tom Keffer

unread,
May 26, 2020, 2:57:49 PM5/26/20
to weewx-user
Unless there's some secret setting in ConfigObj that I'm not aware of, it looks like this is what ConfigObj does on write.

In practice, the only time the quotes are necessary is if your password contains a comma (',') or the sharp ('#') sign. Otherwise, there should be no problem.

But, clearly, we need to change the comments.

-tk


On Tue, May 26, 2020 at 8:34 AM Joel Bion <jpb...@gmail.com> wrote:
I have modified my weewx.conf file to put quotes around the passwords (example: my mysql password), as the comments in that file request me to do. Every upgrade, all those quotes are lost. I have to put them all back in. Can these quotes be kept across upgrades?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/030a6fb7-befc-4e50-a331-2a091442193f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages