I got it working.  There were no changes to forecasting.

exfoliation was not updated for WeeWX4/Py3.
You are welcome to give it a try:
https://github.com/chaunceygardiner/weewx-exfoliation
If you are not up for it, that’s fine too.

> On Jul 18, 2020, at 8:16 PM, Arne Berglund <arne.a.bergl...@gmail.com> wrote:
> 
> 
> Thanks for checking, John. I'd like to have forecasting, but really don't 
> want to have to find and tweak a new skin.
> 
>> On Saturday, July 18, 2020 at 7:40:36 PM UTC-7, John Kline wrote:
>> I found it.
>> 
>> I get errors without adding ForecastVariables.  I’ll have a quick further 
>> look.
>> 
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> **** Ignoring template /home/weewx/skins/exfoliation/index.html.tmpl         
>>                 
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> **** Reason: '>' not supported between instances of 'str' and 'int'          
>>                 
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> ****  Traceback (most recent call last):                                     
>>                 
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> ****    File "/home/weewx/bin/weewx/cheetahgenerator.py", line 321, in 
>> generate              
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> ****      unicode_string = compiled_template.respond()                       
>>                 
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> ****    File "_home_weewx_skins_exfoliation_index_html_tmpl.py", line 1292, 
>> in respond       
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> ****    File "_home_weewx_skins_exfoliation_index_html_tmpl.py", line 497, 
>> in __errorCatcher43                                                          
>>                                                                              
>>                                   
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> ****    File "<string>", line 1, in <module>                                 
>>                 
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> ****    File "_home_weewx_skins_exfoliation_index_html_tmpl.py", line 187, 
>> in get_windspeed_trend                                                       
>>                                                                              
>>                                   
>> Jul 18 19:34:05 judygirldog wee_reports[18730] ERROR weewx.cheetahgenerator: 
>> ****  TypeError: '>' not supported between instances of 'str' and 'int'      
>>                 
>> Jul 18 19:34:07 judygirldog wee_reports[18730] INFO weewx.cheetahgenerator: 
>> Generated 8 files for report exfoliation in 3.22 seconds                     
>>                  
>> Jul 18 19:34:19 judygirldog wee_reports[18730] INFO weewx.imagegenerator: 
>> Generated 68 images for report exfoliation in 11.41 seconds                  
>>                    
>> Jul 18 19:34:19 judygirldog wee_reports[18730] INFO weewx.reportengine: 
>> Copied 92 files to /home/weewx/public_html/exfoliation                       
>>                      
>> 
>> 
>> 
>>>> On Jul 18, 2020, at 7:26 PM, John Kline <jo...@johnkline.com> wrote:
>>>> 
>>> 
>>> Do you see the forecast reports?
>>> 
>>> Where did you get exfoliation 0.45?
>>> Is it WeeWX 4 compatible?  If it is, I’ll give it a try.
>>> 
>>>>> On Jul 18, 2020, at 7:18 PM, Arne Berglund <arne.a...@gmail.com> wrote:
>>>>> 
>>>> 
>>>> Thanks for that link. Unfortunately, it still gives an error.
>>>> 
>>>> Everything seems to work fine, until I add the search_list_extensions into 
>>>> skin.conf (using exfoliation 0.45).
>>>> 
>>>> When I add the third line here:
>>>> 
>>>> [CheetahGenerator]
>>>>     encoding = html_entities
>>>>     search_list_extensions = user.forecast.ForecastVariables
>>>> 
>>>> I get the following error in the log:
>>>> 
>>>> Jul 18 19:11:18 localhost journal[14057]: weewx[14057] ERROR 
>>>> weewx.cheetahgenerator: Generate failed with exception '<class 
>>>> 'TypeError'>'
>>>> Jul 18 19:11:18 localhost journal[14057]: weewx[14057] ERROR 
>>>> weewx.cheetahgenerator: **** Ignoring template 
>>>> /etc/weewx/skins/exfoliation/index.html.tmpl
>>>> Jul 18 19:11:18 localhost journal[14057]: weewx[14057] ERROR 
>>>> weewx.cheetahgenerator: **** Reason: '>' not supported between instances 
>>>> of 'NoneType' and 'int'
>>>> Jul 18 19:11:18 localhost journal[14057]: weewx[14057] ERROR 
>>>> weewx.cheetahgenerator: ****  Traceback (most recent call last):
>>>> Jul 18 19:11:18 localhost journal[14057]: weewx[14057] ERROR 
>>>> weewx.cheetahgenerator: ****    File 
>>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 322, in generate
>>>> Jul 18 19:11:18 localhost journal[14057]: weewx[14057] ERROR 
>>>> weewx.cheetahgenerator: ****      unicode_string = 
>>>> compiled_template.respond()
>>>> Jul 18 19:11:18 localhost journal[14057]: weewx[14057] ERROR 
>>>> weewx.cheetahgenerator: ****    File 
>>>> "_etc_weewx_skins_exfoliation_index_html_tmpl.py", line 1092, in respond
>>>> Jul 18 19:11:18 localhost journal[14057]: weewx[14057] ERROR 
>>>> weewx.cheetahgenerator: ****  TypeError: '>' not supported between 
>>>> instances of 'NoneType' and 'int'
>>>> 
>>>> Have I done something boneheaded?
>>>> -- 
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/b484de7a-7d6c-4697-aa06-5be860f51354o%40googlegroups.com.
> 
> -- 
> 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/cbf64ac7-7657-48af-aad5-8e295821ac0fo%40googlegroups.com.

-- 
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/E78885E3-6AF6-45B3-95D9-64FAE1EF8F2D%40johnkline.com.

Reply via email to