ConfigObj has a problem with comments and empty stanzas. I'm not aware of any parsing problems.
On Wed, Mar 17, 2021 at 5:02 PM Graham Eddy <[email protected]> wrote: > no lines removed or added i.e. line 153 still in situ? > > i seem to recall configobj has difficulties with empty stanza and more so > with trailing comment lines. probably worth a try ensuring neither of those > in the file e.g. leave enable=false uncommented > > On 18 Mar 2021, at 10:19 am, PJO <[email protected]> wrote: > > This (attached) is the file with passwords, ids and coordinates removed. > > Here's what I did: > > I stopped weewx on both RPis; copied the database to the new one, having > backed up the database there, and then swapped in a copy of my weewx.conf > with the uploads to wunderground etc. enabled. When that didn't work I went > through and disabled all those. I did check both the weewx.conf files > carefully using a split screen file comparison utility and didn't see > anything wrong. I then went through and disabled the uploads, as shown > here. I reverted to the original database and previous weewx.conf--and > weewx ran again, so I assumed the problem was something in the > database/configuration. > > If you can see anything wrong at line 153 I'll be interested to know what > it is! And many thanks, of course, for looking. > > On Wednesday, March 17, 2021 at 8:37:37 PM UTC [email protected] wrote: > >> You likely have a typo in weewx.conf but without seeing yours it's >>> impossible to know where. >>> >> >> In this case, we do know where: line 153 in weewx.conf. >> > > -- > 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/451deb4d-665a-40fc-ad2b-f1a801bdc7e7n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/451deb4d-665a-40fc-ad2b-f1a801bdc7e7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > <badweewx.conf> > > > -- > 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/1AE2B36D-D53D-4C7D-9088-87627D11B3D1%40gmail.com > <https://groups.google.com/d/msgid/weewx-user/1AE2B36D-D53D-4C7D-9088-87627D11B3D1%40gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEBz3uTKTaYtcNi1PDVcTE9NP1Vo8%3D3Y1gBMqRJsYV7gCg%40mail.gmail.com.
