Thank you, sorry should've looked that up on bug with 3.4.

I realized I needed to update the weewx.conf HTML_ROOT section after 
posting. All is working now, thank you David!

On Saturday, January 13, 2024 at 6:58:24 PM UTC-5 David Bätge wrote:

> *Just upgraded to the new 3.4.0 skin (from 3.1.1). I am getting the 
> following error when the reports run.*
>
> This bug was introduced with 3.4, please see here: 
> https://github.com/Daveiano/weewx-wdc/issues/191#issuecomment-1877890285 
> or 
> https://github.com/Daveiano/weewx-wdc/discussions/218#discussioncomment-7470782
>
> *I also changed the base path in skin.conf to /weewx/wdc/ and still trying 
> to send the generated files to /weewx/*
>
> You want to change the HTML_ROOT, not the base_path. See 
> https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
>  
> or 
> https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
>  
> and https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras
>
> tarob...@gmail.com schrieb am Freitag, 12. Januar 2024 um 21:35:44 UTC+1:
>
>> Just upgraded to the new 3.4.0 skin (from 3.1.1). I am getting the 
>> following error when the reports run.
>>
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> Evaluation of template /etc/weewx/skins/weewx-wdc/index.html.tmpl failed 
>> with exception '<class 'ValueError'>'
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> **** Ignoring template /etc/weewx/skins/weewx-wdc/index.html.tmpl
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> **** Reason: could not convert string to float: 'geocode=34.743313'
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****  Traceback (most recent call last):
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in 
>> generate
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****      unicode_string = compiled_template.respond()
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "_etc_weewx_skins_weewx_wdc_index_html_tmpl.py", line 267, in 
>> respond
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
>> 1708, in _handleCheetahInclude
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", 
>> line 286, in respond
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
>> 1708, in _handleCheetahInclude
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "_etc_weewx_skins_weewx_wdc_includes_forecast_inc.py", line 
>> 256, in respond
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
>> 1708, in _handleCheetahInclude
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "_etc_weewx_skins_weewx_wdc_includes_forecast_table_inc.py", 
>> line 1749, in respond
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "_etc_weewx_skins_weewx_wdc_includes_forecast_table_inc.py", 
>> line 520, in __errorCatcher65
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****    File "<string>", line 1, in <module>
>> Jan 12 15:30:34 raspberrypiNAS weewx[19495] ERROR weewx.cheetahgenerator: 
>> ****  ValueError: could not convert string to float: 'geocode=34.743313'
>> Jan 12 15:30:50 raspberrypiNAS weewx[19495] INFO weewx.cheetahgenerator: 
>> Generated 11 files for report WdcReport in 19.02 seconds
>> Jan 12 15:30:50 raspberrypiNAS weewx[19495] INFO weewx.reportengine: 
>> Copied 0 files to /var/www/html/weewx
>>
>> I also changed the base path in skin.conf to /weewx/wdc/ and still trying 
>> to send the generated files to /weewx/
>>
>> Thanks,
>> Troy
>>
>> On Sunday, August 27, 2023 at 10:14:41 AM UTC-4 David Bätge wrote:
>>
>>> Hi Mau,
>>>
>>> yes, the wiki realy includes a lot of information. I guess you are 
>>> missing the base_path setting, see 
>>> https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
>>>  
>>> and https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras
>>>
>>>
>>>
>>> Mau Hernandez schrieb am Mittwoch, 23. August 2023 um 01:00:26 UTC+2:
>>>
>>>> I just found your Wiki! <https://github.com/Daveiano/weewx-wdc/wiki> Will 
>>>> give that a shot! 
>>>>
>>>> On Tuesday, August 22, 2023 at 3:45:36 PM UTC-7 Mau Hernandez wrote:
>>>>
>>>>> Hi David,
>>>>>
>>>>> New user of WeeWx and found this thread with your Skin which Im trying 
>>>>> to install. I saw above that data might be needed so hopefully that 
>>>>> explains why Im getting a blank page but the Menu's are showing.
>>>>>
>>>>> I used the DEB package to do fresh install in a Debian machine. 
>>>>> Everything was setup and accesible at http://IP/weewx/. When I select 
>>>>> any submenu on the skin I see it goes back to root 
>>>>> http://IP/about.html so I probably missed a sym-link during setup? (
>>>>> http://IP/weewx/about.html should be the correct? ) 
>>>>>
>>>>> Thanks for your help
>>>>>
>>>>> [image: Screenshot 2023-08-22 at 3.37.53 PM.png]
>>>>> On Friday, August 18, 2023 at 7:17:21 AM UTC-7 David Bätge wrote:
>>>>>
>>>>>> Great, I will include the change in the next release! 
>>>>>>
>>>>>> gert.a...@gmail.com schrieb am Freitag, 18. August 2023 um 13:44:22 
>>>>>> UTC+2:
>>>>>>
>>>>>>> Hi David
>>>>>>>
>>>>>>> I was to fast, it seems to work with the new main.ja.
>>>>>>>
>>>>>>> Thanks for that
>>>>>>>
>>>>>>> Gert
>>>>>>>
>>>>>>> On Friday, August 18, 2023 at 12:44:22 PM UTC+2 gert.a...@gmail.com 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi David
>>>>>>>> Unfortunately, the new main.js, did not solve the problem as you 
>>>>>>>> can see. The WindRose seems fine
>>>>>>>>
>>>>>>>> Rgds
>>>>>>>> Gert
>>>>>>>>
>>>>>>>> On Friday, August 18, 2023 at 12:02:36 PM UTC+2 David Bätge wrote:
>>>>>>>>
>>>>>>>>> You can right-click the link and choose "Save as" or open the file 
>>>>>>>>> in the browser and hit "Strg+S" if on Windows or Linux.
>>>>>>>>>
>>>>>>>>> The problem with this menu is that you can not scroll the sidebar. 
>>>>>>>>> The sidebar should be scrollable so you can access all the items, but 
>>>>>>>>> that's not the case. I added 
>>>>>>>>> https://github.com/Daveiano/weewx-wdc/issues/193 for this, will 
>>>>>>>>> have a look soon!
>>>>>>>>>
>>>>>>>>> gert.a...@gmail.com schrieb am Freitag, 18. August 2023 um 
>>>>>>>>> 07:10:37 UTC+2:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hi David
>>>>>>>>>> Thanks for the prompt answer.
>>>>>>>>>>
>>>>>>>>>> The link you provided will just open the file in the browser. so 
>>>>>>>>>> I'm not able to download the file.
>>>>>>>>>>
>>>>>>>>>> Is it possible to move the the Archive and NOAA Reports Menu to 
>>>>>>>>>> the upper Menu line, besides the Year Menu. As you can see from the 
>>>>>>>>>> screenshot, I can't see the last months of the NOAA report and i's 
>>>>>>>>>> not 
>>>>>>>>>> possible to scroll in the left menu.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>> Gert
>>>>>>>>>> On Friday, August 18, 2023 at 2:26:37 AM UTC+2 David Bätge wrote:
>>>>>>>>>>
>>>>>>>>>>> I just noticed you are using custom ordinate labels - I just 
>>>>>>>>>>> tested this out and noticed that special characters are not handled 
>>>>>>>>>>> properly in the legend labels.
>>>>>>>>>>>
>>>>>>>>>>> I made a change to the main.js file, you can download the 
>>>>>>>>>>> updated file here: 
>>>>>>>>>>> https://public-images-social.s3.eu-west-1.amazonaws.com/main.js
>>>>>>>>>>> I tried to attach the file here but the messages were deleted...
>>>>>>>>>>>
>>>>>>>>>>> You need to replace the original file at the skins install 
>>>>>>>>>>> location (see 
>>>>>>>>>>> https://weewx.com/docs/latest/usersguide.htm#Where_to_find_things), 
>>>>>>>>>>> at eg. /etc/weewx/skins/weewx-wdc/dist/main.js
>>>>>>>>>>>
>>>>>>>>>>> If this fixes the issue, I will include this in the release.
>>>>>>>>>>> David Bätge schrieb am Freitag, 18. August 2023 um 02:06:42 
>>>>>>>>>>> UTC+2:
>>>>>>>>>>>
>>>>>>>>>>>> Ok, I have never seen this behaviour before.
>>>>>>>>>>>>
>>>>>>>>>>>> Could you please set 
>>>>>>>>>>>> [DisplayOptions]diagram_tile_winddir_ordinal to False, and 
>>>>>>>>>>>> post back what the legend shows?
>>>>>>>>>>>> gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 um 
>>>>>>>>>>>> 22:20:59 UTC+2:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi
>>>>>>>>>>>>> I'm missing the compass direction where the letter "Ø" is, but 
>>>>>>>>>>>>> only in the first chart . The windrose is ok.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Any ideas how to get the direction in the first chart?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>> gert
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thursday, August 17, 2023 at 1:32:43 PM UTC+2 David Bätge 
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Great! 
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> You can run the skin wherever you want, but if it's not in 
>>>>>>>>>>>>>> the root of the webserver, you have to tell the skin, see here: 
>>>>>>>>>>>>>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> David
>>>>>>>>>>>>>> gert.a...@gmail.com schrieb am Donnerstag, 17. August 2023 
>>>>>>>>>>>>>> um 13:02:56 UTC+2:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi David
>>>>>>>>>>>>>>> I copied a database from another system with  4 years of 
>>>>>>>>>>>>>>> data and the that helped. I can now start further testing.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> It seems that I need to run the skin from the webservers 
>>>>>>>>>>>>>>> root and not from a directory under the webservers root. Is 
>>>>>>>>>>>>>>> that right?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Gert
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Thursday, August 17, 2023 at 2:16:15 AM UTC+2 David Bätge 
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Gert,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I just spotted this the line before where the error was 
>>>>>>>>>>>>>>>> triggered:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> # todo: division by zero
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> If I remember correctly, this could be possible if you have 
>>>>>>>>>>>>>>>> less than 1 day of data in your archive. I assume you are 
>>>>>>>>>>>>>>>> using a new 
>>>>>>>>>>>>>>>> installation with no data? So it "should" work tomorrow, I 
>>>>>>>>>>>>>>>> guess. The error 
>>>>>>>>>>>>>>>> is only triggered from the statistics page and there is no 
>>>>>>>>>>>>>>>> other error?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I think I noticed this while testing, but forgot to fix 
>>>>>>>>>>>>>>>> it... Anyway, I finally added an issue for this: 
>>>>>>>>>>>>>>>> https://github.com/Daveiano/weewx-wdc/issues/192
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> For the weewx 5 part: I did not get any time to test the 
>>>>>>>>>>>>>>>> skin with the new version, so I am quite happy there are no 
>>>>>>>>>>>>>>>> errors yet ;)
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> David
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> gert.a...@gmail.com schrieb am Mittwoch, 16. August 2023 
>>>>>>>>>>>>>>>> um 23:20:46 UTC+2:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>>> I'm trying to install the template using  WeeWx 5.0.0b10. 
>>>>>>>>>>>>>>>>> I copied the skin files to the relevant WeeWx directories and 
>>>>>>>>>>>>>>>>> created the 
>>>>>>>>>>>>>>>>> stanza in weewx.conf. as you can see from the attached 
>>>>>>>>>>>>>>>>> syslog, there were 
>>>>>>>>>>>>>>>>> errors.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I installed WeeWx using pip, so WeeWx is unning in a 
>>>>>>>>>>>>>>>>> virtual environmrnt
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Any ideas?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Gert
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Wednesday, August 16, 2023 at 2:17:52 AM UTC+2 David 
>>>>>>>>>>>>>>>>> Bätge wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> The error indicates that the observation type is unknown, 
>>>>>>>>>>>>>>>>>> in that case, cloudbase. The skin should not attempt to 
>>>>>>>>>>>>>>>>>> display data for an 
>>>>>>>>>>>>>>>>>> observation that has no data - so there seems to be 
>>>>>>>>>>>>>>>>>> something wrong here.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Could you please remove cloudbase from 
>>>>>>>>>>>>>>>>>> [DisplayOptions][[diagrams]][[[day]]][[[[observations]]]] 
>>>>>>>>>>>>>>>>>> in skin.conf?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> If this does not help, you can try to remove cloudbase 
>>>>>>>>>>>>>>>>>> also from [DisplayOptions]table_tile_observations and 
>>>>>>>>>>>>>>>>>> [DisplayOptions]stat_tile_observations.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> This error really only appears for the index page?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Eirik Skorstad schrieb am Dienstag, 15. August 2023 um 
>>>>>>>>>>>>>>>>>> 17:05:11 UTC+2:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.431510+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: **** 
>>>>>>>>>>>>>>>>>>> Ignoring template 
>>>>>>>>>>>>>>>>>>> /home/weewx/skins/weewx-wdc/index.html.tmpl
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.431625+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: **** 
>>>>>>>>>>>>>>>>>>> Reason: 'cloudbase' 
>>>>>>>>>>>>>>>>>>> or 'avg'
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.434142+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****  
>>>>>>>>>>>>>>>>>>> Traceback (most 
>>>>>>>>>>>>>>>>>>> recent call last):
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.434253+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File 
>>>>>>>>>>>>>>>>>>> "/home/weewx/bin/weewx/cheetahgenerator.py", line 348, in 
>>>>>>>>>>>>>>>>>>> generate
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.434352+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****      
>>>>>>>>>>>>>>>>>>> unicode_string 
>>>>>>>>>>>>>>>>>>> = compiled_template.respond()
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.434442+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****      
>>>>>>>>>>>>>>>>>>>                
>>>>>>>>>>>>>>>>>>>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.434547+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File 
>>>>>>>>>>>>>>>>>>> "_home_weewx_skins_weewx_wdc_index_html_tmpl.py", line 267, 
>>>>>>>>>>>>>>>>>>> in respond
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.434657+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File 
>>>>>>>>>>>>>>>>>>> "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
>>>>>>>>>>>>>>>>>>> 1708, in 
>>>>>>>>>>>>>>>>>>> _handleCheetahInclude
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.434749+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****     
>>>>>>>>>>>>>>>>>>>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.434844+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File 
>>>>>>>>>>>>>>>>>>> "_home_weewx_skins_weewx_wdc_includes_body_alternative_inc.py",
>>>>>>>>>>>>>>>>>>>  line 326, 
>>>>>>>>>>>>>>>>>>> in respond
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435088+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File 
>>>>>>>>>>>>>>>>>>> "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
>>>>>>>>>>>>>>>>>>> 1708, in 
>>>>>>>>>>>>>>>>>>> _handleCheetahInclude
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435180+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****     
>>>>>>>>>>>>>>>>>>>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435278+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File 
>>>>>>>>>>>>>>>>>>> "_home_weewx_skins_weewx_wdc_includes_diagram_tile_inc.py", 
>>>>>>>>>>>>>>>>>>> line 240, in 
>>>>>>>>>>>>>>>>>>> respond
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435372+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File 
>>>>>>>>>>>>>>>>>>> "_home_weewx_skins_weewx_wdc_includes_diagram_tile_inc.py", 
>>>>>>>>>>>>>>>>>>> line 106, in 
>>>>>>>>>>>>>>>>>>> __errorCatcher6
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435499+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File "<string>", 
>>>>>>>>>>>>>>>>>>> line 1, in <module>
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435580+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File 
>>>>>>>>>>>>>>>>>>> "/home/weewx/bin/user/weewx_wdc.py", line 1314, in 
>>>>>>>>>>>>>>>>>>> get_diagram_data
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435673+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****      
>>>>>>>>>>>>>>>>>>> obs_start_vt, 
>>>>>>>>>>>>>>>>>>> obs_stop_vt, obs_vt = weewx.xtypes.get_series(
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435772+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****      
>>>>>>>>>>>>>>>>>>>                
>>>>>>>>>>>>>>>>>>>                      ^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435867+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****    
>>>>>>>>>>>>>>>>>>> File 
>>>>>>>>>>>>>>>>>>> "/home/weewx/bin/weewx/xtypes.py", line 116, in get_series
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.435963+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****      
>>>>>>>>>>>>>>>>>>> raise 
>>>>>>>>>>>>>>>>>>> weewx.UnknownType(msg)
>>>>>>>>>>>>>>>>>>> 2023-08-15T16:56:50.436057+02:00 odin 
>>>>>>>>>>>>>>>>>>> wee_reports[334303] ERROR weewx.cheetahgenerator: ****  
>>>>>>>>>>>>>>>>>>> weewx.UnknownType: 
>>>>>>>>>>>>>>>>>>> 'cloudbase' or 'avg'
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> tirsdag 15. august 2023 kl. 14:49:45 UTC+2 skrev Eirik 
>>>>>>>>>>>>>>>>>>> Skorstad:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I think I just answered your post in a private reply to 
>>>>>>>>>>>>>>>>>>>> you. Just CC it in to the post if you like to. 
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> tirsdag 15. august 2023 kl. 03:04:13 UTC+2 skrev David 
>>>>>>>>>>>>>>>>>>>> Bätge:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I assume you are using the current version 3.3.0? The 
>>>>>>>>>>>>>>>>>>>>> error indicates that WeeWX can not find 
>>>>>>>>>>>>>>>>>>>>> the search_list_extensions user.weewx_wdc.WdcGeneralUtil. 
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Any chance you are using an old skin.conf file? Please 
>>>>>>>>>>>>>>>>>>>>> compare with 
>>>>>>>>>>>>>>>>>>>>> https://github.com/Daveiano/weewx-wdc/blob/v3.3.0/skins/weewx-wdc/skin.conf
>>>>>>>>>>>>>>>>>>>>> Or, perhaps, have you overwritten the  
>>>>>>>>>>>>>>>>>>>>> search_list_extensions  config for the skin via 
>>>>>>>>>>>>>>>>>>>>> weewx.conf?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Would be great if you could post the relevant section 
>>>>>>>>>>>>>>>>>>>>> from weewx.conf and your current skin.conf so I could 
>>>>>>>>>>>>>>>>>>>>> have a look.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Eirik Skorstad schrieb am Sonntag, 13. August 2023 um 
>>>>>>>>>>>>>>>>>>>>> 23:04:37 UTC+2:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Evaluation of template 
>>>>>>>>>>>>>>>>>>>>>> /home/weewx/skins/weewx-wdc/index.html.tmpl failed.
>>>>>>>>>>>>>>>>>>>>>> 2023-08-13T23:00:40.303871+02:00 odin weewx[251007] 
>>>>>>>>>>>>>>>>>>>>>> ERROR weewx.cheetahgenerator: **** Ignoring template 
>>>>>>>>>>>>>>>>>>>>>> /home/weewx/skins/weewx-wdc/index.html.tmpl
>>>>>>>>>>>>>>>>>>>>>> 2023-08-13T23:00:40.304352+02:00 odin weewx[251007] 
>>>>>>>>>>>>>>>>>>>>>> ERROR weewx.cheetahgenerator: **** Reason: cannot find 
>>>>>>>>>>>>>>>>>>>>>> 'get_windrose_enabled'
>>>>>>>>>>>>>>>>>>>>>> 2023-08-13T23:00:40.304456+02:00 odin weewx[251007] 
>>>>>>>>>>>>>>>>>>>>>> ERROR weewx.cheetahgenerator: **** To debug, try 
>>>>>>>>>>>>>>>>>>>>>> inserting '#errorCatcher 
>>>>>>>>>>>>>>>>>>>>>> Echo' at top of template
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Skin is not generating any of the templates. Why is 
>>>>>>>>>>>>>>>>>>>>>> that? 
>>>>>>>>>>>>>>>>>>>>>> torsdag 8. juni 2023 kl. 11:22:50 UTC+2 skrev Greg 
>>>>>>>>>>>>>>>>>>>>>> from Oz:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Yes that works.
>>>>>>>>>>>>>>>>>>>>>>> I did a grep of the whole directory and sub 
>>>>>>>>>>>>>>>>>>>>>>> directories looking for that and missed it.
>>>>>>>>>>>>>>>>>>>>>>> But I was looking for get_base_path and not just 
>>>>>>>>>>>>>>>>>>>>>>> base_path
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Thanks again.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Thursday, 8 June 2023 at 19:05:48 UTC+10 David 
>>>>>>>>>>>>>>>>>>>>>>> Bätge wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Greg!  Please set the base_path in skin.conf to 
>>>>>>>>>>>>>>>>>>>>>>>> '/wdc/':
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> base_path = /wdc/
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> See 
>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath
>>>>>>>>>>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>>>>>>>>>>> and 
>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras.
>>>>>>>>>>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>>>>>>>>>>> This should resolve the problem.
>>>>>>>>>>>>>>>>>>>>>>>> Greg from Oz schrieb am Donnerstag, 8. Juni 2023 um 
>>>>>>>>>>>>>>>>>>>>>>>> 10:53:53 UTC+2:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I am testing the wdc skin and have set the html 
>>>>>>>>>>>>>>>>>>>>>>>>> document root to /var/www/html/weather/wdc
>>>>>>>>>>>>>>>>>>>>>>>>> If I go to https://weather.ubeaut.work/wdc/ 
>>>>>>>>>>>>>>>>>>>>>>>>> (because I am testing and want to leave my other 
>>>>>>>>>>>>>>>>>>>>>>>>> webpages) it shows the wdc 
>>>>>>>>>>>>>>>>>>>>>>>>> index.html which is good.
>>>>>>>>>>>>>>>>>>>>>>>>> If I click on any of the menu items eg Today  week 
>>>>>>>>>>>>>>>>>>>>>>>>> month it takes me to my other web page. Yesterday 
>>>>>>>>>>>>>>>>>>>>>>>>> doesn't work because on 
>>>>>>>>>>>>>>>>>>>>>>>>> my other webpage there isn't a yesterday web page.
>>>>>>>>>>>>>>>>>>>>>>>>> I suspect it is because of the $get_base_path 
>>>>>>>>>>>>>>>>>>>>>>>>> which would be https://weather.ubeaut.work in 
>>>>>>>>>>>>>>>>>>>>>>>>> this case.
>>>>>>>>>>>>>>>>>>>>>>>>> How or where can I change this to be 
>>>>>>>>>>>>>>>>>>>>>>>>> https://weather.ubeaut.work/wdc so I can test it 
>>>>>>>>>>>>>>>>>>>>>>>>> out?
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Monday, 3 April 2023 at 00:31:31 UTC+10 
>>>>>>>>>>>>>>>>>>>>>>>>> gary....@gmail.com wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Version 3.1.1 has been released and this is now 
>>>>>>>>>>>>>>>>>>>>>>>>>> one of the nicest skins I've used.
>>>>>>>>>>>>>>>>>>>>>>>>>> Clear text, excellent graphs, histograms, live 
>>>>>>>>>>>>>>>>>>>>>>>>>> data from MQTT.
>>>>>>>>>>>>>>>>>>>>>>>>>> Scales well to tablets.
>>>>>>>>>>>>>>>>>>>>>>>>>> For my needs, replaced the Belchertown skin.
>>>>>>>>>>>>>>>>>>>>>>>>>> On Friday, August 5, 2022 at 10:43:52 AM UTC-4 
>>>>>>>>>>>>>>>>>>>>>>>>>> Andrea Di Saverio wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Sorry for my late replay.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Yes, the suggestion solved my problem. I was not 
>>>>>>>>>>>>>>>>>>>>>>>>>>> installing as root user.
>>>>>>>>>>>>>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Il giorno giovedì 4 agosto 2022 alle 01:46:26 
>>>>>>>>>>>>>>>>>>>>>>>>>>> UTC+2 david....@gmail.com ha scritto:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> @disaveri Did this solve your problem?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Btw: I released 2.0.1 which resolves the 
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "non-web-root"-issue, the "Pressure diagram with 
>>>>>>>>>>>>>>>>>>>>>>>>>>>> inHg unit"-issue and 
>>>>>>>>>>>>>>>>>>>>>>>>>>>> includes a few other bugfixes: 
>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks for your input!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> vince schrieb am Dienstag, 2. August 2022 um 
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 00:54:05 UTC+2:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Monday, August 1, 2022 at 3:32:23 PM UTC-7 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> disaveri...@gmail.com wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  the root cause is possibly something else?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Yes.  The 'root' cause indeed. 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> See the  FAQ - 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/weewx/weewx/wiki/faq-permission-denied
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>

-- 
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/966840ac-b50f-451d-a000-e213ccc2b3b2n%40googlegroups.com.

Reply via email to