> configobj.DuplicateError: Duplicate section name at line 350

Doesn't get much more obvious than this one....

On Sunday, February 15, 2026 at 2:05:41 PM UTC-8 O S wrote:

> Hello all,
>
> i have been experimenting with adding new observations and graphs today 
> and everything has worked as expected. I just noticed that the Belchertown 
> skin is not updating so I ran a report manually and I'm getting the errors 
> below - I have no idea why, Can anyone help?
>
> The Seasons skin is still working fine. The only other thing i did today 
> was to set up a few scripts and cron jobs to make hourly, weekly, monthly 
> backups using rsync.
>
> Thanks,
> Nick.
>
> Using configuration file /etc/weewx/weewx.conf
> All enabled reports will be run.
> Generating as of last timestamp in the database.
> Traceback (most recent call last):
> File “/usr/share/weewx/weewx/reportengine.py”, line 248, in run
> obj.start()
> File “/usr/share/weewx/weewx/reportengine.py”, line 465, in start
> self.run()
> File “/usr/share/weewx/weewx/cheetahgenerator.py”, line 166, in run
> ngen = self.generate(gen
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *dict[sectionname], sectionname, self.gents) 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File 
> “/usr/share/weewx/weewx/cheetahgenerator.py”, line 226, in generate ngen += 
> self.generate(section[subsection], subsection, gents) 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File 
> “/usr/share/weewx/weewx/cheetahgenerator.py”, line 226, in generate ngen += 
> self.generate(section[subsection], subsection, gents) 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File 
> “/usr/share/weewx/weewx/cheetahgenerator.py”, line 309, in generate 
> searchList = self.getSearchList(encoding, timespan, 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File 
> “/usr/share/weewx/weewx/cheetahgenerator.py”, line 401, in getSearchList 
> searchlist += obj.getextensionlist(timespan, dblookup) 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File 
> “/etc/weewx/bin/user/belchertown.py”, line 403, in get_extension_list 
> chart_dict = configobj.ConfigObj(chart_config_path, file_error=True) 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File 
> “/usr/lib/python3/dist-packages/configobj/__init.py”, line 1229, in __init 
> self._load(infile, configspec) File 
> “/usr/lib/python3/dist-packages/configobj/__init.py”, line 1318, in _load 
> raise errorconfigobj.DuplicateError: Duplicate section name at line 
> 350.Traceback (most recent call last): File 
> “/usr/share/weewx/weewx/reportengine.py”, line 248, in run obj.start() File 
> “/usr/share/weewx/weewx/reportengine.py”, line 465, in start self.run() 
> File “/etc/weewx/bin/user/belchertown.py”, line 2308, in run 
> self.chart_dict = configobj.ConfigObj(chart_config_path, file_error=True) 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File 
> “/usr/lib/python3/dist-packages/configobj/__init.py”, line 1229, in __init 
> self._load(infile, configspec) File 
> “/usr/lib/python3/dist-packages/configobj/__init*.py”, line 1318, in _load
> raise error
> configobj.DuplicateError: Duplicate section name at line 350
> ​
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/9d8d7e91-ab19-4ac6-a7db-84dfb9754675n%40googlegroups.com.

Reply via email to