I have been running b10 with no issues and today downloaded the dev version 
of the Belchertown skin.
I added the needed config and then ran WeeWX. I had issues when reports 
were run.
See attached files.


-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5884c455-2d71-4f25-827c-e7ae42f693c9%40googlegroups.com.
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine: reportengine: 
Caught unrecoverable exception in generator 
'weewx.cheetahgenerator.CheetahGenerator'
Feb  7 16:50:26 srvr weewx[23592] INFO weewx.restx: CWOP: Published record 
2020-02-07 16:50:00 EST (1581112200)
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****  Error 
writing forecast info to 
/home/weewx/public_html/weather/belchertown/json/darksky_forecast.json. Reason: 
[Errno 2] No such file or directory: 
u'/home/weewx/public_html/weather/belchertown/json/darksky_forecast.json'
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****  
Traceback (most recent call last):
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/reportengine.py", line 202, in run
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****      
obj.start()
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/reportengine.py", line 285, in start
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****      
self.run()
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 150, in run
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****      
ngen = self.generate(gen_dict[section_name], self.gen_ts)
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 220, in generate
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****      
ngen += self.generate(section[subsection], gen_ts)
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 220, in generate
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****      
ngen += self.generate(section[subsection], gen_ts)
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 309, in generate
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****      
default_binding)
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 376, in _getSearchList
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****      
searchList += obj.get_extension_list(timespan, db_lookup)
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/user/belchertown.py", line 585, in get_extension_list
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****      
raise Warning( "Error writing forecast info to %s. Reason: %s" % ( 
forecast_file, e) )
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****  
Warning: Error writing forecast info to 
/home/weewx/public_html/weather/belchertown/json/darksky_forecast.json. Reason: 
[Errno 2] No such file or directory: 
u'/home/weewx/public_html/weather/belchertown/json/darksky_forecast.json'
Feb  7 16:50:26 srvr weewx[23592] ERROR weewx.reportengine:         ****  
Generator terminated
Feb  7 16:50:26 srvr weewx[23592] INFO weewx.reportengine: Copied 31 files to 
/home/weewx/public_html/weather/belchertown
Feb  7 16:50:26 srvr weewx[23592] INFO weewx.restx: Weather365: Published 
record 2020-02-07 16:50:00 EST (1581112200)
Feb  7 16:50:26 srvr weewx[23592] INFO weewx.restx: WeatherCloud: Published 
record 2020-02-07 16:50:00 EST (1581112200)

root@srvr:~# /home/weewx/bin/wee_reports
Using configuration file /home/weewx/weewx.conf
Generating for all time
Traceback (most recent call last):
  File "/home/weewx/bin/weewx/reportengine.py", line 202, in run
    obj.start()
  File "/home/weewx/bin/weewx/reportengine.py", line 285, in start
    self.run()
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 150, in run
    ngen = self.generate(gen_dict[section_name], self.gen_ts)
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 220, in generate
    ngen += self.generate(section[subsection], gen_ts)
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 220, in generate
    ngen += self.generate(section[subsection], gen_ts)
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 309, in generate
    default_binding)
  File "/home/weewx/bin/weewx/cheetahgenerator.py", line 376, in _getSearchList
    searchList += obj.get_extension_list(timespan, db_lookup)
  File "/home/weewx/bin/user/belchertown.py", line 846, in get_extension_list
    for obs, group in sorted(weewx.units.obs_group_dict.items()):
AttributeError: 'ListOfDicts' object has no attribute 'items'

Reply via email to