You have a duplicate section name on line 269 in weewx.conf. -tk
On Wed, Dec 5, 2018 at 1:50 PM Per Edström <[email protected]> wrote: > WMR200 can have up to 10 extra sensors (in practice channel 1 is the > outdoor sensor = extraTemp1). > > Anyway, the DB does not have entries for all these sensors so I tried to > add them by creating a new user/schema.py > but something is wrong somewhere but I can't figure out what/where from > this.. > > root@RPi1B-Arelien:/home/folke/weewx# wee_database /etc/weewx/weewx.conf > --reconfigure > Traceback (most recent call last): > File "/usr/bin/wee_database", line 793, in <module> > main() > File "/usr/bin/wee_database", line 133, in main > config_path, config_dict = weecfg.read_config(options.config_path, > args) > File "/usr/share/weewx/weecfg/__init__.py", line 223, in read_config > config_dict = configobj.ConfigObj(config_path, file_error=True) > File "/usr/lib/python2.7/dist-packages/configobj.py", line 1230, in > __init__ > self._load(infile, configspec) > File "/usr/lib/python2.7/dist-packages/configobj.py", line 1320, in _load > raise error > configobj.DuplicateError: Duplicate section name at line 269. > root@RPi1B-Arelien:/home/folke/weewx# > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
