The error starts as soon as I add the graphs.conf. If I don’t have graphs.conf loading, I don’t have any errors.
From: [email protected] <[email protected]> On Behalf Of Mitchell Tuckness Sent: Friday, May 14, 2021 5:11 AM To: weewx-user <[email protected]> Subject: [weewx-user] Help with HighCharts Error 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 -- You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/mwIWm1G3tDw/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected] <mailto:[email protected]> . To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/514f6f3f-e0c1-49b3-a7f8-9702e29b217fn%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/514f6f3f-e0c1-49b3-a7f8-9702e29b217fn%40googlegroups.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/03fe01d748b9%249cfd8910%24d6f89b30%24%40maladomini.com.
