Thanks for the effort. Yes, the forecast still fails the same way.
Additionally, there are new errors with this version.

See attached file for the pertinent log lines.


On Monday, February 17, 2020 at 11:28:34 AM UTC-5, Pat wrote:
>
> I'm pretty sure I fixed this error (AttributeError: 'ListOfDicts' object 
> has no attribute 'items'), but can you give it a try? Re-download the 
> development branch and re-install it. Then restart weewx. 
>
> Are you still having the other error (Error writing forecast...)? 
>
>
> On Friday, February 7, 2020 at 9:55:15 PM UTC-5, G Hammer wrote:
>>
>> Thanks Pat.
>>
>> Congrats on your upcoming baby!
>>
>> On Friday, February 7, 2020 at 9:36:18 PM UTC-5, Pat wrote:
>>>
>>> I haven't tried b10 or b11 yet. I'll see if I can find some time this 
>>> weekend to set it up and try and replicate this. 
>>>
>>> On Friday, February 7, 2020 at 9:08:03 PM UTC-5, G Hammer wrote:
>>>>
>>>> I believe the error is related to a python3 vs python 2 issue. Look at 
>>>> the path it is trying to write to:  the u' is odd.
>>>> 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'
>>>>
>>>>
>>>>
>>>>
>>>> On Friday, February 7, 2020 at 5:01:17 PM UTC-5, G Hammer wrote:
>>>>>
>>>>> 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/d0d33cb9-58ee-4454-b55d-640bb425926a%40googlegroups.com.
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine: reportengine: 
Caught unrecoverable exception in generator 
'weewx.cheetahgenerator.CheetahGenerator'
Feb 17 20:25:33 srvr weewx[32089] 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 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****  
Traceback (most recent call last):
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/reportengine.py", line 202, in run
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****      
obj.start()
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/reportengine.py", line 285, in start
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****      
self.run()
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 150, in run
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****      
ngen = self.generate(gen_dict[section_name], self.gen_ts)
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 220, in generate
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****      
ngen += self.generate(section[subsection], gen_ts)
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 220, in generate
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****      
ngen += self.generate(section[subsection], gen_ts)
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 309, in generate
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****      
default_binding)
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 376, in _getSearchList
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****      
searchList += obj.get_extension_list(timespan, db_lookup)
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****    
File "/home/weewx/bin/user/belchertown.py", line 595, in get_extension_list
Feb 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****      
raise Warning( "Error writing forecast info to %s. Reason: %s" % ( 
forecast_file, e) )
Feb 17 20:25:33 srvr weewx[32089] 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 17 20:25:33 srvr weewx[32089] ERROR weewx.reportengine:         ****  
Generator terminated

Reply via email to