Hi all! I am having an issue with Weewx & the Belchertown skin. A short history of what I have tried doing. I was running my station on a Raspberry Pi 4 and everything was good, until the PI started finding errors on the SD card, well apparently it was. So it was flagging the OS as Read Only. I tried a plethora of things to resolve it and finally, I got an old laptop out and installed Ubuntu on it.
I then installed Weewx, the drivers for the GW1000 and a few services like OpenWeather, MQTT and others.
Once I got all the stuff I used previously, I copied the configuration file (weewx.conf) from the PI over to the new system to save time reconfiguring it with all the service logins and that. Then I went to add some additional Graphs, but they are not showing up.
I am still learning Linux, so my troubleshooting skills are pretty limited; so I am reaching out to you all to get some help to figure this issue out. Here is the error I see in Syslog.
ay 14 04:45:46 weewx-pi weewx[814] DEBUG weewx.reportengine: Found configuration file /home/weewx/skins/Belchertown/skin.conf for report 'Belchertown'
May 14 04:45:46 weewx-pi weewx[814] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', 'user.belchertown.getData']
May 14 04:45:46 weewx-pi weewx[814] DEBUG weewx.manager: Daily summary version is 4.0
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** Parse error in value at line 146.
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** Traceback (most recent call last):
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 196, in run
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** obj.start()
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 281, in start
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** self.run()
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 152, in run
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** ngen = self.generate(gen_dict[section_name], self.gen_ts)
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 222, in generate
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** ngen += self.generate(section[subsection], gen_ts)
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 222, in generate
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** ngen += self.generate(section[subsection], gen_ts)
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 310, in generate
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** searchList = self._getSearchList(encoding, timespan,
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/cheetahgenerator.py", line 387, in _getSearchList
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** searchList += obj.get_extension_list(timespan, db_lookup)
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/user/belchertown.py", line 307, in get_extension_list
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** chart_dict = configobj.ConfigObj(chart_config_path, file_error=True)
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** self._load(infile, configspec)
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** raise error
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "<string>", line None
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** configobj.ParseError: Parse error in value at line 146.
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** Generator terminated
May 14 04:45:46 weewx-pi weewx[814] INFO weewx.reportengine: Copied 2 files to /var/www/
maladomini.net/May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'user.belchertown.HighchartsJsonGenerator'
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** Parse error in value at line 146.
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** Traceback (most recent call last):
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 196, in run
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** obj.start()
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/weewx/reportengine.py", line 281, in start
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** self.run()
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/home/weewx/bin/user/belchertown.py", line 1442, in run
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** self.chart_dict = configobj.ConfigObj(chart_config_path, file_error=True)
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** self._load(infile, configspec)
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "/usr/lib/python3/dist-packages/configobj.py", line 1318, in _load
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** raise error
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** File "<string>", line None
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** configobj.ParseError: Parse error in value at line 146.
May 14 04:45:46 weewx-pi weewx[814] ERROR weewx.reportengine: **** Generator terminated