[weewx-user] Re: WDC Skin

2024-08-26 Thread cbergy
 Ok,  thanks to a user of this group (thanks again) I'm able to post here 
the "solution", in the case someone else should be stuck in this situation.

Simply, when I installed weewx-wdc skin I didn't properly set up the 
base_path config variable, and since NOAA and monthly reports will not be 
regenerated at each run they still used the old and wrong base_path.
 
Completely deleting the output folder and waiting for the next run solved 
my issue. 

Now everything works fine and if you like you can see it running here: 
https://www.claudiobergero.it/meteo/index.html

Many thanks again.


Il giorno lunedì 26 agosto 2024 alle 13:01:21 UTC+2 cbergy ha scritto:

> Hi all,
>
> I've a strange problem with weewx-wdc.
>
> I installed the skin in order to replace my old one, actually weewx-wdc 
> it's up and running and you can see the result at 
> https://www.claudiobergero.it/meteo/wdc/
> It seems to work fine, except for archive reports: if I click on a month 
> in the left menu it doesn't work, and if I open the browser developer 
> console I can see errors coming out, like:
>
> GET https://www.claudiobergero.it/dist/main.css net::ERR_ABORTED 404 (Not 
> Found)
> month-2018-02.html:25 
> GET https://www.claudiobergero.it/plotly-custom-build.min.js 
> net::ERR_ABORTED 404 (Not Found)
> month-2018-02.html:3085 
> GET https://www.claudiobergero.it/dist/main.js net::ERR_ABORTED 404 (Not 
> Found)
> /manifest.json:1 
> GET https://www.claudiobergero.it/manifest.json 404 (Not Found)
>
> It seems to ignore base_path in skin.conf (by the way, its' base_path = 
> /meteo/wdc/ )
>
> Any idea on what is not working, and how to solve?
> Many thanks
>
> Il giorno sabato 14 maggio 2022 alle 13:13:39 UTC+2 David Bätge ha scritto:
>
>> Hi guys!
>>
>> I just wanted to do some advertisement for a new weewx Skin, I developed: 
>> https://github.com/Daveiano/weewx-wdc
>>
>> The visual part is based on another weather app, I wrote earlier this 
>> year: https://daveiano.github.io/weather-data-center/
>>
>> Please feel free to check it out, a working demo is hosted here: 
>> https://www.weewx-hbt.de/
>>
>> Key features included:
>> - Clear and beautiful UI thanks to IBM Carbon and nivo
>> - Configurable Statistic Tiles and Diagram tiles
>> - Combinable diagrams via skin.conf
>> - Responsive
>> - Day, week, month, year and all-time pages
>> - Archive and NOAA Reports
>> - Almanac
>> - Translated for DE and EN
>> - Tabular representation with Carbon Data Tables
>>
>> I consider the skin as feature-complete but I will do some updates in the 
>> coming weeks to optimize some things like responsiveness or perhaps add 
>> some more statistics. 
>>
>> I am a software developer but I never worked with python before. I have 
>> been looking for an opportunity to work with python for a long time, so 
>> working with weewx and creating a skin did that for me. I am really caught 
>> by how things work together in weewx, a great piece of software.
>>
>

-- 
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/f0a3d99a-2e53-4b04-ac39-4dba622d0f45n%40googlegroups.com.


[weewx-user] Re: WDC Skin

2024-08-26 Thread cbergy
Hi all,

I've a strange problem with weewx-wdc.

I installed the skin in order to replace my old one, actually weewx-wdc 
it's up and running and you can see the result at 
https://www.claudiobergero.it/meteo/wdc/
It seems to work fine, except for archive reports: if I click on a month in 
the left menu it doesn't work, and if I open the browser developer console 
I can see errors coming out, like:

GET https://www.claudiobergero.it/dist/main.css net::ERR_ABORTED 404 (Not 
Found)
month-2018-02.html:25 
GET https://www.claudiobergero.it/plotly-custom-build.min.js 
net::ERR_ABORTED 404 (Not Found)
month-2018-02.html:3085 
GET https://www.claudiobergero.it/dist/main.js net::ERR_ABORTED 404 (Not 
Found)
/manifest.json:1 
GET https://www.claudiobergero.it/manifest.json 404 (Not Found)

It seems to ignore base_path in skin.conf (by the way, its' base_path = 
/meteo/wdc/ )

Any idea on what is not working, and how to solve?
Many thanks

Il giorno sabato 14 maggio 2022 alle 13:13:39 UTC+2 David Bätge ha scritto:

> Hi guys!
>
> I just wanted to do some advertisement for a new weewx Skin, I developed: 
> https://github.com/Daveiano/weewx-wdc
>
> The visual part is based on another weather app, I wrote earlier this 
> year: https://daveiano.github.io/weather-data-center/
>
> Please feel free to check it out, a working demo is hosted here: 
> https://www.weewx-hbt.de/
>
> Key features included:
> - Clear and beautiful UI thanks to IBM Carbon and nivo
> - Configurable Statistic Tiles and Diagram tiles
> - Combinable diagrams via skin.conf
> - Responsive
> - Day, week, month, year and all-time pages
> - Archive and NOAA Reports
> - Almanac
> - Translated for DE and EN
> - Tabular representation with Carbon Data Tables
>
> I consider the skin as feature-complete but I will do some updates in the 
> coming weeks to optimize some things like responsiveness or perhaps add 
> some more statistics. 
>
> I am a software developer but I never worked with python before. I have 
> been looking for an opportunity to work with python for a long time, so 
> working with weewx and creating a skin did that for me. I am really caught 
> by how things work together in weewx, a great piece of software.
>

-- 
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/e97476b7-1bc0-49a1-a397-c684ea527ac2n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2024-01-14 Thread tarob...@gmail.com
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 ''
>> 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 "", line 1, in 
>> 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:

Re: [weewx-user] Re: WDC Skin

2024-01-13 Thread David Bätge
*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 ''
> 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 "", line 1, in 
> 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!  Will 
>>> give that a shot! 
>>>
>>> On Tuesday, August 22, 2023 at 3:45:36 PM UTC-7 Mau Hernandez wrote:
>>>
 Hi David,

 New

Re: [weewx-user] Re: WDC Skin

2024-01-12 Thread tarob...@gmail.com
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 ''
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 "", line 1, in 
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!  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 f

Re: [weewx-user] Re: WDC Skin

2023-08-27 Thread David Bätge
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!  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  

Re: [weewx-user] Re: WDC Skin

2023-08-22 Thread Mau Hernandez
I just found your 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 w

Re: [weewx-user] Re: WDC Skin

2023-08-18 Thread David Bätge
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 
>>>

Re: [weewx-user] Re: WDC Skin

2023-08-18 Thread gert.a...@gmail.com
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?
>>
>> 

Re: [weewx-user] Re: WDC Skin

2023-08-18 Thread David Bätge
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]t

Re: [weewx-user] Re: WDC Skin

2023-08-17 Thread gert.a...@gmail.com

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'
> 2

[weewx-user] Re: WDC skin date format

2023-08-17 Thread Greg from Oz
Yes that fixed it.
https://weather.ubeaut.work/wdc/month-2022-08.html
Thanks.

On Friday, 18 August 2023 at 09:57:42 UTC+10 David Bätge wrote:

> Hi Greg,
>
> you are referring to the heading on the month page "/month.html" and the 
> month-archive pages, eg "/month-2021-07.html", right?
>
> These Headings at the top of the page use the same format, both use the 
> setting defined in skin.conf [Units][[TimeFormats]]month (see 
> https://github.com/Daveiano/weewx-wdc/blob/3.x/skins/weewx-wdc/skin.conf#L636
> ):
>
> [Units]
> [[TimeFormats]]
> # @see https://weewx.com/docs/customizing.htm#Units_TimeFormats
> day= %X
> week   = %x
> month  = %x
> year   = %x
> rainyear   = %x
> current= %x %X
> ephem_day  = %X
> ephem_year = %x
> stats  = %x %X
> daily_archive = %Y-%m-%d
>
> There was a change in the date format in one of the latest releases if I 
> remember correctly. There is a chance that your month archive pages use the 
> old format. This could be the case since these archive pages do not get 
> regenerated after the given archive period (even if templates or configs 
> are changed).
>
> To make sure this is not the case, please remove all month archive pages, 
> and wait for the next wee_report run or start the run by yourself.
>
> rm -rf /var/www/html/weewx/month*
>
>
> Greg from Oz schrieb am Donnerstag, 17. August 2023 um 05:01:58 UTC+2:
>
>> Hi,
>>
>> I have noticed the date format in the headings when I select day, 
>> yesterday,week,month,year are correct to how I want them. IE dd/mm/yyy
>>
>> Like this:
>> Monthly Weather Conditions
>> 01/08/23 00:00:00 - 31/08/23 23:59:59 
>>
>> But if I go to the Archive and NOAA sidebar and pick something then the 
>> date format changes to the US format mm/dd/yyy
>> Like this:
>> Monthly Weather Conditions 
>> 01/01/2023 12:00:00 AM - 01/31/2023 11:59:59 PM
>>
>> I have looked through the skin and tmpl files but cannot see anything 
>> that I can change.
>> I have noticed it looks like it picks up the date formatting from 
>> daily_archive 
>> = %Y-%m-%d in the skin but if that is so I would have expected the format 
>> to be /mm/dd which I would like as it is international ISO standard.
>>
>> Where is the format for the date set?
>>
>> Thanks
>>
>>

-- 
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/c0b4ef3b-2125-4103-9a67-7ec6b063d589n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-08-17 Thread David Bätge
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.

Re: [weewx-user] Re: WDC Skin

2023-08-17 Thread David Bätge
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 
>>> "_hom

[weewx-user] Re: WDC skin date format

2023-08-17 Thread David Bätge
Hi Greg,

you are referring to the heading on the month page "/month.html" and the 
month-archive pages, eg "/month-2021-07.html", right?

These Headings at the top of the page use the same format, both use the 
setting defined in skin.conf [Units][[TimeFormats]]month (see 
https://github.com/Daveiano/weewx-wdc/blob/3.x/skins/weewx-wdc/skin.conf#L636):

[Units]
[[TimeFormats]]
# @see https://weewx.com/docs/customizing.htm#Units_TimeFormats
day= %X
week   = %x
month  = %x
year   = %x
rainyear   = %x
current= %x %X
ephem_day  = %X
ephem_year = %x
stats  = %x %X
daily_archive = %Y-%m-%d

There was a change in the date format in one of the latest releases if I 
remember correctly. There is a chance that your month archive pages use the 
old format. This could be the case since these archive pages do not get 
regenerated after the given archive period (even if templates or configs 
are changed).

To make sure this is not the case, please remove all month archive pages, 
and wait for the next wee_report run or start the run by yourself.

rm -rf /var/www/html/weewx/month*


Greg from Oz schrieb am Donnerstag, 17. August 2023 um 05:01:58 UTC+2:

> Hi,
>
> I have noticed the date format in the headings when I select day, 
> yesterday,week,month,year are correct to how I want them. IE dd/mm/yyy
>
> Like this:
> Monthly Weather Conditions
> 01/08/23 00:00:00 - 31/08/23 23:59:59 
>
> But if I go to the Archive and NOAA sidebar and pick something then the 
> date format changes to the US format mm/dd/yyy
> Like this:
> Monthly Weather Conditions 
> 01/01/2023 12:00:00 AM - 01/31/2023 11:59:59 PM
>
> I have looked through the skin and tmpl files but cannot see anything that 
> I can change.
> I have noticed it looks like it picks up the date formatting from 
> daily_archive 
> = %Y-%m-%d in the skin but if that is so I would have expected the format 
> to be /mm/dd which I would like as it is international ISO standard.
>
> Where is the format for the date set?
>
> Thanks
>
>

-- 
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/6ea73ec1-462a-46e5-a4d3-e0ed519061f3n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-08-17 Thread David Bätge
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

Re: [weewx-user] Re: WDC Skin

2023-08-17 Thread gert.a...@gmail.com
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 "", line 1, in 
 2023-08-15T16:56:50.435580+02:00 odin wee_reports[334303] ERROR 
 weewx.cheetahgenerator: File "/home/

Re: [weewx-user] Re: WDC Skin

2023-08-16 Thread David Bätge
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 "", line 1, in 
>>> 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 odi

Re: [weewx-user] Re: WDC Skin

2023-08-16 Thread gert.a...@gmail.com
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 "", line 1, in 
>> 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 chan

Re: [weewx-user] Re: WDC Skin

2023-08-15 Thread David Bätge
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 "", line 1, in 
> 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 te

Re: [weewx-user] Re: WDC Skin

2023-08-15 Thread Eirik Skorstad
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 "", line 1, in 
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 directorie

Re: [weewx-user] Re: WDC Skin

2023-08-15 Thread 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/9968324e-6e11-4206-b52f-57eb366f70f4n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-08-14 Thread 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/db4eac93-de0d-4e36-9155-3b4fd9883564n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-08-13 Thread Eirik Skorstad
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/9ca5cc6a-e513-4df0-9f29-5e1fd1c158b7n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-06-08 Thread 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/d690e4ea-439a-4772-8b83-64527824bedfn%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-06-08 Thread David Bätge
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/211b9bac-f1ce-4ea3-9aae-0cc91af870a8n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-06-08 Thread Greg from Oz
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/9d6e0159-83d8-4a06-8ebc-e30af3842d96n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2023-04-02 Thread gary....@gmail.com
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/88b49132-df91-4836-b570-6f91e9fa66d4n%40googlegroups.com.


[weewx-user] Re: WDC skin v2.3.3

2023-02-28 Thread David Bätge
Yes that's because of a change in how weewx handles delta times, see 
here: 
http://www.weewx.com/docs/upgrading.htm#Breaking_changes_for_skins_that_use_delta_times

I added a short question/answer in the skins wiki about 
that: https://github.com/Daveiano/weewx-wdc/wiki#faq
Jim Munro schrieb am Dienstag, 28. Februar 2023 um 18:49:07 UTC+1:

> There are some other implications see thread 
> https://groups.google.com/g/weewx-user/c/J0aF5mzxcrE/m/CrR36ww3AgAJ
>
> On Tuesday, February 28, 2023 at 12:31:56 a.m. UTC-5 Jim Munro wrote:
>
>> Looks like in foot.inc
>> that you need 
>> $gettext("WeeWX uptime"): $station.uptime
>> $gettext("Server uptime"): $station.os_uptime
>> if weewx is version <4.10.0
>> On Monday, February 27, 2023 at 10:17:28 p.m. UTC-5 Jim Munro wrote:
>>
>>> Its been a while.  But I have just reinstalled 2.3.3 in a vbox docker 
>>> image.  The problem with the header and side bar seem to be gone but the 
>>> footer uptime doesn't seem right.  Please see attached.  The vbox image has 
>>> only been running approx 30 min.
>>>   
>>>
>>> On Monday, February 27, 2023 at 8:12:52 p.m. UTC-5 David Bätge wrote:
>>>
 Hi Jim, sorry for the late response. I am the author of the skin, do 
 you have still problems with running v2.3.3? I could have a look at why 
 the 
 page header and left sidebar are missing.

 Jim Munro schrieb am Freitag, 3. Februar 2023 um 01:46:56 UTC+1:

> After downloading and installing the WDC skin with  "wget -O 
> "/tmp/weewx-wdc.zip" 
> https://github.com/Daveiano/weewx-wdc/releases/download/v2.3.3/weewx-wdc-v2.3.3.zip";
>  
> and installing it per instructions,  the index.html page header and left 
> hand side bar would disappear (readings and charts seemed ok) after an 
> archive update.  No error message in the log.  I did see the header and 
> side bar for a short time but it soon disappeared.
> Removing v2.3.3 and installing v2.3.2 seemed to fix the problem.  
> Weewx 4.9.1 was running
> as a container on a docker host.
>


-- 
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/5743879b-1ec1-4371-bc6e-cef166e33ce0n%40googlegroups.com.


[weewx-user] Re: WDC skin v2.3.3

2023-02-28 Thread Jim Munro
There are some other implications see thread 
https://groups.google.com/g/weewx-user/c/J0aF5mzxcrE/m/CrR36ww3AgAJ

On Tuesday, February 28, 2023 at 12:31:56 a.m. UTC-5 Jim Munro wrote:

> Looks like in foot.inc
> that you need 
> $gettext("WeeWX uptime"): $station.uptime
> $gettext("Server uptime"): $station.os_uptime
> if weewx is version <4.10.0
> On Monday, February 27, 2023 at 10:17:28 p.m. UTC-5 Jim Munro wrote:
>
>> Its been a while.  But I have just reinstalled 2.3.3 in a vbox docker 
>> image.  The problem with the header and side bar seem to be gone but the 
>> footer uptime doesn't seem right.  Please see attached.  The vbox image has 
>> only been running approx 30 min.
>>   
>>
>> On Monday, February 27, 2023 at 8:12:52 p.m. UTC-5 David Bätge wrote:
>>
>>> Hi Jim, sorry for the late response. I am the author of the skin, do you 
>>> have still problems with running v2.3.3? I could have a look at why the 
>>> page header and left sidebar are missing.
>>>
>>> Jim Munro schrieb am Freitag, 3. Februar 2023 um 01:46:56 UTC+1:
>>>
 After downloading and installing the WDC skin with  "wget -O 
 "/tmp/weewx-wdc.zip" 
 https://github.com/Daveiano/weewx-wdc/releases/download/v2.3.3/weewx-wdc-v2.3.3.zip";
  
 and installing it per instructions,  the index.html page header and left 
 hand side bar would disappear (readings and charts seemed ok) after an 
 archive update.  No error message in the log.  I did see the header and 
 side bar for a short time but it soon disappeared.
 Removing v2.3.3 and installing v2.3.2 seemed to fix the problem.  Weewx 
 4.9.1 was running
 as a container on a docker host.

>>>

-- 
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/152713ab-50f7-405d-a8e4-342547715859n%40googlegroups.com.


[weewx-user] Re: WDC skin v2.3.3

2023-02-27 Thread Jim Munro
Looks like in foot.inc
that you need 
$gettext("WeeWX uptime"): $station.uptime
$gettext("Server uptime"): $station.os_uptime
if weewx is version <4.10.0
On Monday, February 27, 2023 at 10:17:28 p.m. UTC-5 Jim Munro wrote:

> Its been a while.  But I have just reinstalled 2.3.3 in a vbox docker 
> image.  The problem with the header and side bar seem to be gone but the 
> footer uptime doesn't seem right.  Please see attached.  The vbox image has 
> only been running approx 30 min.
>   
>
> On Monday, February 27, 2023 at 8:12:52 p.m. UTC-5 David Bätge wrote:
>
>> Hi Jim, sorry for the late response. I am the author of the skin, do you 
>> have still problems with running v2.3.3? I could have a look at why the 
>> page header and left sidebar are missing.
>>
>> Jim Munro schrieb am Freitag, 3. Februar 2023 um 01:46:56 UTC+1:
>>
>>> After downloading and installing the WDC skin with  "wget -O 
>>> "/tmp/weewx-wdc.zip" 
>>> https://github.com/Daveiano/weewx-wdc/releases/download/v2.3.3/weewx-wdc-v2.3.3.zip";
>>>  
>>> and installing it per instructions,  the index.html page header and left 
>>> hand side bar would disappear (readings and charts seemed ok) after an 
>>> archive update.  No error message in the log.  I did see the header and 
>>> side bar for a short time but it soon disappeared.
>>> Removing v2.3.3 and installing v2.3.2 seemed to fix the problem.  Weewx 
>>> 4.9.1 was running
>>> as a container on a docker host.
>>>
>>

-- 
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/356dd9ee-080b-41fc-bcdc-544525746312n%40googlegroups.com.


[weewx-user] Re: WDC skin v2.3.3

2023-02-27 Thread Jim Munro
Its been a while.  But I have just reinstalled 2.3.3 in a vbox docker 
image.  The problem with the header and side bar seem to be gone but the 
footer uptime doesn't seem right.  Please see attached.  The vbox image has 
only been running approx 30 min.
  

On Monday, February 27, 2023 at 8:12:52 p.m. UTC-5 David Bätge wrote:

> Hi Jim, sorry for the late response. I am the author of the skin, do you 
> have still problems with running v2.3.3? I could have a look at why the 
> page header and left sidebar are missing.
>
> Jim Munro schrieb am Freitag, 3. Februar 2023 um 01:46:56 UTC+1:
>
>> After downloading and installing the WDC skin with  "wget -O 
>> "/tmp/weewx-wdc.zip" 
>> https://github.com/Daveiano/weewx-wdc/releases/download/v2.3.3/weewx-wdc-v2.3.3.zip";
>>  
>> and installing it per instructions,  the index.html page header and left 
>> hand side bar would disappear (readings and charts seemed ok) after an 
>> archive update.  No error message in the log.  I did see the header and 
>> side bar for a short time but it soon disappeared.
>> Removing v2.3.3 and installing v2.3.2 seemed to fix the problem.  Weewx 
>> 4.9.1 was running
>> as a container on a docker host.
>>
>

-- 
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/4cd2b03a-9665-452f-b29a-572f484e6e60n%40googlegroups.com.


[weewx-user] Re: WDC skin v2.3.3

2023-02-27 Thread David Bätge
Hi Jim, sorry for the late response. I am the author of the skin, do you 
have still problems with running v2.3.3? I could have a look at why the 
page header and left sidebar are missing.

Jim Munro schrieb am Freitag, 3. Februar 2023 um 01:46:56 UTC+1:

> After downloading and installing the WDC skin with  "wget -O 
> "/tmp/weewx-wdc.zip" 
> https://github.com/Daveiano/weewx-wdc/releases/download/v2.3.3/weewx-wdc-v2.3.3.zip";
>  
> and installing it per instructions,  the index.html page header and left 
> hand side bar would disappear (readings and charts seemed ok) after an 
> archive update.  No error message in the log.  I did see the header and 
> side bar for a short time but it soon disappeared.
> Removing v2.3.3 and installing v2.3.2 seemed to fix the problem.  Weewx 
> 4.9.1 was running
> as a container on a docker host.
>

-- 
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/eac4ef23-8a50-4f07-9438-dad9e99a06f6n%40googlegroups.com.


[weewx-user] Re: WDC Skin

2022-09-01 Thread Leo Olijrhook
After installation of version 2.2.1 the problem is solved
Thanks.

Regards.

Op zaterdag 20 augustus 2022 om 02:27:29 UTC+2 schreef david@gmail.com:

> Hello there,  I am the creator of this skin. It seems that there are 
> problems with the windrose diagram. The error should go away if you remove 
> windRose from the diagram_tile_observations in the skin.conf as a quick 
> fix.
>
> Does your station actually record wind speed and wind direction? From the 
> error message, it seems the wind speed is empty.
>
> leo.ol...@gmail.com schrieb am Freitag, 19. August 2022 um 13:35:25 UTC+2:
>
>> After installing and starting the skin the following error messages show :
>>
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: Evaluation 
>> of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed with 
>> exception ''
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>> Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>> Reason: unsupported operand type(s) for *: 'NoneType' and 'float'
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  Traceback (most recent call last):
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  unicode_string = compiled_template.respond()
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 201, in 
>> respond
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
>> _handleCheetahInclude
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 
>> 313, in respond
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
>> _handleCheetahInclude
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
>> line 238, in respond
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
>> line 99, in __errorCatcher5
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "", line 1, in 
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "/usr/share/weewx/user/weewx_wdc.py", line 658, in get_windrose_data
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  windspeed_knots = kph_to_knot(windSpeed_data.raw)
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "/usr/share/weewx/weewx/units.py", line 80, in kph_to_knot
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  return x * 0.539956803
>> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: Evaluation 
>> of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl failed with 
>> exception ''
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>> Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>> Reason: unsupported operand type(s) for *: 'NoneType' and 'float'
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  Traceback (most recent call last):
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  unicode_string = compiled_template.respond()
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "_etc_weewx_skins_weewx_wdc_statistics_html_tmpl.py", line 200, in 
>> respond
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
>> _handleCheetahInclude
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>>  Fi

[weewx-user] Re: WDC Skin

2022-08-19 Thread David Bätge
Hello there,  I am the creator of this skin. It seems that there are 
problems with the windrose diagram. The error should go away if you remove 
windRose from the diagram_tile_observations in the skin.conf as a quick fix.

Does your station actually record wind speed and wind direction? From the 
error message, it seems the wind speed is empty.

leo.ol...@gmail.com schrieb am Freitag, 19. August 2022 um 13:35:25 UTC+2:

> After installing and starting the skin the following error messages show :
>
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator: Evaluation 
> of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed with 
> exception ''
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
> Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
> Reason: unsupported operand type(s) for *: 'NoneType' and 'float'
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  Traceback (most recent call last):
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  unicode_string = compiled_template.respond()
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 201, in 
> respond
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 
> 313, in respond
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
> line 238, in respond
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_includes_diagram_tile_wind_rose_inc.py", 
> line 99, in __errorCatcher5
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "", line 1, in 
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/share/weewx/user/weewx_wdc.py", line 658, in get_windrose_data
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  windspeed_knots = kph_to_knot(windSpeed_data.raw)
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/share/weewx/weewx/units.py", line 80, in kph_to_knot
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  return x * 0.539956803
> Aug 19 00:00:36 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator: Evaluation 
> of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl failed with 
> exception ''
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
> Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
> Reason: unsupported operand type(s) for *: 'NoneType' and 'float'
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  Traceback (most recent call last):
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  unicode_string = compiled_template.respond()
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_statistics_html_tmpl.py", line 200, in 
> respond
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:  
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "_etc_weewx_skins_weewx_wdc_includes_body_alternative_inc.py", line 
> 313, in respond
> Aug 19 00:00:42 ucs weewx[30519] ERROR weewx.cheetahgenerator:    
>  File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _h

Re: [weewx-user] Re: WDC Skin

2022-08-05 Thread Andrea Di Saverio
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/9efdab15-d765-40c1-ae7c-f6f279c046e6n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2022-08-03 Thread David Bätge
@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/d5f500a3-15d1-477d-a8f7-8fc83e6d9a91n%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2022-08-01 Thread vince
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/dd3a9012-1f38-43b2-897b-7aeceb9fda5fn%40googlegroups.com.


Re: [weewx-user] Re: WDC Skin

2022-08-01 Thread Andrea Di Saverio
Hello,
not sure if this is the right place or if it's better to start a new 
thread. In that case, please let me know.
Anyway...

I was trying to install Daveiano's skin to my weewx installation, on my 
raspberry, but the attempt failed. This the log:

pi@raspberrypi:~ $ wee_extension --install=/home/pi/weewx-wdc-v1.3.3/
Request to install '/home/pi/weewx-wdc-v1.3.3/'
Traceback (most recent call last):
  File "/usr/share/weewx/wee_extension", line 92, in 
main()
  File "/usr/share/weewx/wee_extension", line 84, in main
ext.install_extension(options.install)
  File "/usr/share/weewx/weecfg/extension.py", line 137, in 
install_extension
self.install_from_dir(extension_path)
  File "/usr/share/weewx/weecfg/extension.py", line 183, in 
install_from_dir
shutil.copy(source_path, destination_path)
  File "/usr/lib/python3.7/shutil.py", line 245, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.7/shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 
'/usr/share/weewx/user/archive_util.py

The weird thing is that I don't have any `archive_util.py` in that folder

pi@raspberrypi:~ $ ls -hl /usr/share/weewx/user/
total 12K
-rw-r--r-- 1 root root  541 Apr  2  2021 extensions.py
-rw-r--r-- 1 root root  306 Apr 22 02:32 __init__.py
drwxr-xr-x 2 root root 4.0K Jul 18 01:09 __pycache__

Is there something wrong in my setup/installation, or the root cause is 
possibly something else?
Il giorno lunedì 1 agosto 2022 alle 01:51:19 UTC+2 david@gmail.com ha 
scritto:

> Thank you for finding and helping to solve a bug!
>
> Yes, the rounding for inHg does not make sense (one decimal place). This 
> will also be included in an upcoming 2.0.1 bugfix release.
>
> tarob...@gmail.com schrieb am Sonntag, 31. Juli 2022 um 19:29:56 UTC+2:
>
>> The new html-head.inc worked, thanks David!
>>
>> One other thing to mention, the scale for barometric pressure when using 
>> standard units (inHg) needs to be tighter. See screenshot:
>>
>>
>> On Sunday, July 31, 2022 at 10:30:09 AM UTC-4 tarob...@gmail.com wrote:
>>
>>> That is correct, it is not running in root, but */wdc. I will replace 
>>> the file when I get home and let you know if that fixes it.
>>>
>>>
>>> On Sun, Jul 31, 2022, 10:25 AM David Bätge  wrote:
>>>
 I had a look over the generated files. The path 
 (/var/www/html/weewx/wdc) is not your webservers root path, right? You are 
 accessing the page via http://your-server.com/wdc, right?

 In this case, you have found a bug: The skin currently only works if 
 deployed in the webservers root directory. 
 If this is the case, please try to replace the template file 
 "weewx-wdc/includes/html-head.inc" with the updated, attached file and 
 re-generate. This should do the trick.

 If so, I will include this change in a bugfix release!
 David Bätge schrieb am Sonntag, 31. Juli 2022 um 11:29:30 UTC+2:

> Ok, I will have a look if you send me the output! E-Mail is 
> david@gmail.com
>
> tarob...@gmail.com schrieb am Sonntag, 31. Juli 2022 um 03:16:57 
> UTC+2:
>
>> I removed all files in /var/www/html/weewx/wdc and before removing I 
>> did verify that */dist did contain main.js and main.css. After removing, 
>> the report ran again but it did not update those /dist folder or files. 
>> I 
>> stopped weewx and started again and the /dist files are there but 
>> website 
>> is still showing the same.
>>
>> My weewx is not public but I can zip and send the entire folder to 
>> you.
>>
>> On Sat, Jul 30, 2022, 4:37 PM David Bätge  
>> wrote:
>>
>>> Ok, this seems odd. Could you try to remove all previously generated 
>>> files in the output directory (typically "/home/weewx/public_html/" or 
>>> "/var/www/html/weewx/", see 
>>> https://www.weewx.com/docs/usersguide.htm#Where_to_find_things)?
>>>
>>> I guess there is something wrong with the Javascript and 
>>> Stylesheets, the paths have changed from v1.x to v2.x. Can you verify 
>>> that 
>>> the files 
>>> /dist/main.js and /dist/main.css exist on your webserver? E.g. on my 
>>> page its https://www.weewx-hbt.de/dist/main.js and 
>>> https://www.weewx-hbt.de/dist/main.css
>>>
>>> Did you try to open the webpage in an incognito window? Perhaps 
>>> there is something with the caches messed up.
>>>
>>> Btw: Is your webpage public available so I could take a look by 
>>> myself?
>>> tarob...@gmail.com schrieb am Samstag, 30. Juli 2022 um 20:40:47 
>>> UTC+2:
>>>
 Installed the new version of WDC skin (v2.0.0). I uninstalled the 
 older skin using wee_extension --uninstall and installed the new 
 version 
 using wee_extension --install. I s

Re: [weewx-user] Re: WDC Skin

2022-07-31 Thread David Bätge
Thank you for finding and helping to solve a bug!

Yes, the rounding for inHg does not make sense (one decimal place). This 
will also be included in an upcoming 2.0.1 bugfix release.

tarob...@gmail.com schrieb am Sonntag, 31. Juli 2022 um 19:29:56 UTC+2:

> The new html-head.inc worked, thanks David!
>
> One other thing to mention, the scale for barometric pressure when using 
> standard units (inHg) needs to be tighter. See screenshot:
>
>
> On Sunday, July 31, 2022 at 10:30:09 AM UTC-4 tarob...@gmail.com wrote:
>
>> That is correct, it is not running in root, but */wdc. I will replace the 
>> file when I get home and let you know if that fixes it.
>>
>>
>> On Sun, Jul 31, 2022, 10:25 AM David Bätge  wrote:
>>
>>> I had a look over the generated files. The path 
>>> (/var/www/html/weewx/wdc) is not your webservers root path, right? You are 
>>> accessing the page via http://your-server.com/wdc, right?
>>>
>>> In this case, you have found a bug: The skin currently only works if 
>>> deployed in the webservers root directory. 
>>> If this is the case, please try to replace the template file 
>>> "weewx-wdc/includes/html-head.inc" with the updated, attached file and 
>>> re-generate. This should do the trick.
>>>
>>> If so, I will include this change in a bugfix release!
>>> David Bätge schrieb am Sonntag, 31. Juli 2022 um 11:29:30 UTC+2:
>>>
 Ok, I will have a look if you send me the output! E-Mail is 
 david@gmail.com

 tarob...@gmail.com schrieb am Sonntag, 31. Juli 2022 um 03:16:57 UTC+2:

> I removed all files in /var/www/html/weewx/wdc and before removing I 
> did verify that */dist did contain main.js and main.css. After removing, 
> the report ran again but it did not update those /dist folder or files. I 
> stopped weewx and started again and the /dist files are there but website 
> is still showing the same.
>
> My weewx is not public but I can zip and send the entire folder to you.
>
> On Sat, Jul 30, 2022, 4:37 PM David Bätge  wrote:
>
>> Ok, this seems odd. Could you try to remove all previously generated 
>> files in the output directory (typically "/home/weewx/public_html/" or 
>> "/var/www/html/weewx/", see 
>> https://www.weewx.com/docs/usersguide.htm#Where_to_find_things)?
>>
>> I guess there is something wrong with the Javascript and Stylesheets, 
>> the paths have changed from v1.x to v2.x. Can you verify that the files 
>> /dist/main.js and /dist/main.css exist on your webserver? E.g. on my 
>> page its https://www.weewx-hbt.de/dist/main.js and 
>> https://www.weewx-hbt.de/dist/main.css
>>
>> Did you try to open the webpage in an incognito window? Perhaps there 
>> is something with the caches messed up.
>>
>> Btw: Is your webpage public available so I could take a look by 
>> myself?
>> tarob...@gmail.com schrieb am Samstag, 30. Juli 2022 um 20:40:47 
>> UTC+2:
>>
>>> Installed the new version of WDC skin (v2.0.0). I uninstalled the 
>>> older skin using wee_extension --uninstall and installed the new 
>>> version 
>>> using wee_extension --install. I stopped weewx and started it again. 
>>> Checking out the log, everything is running fine, no errors. However, 
>>> the 
>>> WDC page has headings but no charts. Here is a post of the log file 
>>> before 
>>> and after updating when running the wdc report: Really difficult for me 
>>> to 
>>> troubleshoot as the log isn't showing any issues.
>>>
>>> Jul 30 13:46:16 raspberrypi weewx[12721] INFO 
>>> weewx.cheetahgenerator: Generated 9 files for report WdcReport in 27.19 
>>> seconds
>>> Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.reportengine: 
>>> Copied 0 files to /var/www/html/weewx/wdc
>>>
>>> ---First run after installing new version---
>>> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.cheetahgenerator: 
>>> Generated 64 files for report WdcReport in 211.60 seconds
>>> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.reportengine: 
>>> Copied 10 files to /var/www/html/weewx/wdc
>>>
>>> --Each run after---
>>> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.cheetahgenerator: 
>>> Generated 9 files for report WdcReport in 28.28 seconds
>>> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.reportengine: 
>>> Copied 0 files to /var/www/html/weewx/wdc
>>>
>>> Screenshot of what the webpage looks like:
>>> [image: 2022-07-30.png]
>>> On Friday, July 29, 2022 at 2:11:59 PM UTC-4 david@gmail.com 
>>> wrote:
>>>
 The skin just got a new release, the changes are (also see the 
 release notes: 
 https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.0): 

- Added classic layout, preview here: 
https://weewx-hbt.de/classic 
- More customisation via skin.conf: diagram height, dig

Re: [weewx-user] Re: WDC Skin

2022-07-31 Thread Troy Roberts
That is correct, it is not running in root, but */wdc. I will replace the
file when I get home and let you know if that fixes it.


On Sun, Jul 31, 2022, 10:25 AM David Bätge  wrote:

> I had a look over the generated files. The path (/var/www/html/weewx/wdc)
> is not your webservers root path, right? You are accessing the page via
> http://your-server.com/wdc, right?
>
> In this case, you have found a bug: The skin currently only works if
> deployed in the webservers root directory.
> If this is the case, please try to replace the template file
> "weewx-wdc/includes/html-head.inc" with the updated, attached file and
> re-generate. This should do the trick.
>
> If so, I will include this change in a bugfix release!
> David Bätge schrieb am Sonntag, 31. Juli 2022 um 11:29:30 UTC+2:
>
>> Ok, I will have a look if you send me the output! E-Mail is
>> david@gmail.com
>>
>> tarob...@gmail.com schrieb am Sonntag, 31. Juli 2022 um 03:16:57 UTC+2:
>>
>>> I removed all files in /var/www/html/weewx/wdc and before removing I did
>>> verify that */dist did contain main.js and main.css. After removing, the
>>> report ran again but it did not update those /dist folder or files. I
>>> stopped weewx and started again and the /dist files are there but website
>>> is still showing the same.
>>>
>>> My weewx is not public but I can zip and send the entire folder to you.
>>>
>>> On Sat, Jul 30, 2022, 4:37 PM David Bätge  wrote:
>>>
 Ok, this seems odd. Could you try to remove all previously generated
 files in the output directory (typically "/home/weewx/public_html/" or
 "/var/www/html/weewx/", see
 https://www.weewx.com/docs/usersguide.htm#Where_to_find_things)?

 I guess there is something wrong with the Javascript and Stylesheets,
 the paths have changed from v1.x to v2.x. Can you verify that the files
 /dist/main.js and /dist/main.css exist on your webserver? E.g. on my
 page its https://www.weewx-hbt.de/dist/main.js and
 https://www.weewx-hbt.de/dist/main.css

 Did you try to open the webpage in an incognito window? Perhaps there
 is something with the caches messed up.

 Btw: Is your webpage public available so I could take a look by myself?
 tarob...@gmail.com schrieb am Samstag, 30. Juli 2022 um 20:40:47 UTC+2:

> Installed the new version of WDC skin (v2.0.0). I uninstalled the
> older skin using wee_extension --uninstall and installed the new version
> using wee_extension --install. I stopped weewx and started it again.
> Checking out the log, everything is running fine, no errors. However, the
> WDC page has headings but no charts. Here is a post of the log file before
> and after updating when running the wdc report: Really difficult for me to
> troubleshoot as the log isn't showing any issues.
>
> Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.cheetahgenerator:
> Generated 9 files for report WdcReport in 27.19 seconds
> Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.reportengine:
> Copied 0 files to /var/www/html/weewx/wdc
>
> ---First run after installing new version---
> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.cheetahgenerator:
> Generated 64 files for report WdcReport in 211.60 seconds
> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.reportengine:
> Copied 10 files to /var/www/html/weewx/wdc
>
> --Each run after---
> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.cheetahgenerator:
> Generated 9 files for report WdcReport in 28.28 seconds
> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.reportengine:
> Copied 0 files to /var/www/html/weewx/wdc
>
> Screenshot of what the webpage looks like:
> [image: 2022-07-30.png]
> On Friday, July 29, 2022 at 2:11:59 PM UTC-4 david@gmail.com
> wrote:
>
>> The skin just got a new release, the changes are (also see the
>> release notes:
>> https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.0):
>>
>>- Added classic layout, preview here: https://weewx-hbt.de/classic
>>
>>- More customisation via skin.conf: diagram height, digram
>>aggregate_type, Time formats, some basic diagram options like line 
>> width or
>>point size (please see the readme for more information)
>>- windDir ordinals display support, new chart type: windRose
>>- Some Frontend JavaScript optimization results in smaller files
>>and better performance
>>
>> The new version can be seen here: https://www.weewx-hbt.de/
>>
>> More info about the new customization options or the wind rose
>> diagram can be found in the readme:
>> https://github.com/Daveiano/weewx-wdc
>>
>> Feedback is always welcome!
>> David Bätge schrieb am Montag, 4. Juli 2022 um 21:35:22 UTC+2:
>>
>>> Well, good catch! This is indeed a bug and not intended.
>>>
>>> I will have a look int

Re: [weewx-user] Re: WDC Skin

2022-07-31 Thread David Bätge
I had a look over the generated files. The path (/var/www/html/weewx/wdc) 
is not your webservers root path, right? You are accessing the page via 
http://your-server.com/wdc, right?

In this case, you have found a bug: The skin currently only works if 
deployed in the webservers root directory. 
If this is the case, please try to replace the template file 
"weewx-wdc/includes/html-head.inc" with the updated, attached file and 
re-generate. This should do the trick.

If so, I will include this change in a bugfix release!
David Bätge schrieb am Sonntag, 31. Juli 2022 um 11:29:30 UTC+2:

> Ok, I will have a look if you send me the output! E-Mail is 
> david@gmail.com
>
> tarob...@gmail.com schrieb am Sonntag, 31. Juli 2022 um 03:16:57 UTC+2:
>
>> I removed all files in /var/www/html/weewx/wdc and before removing I did 
>> verify that */dist did contain main.js and main.css. After removing, the 
>> report ran again but it did not update those /dist folder or files. I 
>> stopped weewx and started again and the /dist files are there but website 
>> is still showing the same.
>>
>> My weewx is not public but I can zip and send the entire folder to you.
>>
>> On Sat, Jul 30, 2022, 4:37 PM David Bätge  wrote:
>>
>>> Ok, this seems odd. Could you try to remove all previously generated 
>>> files in the output directory (typically "/home/weewx/public_html/" or 
>>> "/var/www/html/weewx/", see 
>>> https://www.weewx.com/docs/usersguide.htm#Where_to_find_things)?
>>>
>>> I guess there is something wrong with the Javascript and Stylesheets, 
>>> the paths have changed from v1.x to v2.x. Can you verify that the files 
>>> /dist/main.js and /dist/main.css exist on your webserver? E.g. on my 
>>> page its https://www.weewx-hbt.de/dist/main.js and 
>>> https://www.weewx-hbt.de/dist/main.css
>>>
>>> Did you try to open the webpage in an incognito window? Perhaps there is 
>>> something with the caches messed up.
>>>
>>> Btw: Is your webpage public available so I could take a look by myself?
>>> tarob...@gmail.com schrieb am Samstag, 30. Juli 2022 um 20:40:47 UTC+2:
>>>
 Installed the new version of WDC skin (v2.0.0). I uninstalled the older 
 skin using wee_extension --uninstall and installed the new version using 
 wee_extension --install. I stopped weewx and started it again. Checking 
 out 
 the log, everything is running fine, no errors. However, the WDC page has 
 headings but no charts. Here is a post of the log file before and after 
 updating when running the wdc report: Really difficult for me to 
 troubleshoot as the log isn't showing any issues.

 Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.cheetahgenerator: 
 Generated 9 files for report WdcReport in 27.19 seconds
 Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.reportengine: 
 Copied 0 files to /var/www/html/weewx/wdc

 ---First run after installing new version---
 Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.cheetahgenerator: 
 Generated 64 files for report WdcReport in 211.60 seconds
 Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.reportengine: Copied 
 10 files to /var/www/html/weewx/wdc

 --Each run after---
 Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.cheetahgenerator: 
 Generated 9 files for report WdcReport in 28.28 seconds
 Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.reportengine: Copied 
 0 files to /var/www/html/weewx/wdc

 Screenshot of what the webpage looks like:
 [image: 2022-07-30.png]
 On Friday, July 29, 2022 at 2:11:59 PM UTC-4 david@gmail.com wrote:

> The skin just got a new release, the changes are (also see the release 
> notes: https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.0): 
>
>- Added classic layout, preview here: https://weewx-hbt.de/classic 
>- More customisation via skin.conf: diagram height, digram 
>aggregate_type, Time formats, some basic diagram options like line 
> width or 
>point size (please see the readme for more information)
>- windDir ordinals display support, new chart type: windRose 
>- Some Frontend JavaScript optimization results in smaller files 
>and better performance
>
> The new version can be seen here: https://www.weewx-hbt.de/
>
> More info about the new customization options or the wind rose diagram 
> can be found in the readme: https://github.com/Daveiano/weewx-wdc
>
> Feedback is always welcome!
> David Bätge schrieb am Montag, 4. Juli 2022 um 21:35:22 UTC+2:
>
>> Well, good catch! This is indeed a bug and not intended.
>>
>> I will have a look into that!
>>
>> jterr...@gmail.com schrieb am Montag, 4. Juli 2022 um 18:45:11 UTC+2:
>>
>>> I don't know if it is by design or if it is a bug, but when one 
>>> navigate to a given month - for instance March 2021 on your site -  the 
>>> 2022 year an

Re: [weewx-user] Re: WDC Skin

2022-07-31 Thread David Bätge
Ok, I will have a look if you send me the output! E-Mail is 
david.bae...@gmail.com

tarob...@gmail.com schrieb am Sonntag, 31. Juli 2022 um 03:16:57 UTC+2:

> I removed all files in /var/www/html/weewx/wdc and before removing I did 
> verify that */dist did contain main.js and main.css. After removing, the 
> report ran again but it did not update those /dist folder or files. I 
> stopped weewx and started again and the /dist files are there but website 
> is still showing the same.
>
> My weewx is not public but I can zip and send the entire folder to you.
>
> On Sat, Jul 30, 2022, 4:37 PM David Bätge  wrote:
>
>> Ok, this seems odd. Could you try to remove all previously generated 
>> files in the output directory (typically "/home/weewx/public_html/" or 
>> "/var/www/html/weewx/", see 
>> https://www.weewx.com/docs/usersguide.htm#Where_to_find_things)?
>>
>> I guess there is something wrong with the Javascript and Stylesheets, the 
>> paths have changed from v1.x to v2.x. Can you verify that the files 
>> /dist/main.js and /dist/main.css exist on your webserver? E.g. on my page 
>> its https://www.weewx-hbt.de/dist/main.js and 
>> https://www.weewx-hbt.de/dist/main.css
>>
>> Did you try to open the webpage in an incognito window? Perhaps there is 
>> something with the caches messed up.
>>
>> Btw: Is your webpage public available so I could take a look by myself?
>> tarob...@gmail.com schrieb am Samstag, 30. Juli 2022 um 20:40:47 UTC+2:
>>
>>> Installed the new version of WDC skin (v2.0.0). I uninstalled the older 
>>> skin using wee_extension --uninstall and installed the new version using 
>>> wee_extension --install. I stopped weewx and started it again. Checking out 
>>> the log, everything is running fine, no errors. However, the WDC page has 
>>> headings but no charts. Here is a post of the log file before and after 
>>> updating when running the wdc report: Really difficult for me to 
>>> troubleshoot as the log isn't showing any issues.
>>>
>>> Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.cheetahgenerator: 
>>> Generated 9 files for report WdcReport in 27.19 seconds
>>> Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.reportengine: Copied 
>>> 0 files to /var/www/html/weewx/wdc
>>>
>>> ---First run after installing new version---
>>> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.cheetahgenerator: 
>>> Generated 64 files for report WdcReport in 211.60 seconds
>>> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.reportengine: Copied 
>>> 10 files to /var/www/html/weewx/wdc
>>>
>>> --Each run after---
>>> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.cheetahgenerator: 
>>> Generated 9 files for report WdcReport in 28.28 seconds
>>> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.reportengine: Copied 
>>> 0 files to /var/www/html/weewx/wdc
>>>
>>> Screenshot of what the webpage looks like:
>>> [image: 2022-07-30.png]
>>> On Friday, July 29, 2022 at 2:11:59 PM UTC-4 david@gmail.com wrote:
>>>
 The skin just got a new release, the changes are (also see the release 
 notes: https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.0): 

- Added classic layout, preview here: https://weewx-hbt.de/classic 
- More customisation via skin.conf: diagram height, digram 
aggregate_type, Time formats, some basic diagram options like line 
 width or 
point size (please see the readme for more information)
- windDir ordinals display support, new chart type: windRose 
- Some Frontend JavaScript optimization results in smaller files 
and better performance

 The new version can be seen here: https://www.weewx-hbt.de/

 More info about the new customization options or the wind rose diagram 
 can be found in the readme: https://github.com/Daveiano/weewx-wdc

 Feedback is always welcome!
 David Bätge schrieb am Montag, 4. Juli 2022 um 21:35:22 UTC+2:

> Well, good catch! This is indeed a bug and not intended.
>
> I will have a look into that!
>
> jterr...@gmail.com schrieb am Montag, 4. Juli 2022 um 18:45:11 UTC+2:
>
>> I don't know if it is by design or if it is a bug, but when one 
>> navigate to a given month - for instance March 2021 on your site -  the 
>> 2022 year and months are no more shown in the left navigation bar, and 
>> it 
>> is therefore not possible to select and load directly to any month of 
>> 2022.
>>
>> Le vendredi 1 juillet 2022 à 00:44:54 UTC+2, david@gmail.com a 
>> écrit :
>>
>>> I just wanted to inform you that I released v1.3.0 of weewx-wdc, new 
>>> features are: 
>>>
>>>
>>>- Customizable "About page", demo here: 
>>>https://www.weewx-hbt.de/about.html
>>>- Performance (Report Generation) optimization (should be 
>>>decreased to 50%, please see 
>>>https://github.com/Daveiano/weewx-wdc#performance)
>>>- Added "Climatological

Re: [weewx-user] Re: WDC Skin

2022-07-30 Thread Troy Roberts
I removed all files in /var/www/html/weewx/wdc and before removing I did
verify that */dist did contain main.js and main.css. After removing, the
report ran again but it did not update those /dist folder or files. I
stopped weewx and started again and the /dist files are there but website
is still showing the same.

My weewx is not public but I can zip and send the entire folder to you.

On Sat, Jul 30, 2022, 4:37 PM David Bätge  wrote:

> Ok, this seems odd. Could you try to remove all previously generated files
> in the output directory (typically "/home/weewx/public_html/" or
> "/var/www/html/weewx/", see
> https://www.weewx.com/docs/usersguide.htm#Where_to_find_things)?
>
> I guess there is something wrong with the Javascript and Stylesheets, the
> paths have changed from v1.x to v2.x. Can you verify that the files
> /dist/main.js and /dist/main.css exist on your webserver? E.g. on my page
> its https://www.weewx-hbt.de/dist/main.js and
> https://www.weewx-hbt.de/dist/main.css
>
> Did you try to open the webpage in an incognito window? Perhaps there is
> something with the caches messed up.
>
> Btw: Is your webpage public available so I could take a look by myself?
> tarob...@gmail.com schrieb am Samstag, 30. Juli 2022 um 20:40:47 UTC+2:
>
>> Installed the new version of WDC skin (v2.0.0). I uninstalled the older
>> skin using wee_extension --uninstall and installed the new version using
>> wee_extension --install. I stopped weewx and started it again. Checking out
>> the log, everything is running fine, no errors. However, the WDC page has
>> headings but no charts. Here is a post of the log file before and after
>> updating when running the wdc report: Really difficult for me to
>> troubleshoot as the log isn't showing any issues.
>>
>> Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.cheetahgenerator:
>> Generated 9 files for report WdcReport in 27.19 seconds
>> Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.reportengine: Copied
>> 0 files to /var/www/html/weewx/wdc
>>
>> ---First run after installing new version---
>> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.cheetahgenerator:
>> Generated 64 files for report WdcReport in 211.60 seconds
>> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.reportengine: Copied
>> 10 files to /var/www/html/weewx/wdc
>>
>> --Each run after---
>> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.cheetahgenerator:
>> Generated 9 files for report WdcReport in 28.28 seconds
>> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.reportengine: Copied 0
>> files to /var/www/html/weewx/wdc
>>
>> Screenshot of what the webpage looks like:
>> [image: 2022-07-30.png]
>> On Friday, July 29, 2022 at 2:11:59 PM UTC-4 david@gmail.com wrote:
>>
>>> The skin just got a new release, the changes are (also see the release
>>> notes: https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.0):
>>>
>>>- Added classic layout, preview here: https://weewx-hbt.de/classic
>>>- More customisation via skin.conf: diagram height, digram
>>>aggregate_type, Time formats, some basic diagram options like line width 
>>> or
>>>point size (please see the readme for more information)
>>>- windDir ordinals display support, new chart type: windRose
>>>- Some Frontend JavaScript optimization results in smaller files and
>>>better performance
>>>
>>> The new version can be seen here: https://www.weewx-hbt.de/
>>>
>>> More info about the new customization options or the wind rose diagram
>>> can be found in the readme: https://github.com/Daveiano/weewx-wdc
>>>
>>> Feedback is always welcome!
>>> David Bätge schrieb am Montag, 4. Juli 2022 um 21:35:22 UTC+2:
>>>
 Well, good catch! This is indeed a bug and not intended.

 I will have a look into that!

 jterr...@gmail.com schrieb am Montag, 4. Juli 2022 um 18:45:11 UTC+2:

> I don't know if it is by design or if it is a bug, but when one
> navigate to a given month - for instance March 2021 on your site -  the
> 2022 year and months are no more shown in the left navigation bar, and it
> is therefore not possible to select and load directly to any month of 
> 2022.
>
> Le vendredi 1 juillet 2022 à 00:44:54 UTC+2, david@gmail.com a
> écrit :
>
>> I just wanted to inform you that I released v1.3.0 of weewx-wdc, new
>> features are:
>>
>>
>>- Customizable "About page", demo here:
>>https://www.weewx-hbt.de/about.html
>>- Performance (Report Generation) optimization (should be
>>decreased to 50%, please see
>>https://github.com/Daveiano/weewx-wdc#performance)
>>- Added "Climatological Days" Tile to stats and year pages (
>>https://www.weewx-hbt.de/statistics.html)
>>- Added rain days and average temperature calendar diagram (
>>https://www.weewx-hbt.de/statistics.html)
>>- Support for weewx-forecast
>>
>>
>> Here is a demo of the release: https://www

Re: [weewx-user] Re: WDC Skin

2022-07-30 Thread David Bätge
Ok, this seems odd. Could you try to remove all previously generated files 
in the output directory (typically "/home/weewx/public_html/" or 
"/var/www/html/weewx/", see 
https://www.weewx.com/docs/usersguide.htm#Where_to_find_things)?

I guess there is something wrong with the Javascript and Stylesheets, the 
paths have changed from v1.x to v2.x. Can you verify that the files 
/dist/main.js and /dist/main.css exist on your webserver? E.g. on my page 
its https://www.weewx-hbt.de/dist/main.js 
and https://www.weewx-hbt.de/dist/main.css

Did you try to open the webpage in an incognito window? Perhaps there is 
something with the caches messed up.

Btw: Is your webpage public available so I could take a look by myself?
tarob...@gmail.com schrieb am Samstag, 30. Juli 2022 um 20:40:47 UTC+2:

> Installed the new version of WDC skin (v2.0.0). I uninstalled the older 
> skin using wee_extension --uninstall and installed the new version using 
> wee_extension --install. I stopped weewx and started it again. Checking out 
> the log, everything is running fine, no errors. However, the WDC page has 
> headings but no charts. Here is a post of the log file before and after 
> updating when running the wdc report: Really difficult for me to 
> troubleshoot as the log isn't showing any issues.
>
> Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.cheetahgenerator: 
> Generated 9 files for report WdcReport in 27.19 seconds
> Jul 30 13:46:16 raspberrypi weewx[12721] INFO weewx.reportengine: Copied 0 
> files to /var/www/html/weewx/wdc
>
> ---First run after installing new version---
> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.cheetahgenerator: 
> Generated 64 files for report WdcReport in 211.60 seconds
> Jul 30 14:09:29 raspberrypi weewx[1682] INFO weewx.reportengine: Copied 10 
> files to /var/www/html/weewx/wdc
>
> --Each run after---
> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.cheetahgenerator: 
> Generated 9 files for report WdcReport in 28.28 seconds
> Jul 30 14:11:16 raspberrypi weewx[1682] INFO weewx.reportengine: Copied 0 
> files to /var/www/html/weewx/wdc
>
> Screenshot of what the webpage looks like:
> [image: 2022-07-30.png]
> On Friday, July 29, 2022 at 2:11:59 PM UTC-4 david@gmail.com wrote:
>
>> The skin just got a new release, the changes are (also see the release 
>> notes: https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.0): 
>>
>>- Added classic layout, preview here: https://weewx-hbt.de/classic 
>>- More customisation via skin.conf: diagram height, digram 
>>aggregate_type, Time formats, some basic diagram options like line width 
>> or 
>>point size (please see the readme for more information)
>>- windDir ordinals display support, new chart type: windRose 
>>- Some Frontend JavaScript optimization results in smaller files and 
>>better performance
>>
>> The new version can be seen here: https://www.weewx-hbt.de/
>>
>> More info about the new customization options or the wind rose diagram 
>> can be found in the readme: https://github.com/Daveiano/weewx-wdc
>>
>> Feedback is always welcome!
>> David Bätge schrieb am Montag, 4. Juli 2022 um 21:35:22 UTC+2:
>>
>>> Well, good catch! This is indeed a bug and not intended.
>>>
>>> I will have a look into that!
>>>
>>> jterr...@gmail.com schrieb am Montag, 4. Juli 2022 um 18:45:11 UTC+2:
>>>
 I don't know if it is by design or if it is a bug, but when one 
 navigate to a given month - for instance March 2021 on your site -  the 
 2022 year and months are no more shown in the left navigation bar, and it 
 is therefore not possible to select and load directly to any month of 2022.

 Le vendredi 1 juillet 2022 à 00:44:54 UTC+2, david@gmail.com a 
 écrit :

> I just wanted to inform you that I released v1.3.0 of weewx-wdc, new 
> features are: 
>
>
>- Customizable "About page", demo here: 
>https://www.weewx-hbt.de/about.html
>- Performance (Report Generation) optimization (should be 
>decreased to 50%, please see 
>https://github.com/Daveiano/weewx-wdc#performance)
>- Added "Climatological Days" Tile to stats and year pages (
>https://www.weewx-hbt.de/statistics.html)
>- Added rain days and average temperature calendar diagram (
>https://www.weewx-hbt.de/statistics.html)
>- Support for weewx-forecast
>
>
> Here is a demo of the release: https://www.weewx-hbt.de/
>
> I am also working on a second "more weewx like" layout for the skin, 
> preview can be seen here: https://www.weewx-hbt.de/classic/
>
> Feedback is always appreciated!
> David Bätge schrieb am Samstag, 4. Juni 2022 um 11:11:15 UTC+2:
>
>> *I copied over my up weewx db (data from mid 2020 to present) and it 
>> takes about ~180 sec*
>> Like the name of the Skin suggests, you will need a Data Center to 
>> run the Skin :D Just kidding, the long generation t

Re: [weewx-user] Re: WDC Skin

2022-07-29 Thread David Bätge
The skin just got a new release, the changes are (also see the release 
notes: https://github.com/Daveiano/weewx-wdc/releases/tag/v2.0.0): 

   - Added classic layout, preview here: https://weewx-hbt.de/classic 
   - More customisation via skin.conf: diagram height, digram 
   aggregate_type, Time formats, some basic diagram options like line width or 
   point size (please see the readme for more information)
   - windDir ordinals display support, new chart type: windRose 
   - Some Frontend JavaScript optimization results in smaller files and 
   better performance

The new version can be seen here: https://www.weewx-hbt.de/

More info about the new customization options or the wind rose diagram can 
be found in the readme: https://github.com/Daveiano/weewx-wdc

Feedback is always welcome!
David Bätge schrieb am Montag, 4. Juli 2022 um 21:35:22 UTC+2:

> Well, good catch! This is indeed a bug and not intended.
>
> I will have a look into that!
>
> jterr...@gmail.com schrieb am Montag, 4. Juli 2022 um 18:45:11 UTC+2:
>
>> I don't know if it is by design or if it is a bug, but when one navigate 
>> to a given month - for instance March 2021 on your site -  the 2022 year 
>> and months are no more shown in the left navigation bar, and it is 
>> therefore not possible to select and load directly to any month of 2022.
>>
>> Le vendredi 1 juillet 2022 à 00:44:54 UTC+2, david@gmail.com a 
>> écrit :
>>
>>> I just wanted to inform you that I released v1.3.0 of weewx-wdc, new 
>>> features are: 
>>>
>>>
>>>- Customizable "About page", demo here: 
>>>https://www.weewx-hbt.de/about.html
>>>- Performance (Report Generation) optimization (should be decreased 
>>>to 50%, please see https://github.com/Daveiano/weewx-wdc#performance)
>>>- Added "Climatological Days" Tile to stats and year pages (
>>>https://www.weewx-hbt.de/statistics.html)
>>>- Added rain days and average temperature calendar diagram (
>>>https://www.weewx-hbt.de/statistics.html)
>>>- Support for weewx-forecast
>>>
>>>
>>> Here is a demo of the release: https://www.weewx-hbt.de/
>>>
>>> I am also working on a second "more weewx like" layout for the skin, 
>>> preview can be seen here: https://www.weewx-hbt.de/classic/
>>>
>>> Feedback is always appreciated!
>>> David Bätge schrieb am Samstag, 4. Juni 2022 um 11:11:15 UTC+2:
>>>
 *I copied over my up weewx db (data from mid 2020 to present) and it 
 takes about ~180 sec*
 Like the name of the Skin suggests, you will need a Data Center to run 
 the Skin :D Just kidding, the long generation time is on my list, I will 
 see what I can do about it in the coming weeks.
 See https://github.com/Daveiano/weewx-wdc/issues/14

 *I mean kind of like the "about" page on the fuzzy-archer skin, where 
 one can put custom content in it, as it seems there can be more than 1 
 additional page and menu entry. I'm not sure how it's done, if the page 
 content is written in the skin config directly or if it somehow embeds an 
 additional html page into the content area(?)*
 I got you. Sounds like a good addition. One could also provide pictures 
 of the station or extreme weather events or whatever. This would 
 personalize the skin for each user, definitely a good Addition.
 Also added an Issue for that 
 https://github.com/Daveiano/weewx-wdc/issues/15

 *Another great thing would be, if the station/hardware info could 
 somehow be overwritten or complemented with an additional info field, if 
 the driver doesn't pass enough information, as it's the case with an SDR 
 setup or the interceptor driver: It just shows "sdr" or "ecowitt-client" 
 instead of, as an example, "WS80 over SDR" or "WS80 with ecowitt-client / 
 GW1000". It would be sufficient if there would just be an additonal 
 customizable text field below "weewx 4.x.x with ecowitt-client" which 
 would 
 show e.g. "Sensor: WSxx" or "Station hardware: WSxx with GW1100". But it 
 should be able to read it out of the weewx.conf, if it can be defined 
 there 
 somehow, because in a multiple instance weewx setup the skin.conf is the 
 same for all instances. But yeah not sure if this makes sense or if it 
 should rather be adressed by weewx itself, I know it's just a little 
 detail 
 but would be neat :)*
 Like I said in the first post, I'm new to the weewx ecosystem, so 
 everything I write now is speculation: (without further investigation) 
 this 
 sounds more like a Driver issue? The driver should provide the station 
 data 
 to weewx (and the skin). Not sure about adding this as configuration to 
 weewx.conf. I don't know if weewx would support this out of the box. The 
 Extras Section (https://weewx.com/docs/customizing.htm#Extras) inside 
 the skin.conf would be suitable for this, but then you will need to set 
 this for every weewx-wdc installatio

Re: [weewx-user] Re: WDC Skin

2022-07-04 Thread David Bätge
Well, good catch! This is indeed a bug and not intended.

I will have a look into that!

jterr...@gmail.com schrieb am Montag, 4. Juli 2022 um 18:45:11 UTC+2:

> I don't know if it is by design or if it is a bug, but when one navigate 
> to a given month - for instance March 2021 on your site -  the 2022 year 
> and months are no more shown in the left navigation bar, and it is 
> therefore not possible to select and load directly to any month of 2022.
>
> Le vendredi 1 juillet 2022 à 00:44:54 UTC+2, david@gmail.com a écrit :
>
>> I just wanted to inform you that I released v1.3.0 of weewx-wdc, new 
>> features are: 
>>
>>
>>- Customizable "About page", demo here: 
>>https://www.weewx-hbt.de/about.html
>>- Performance (Report Generation) optimization (should be decreased 
>>to 50%, please see https://github.com/Daveiano/weewx-wdc#performance)
>>- Added "Climatological Days" Tile to stats and year pages (
>>https://www.weewx-hbt.de/statistics.html)
>>- Added rain days and average temperature calendar diagram (
>>https://www.weewx-hbt.de/statistics.html)
>>- Support for weewx-forecast
>>
>>
>> Here is a demo of the release: https://www.weewx-hbt.de/
>>
>> I am also working on a second "more weewx like" layout for the skin, 
>> preview can be seen here: https://www.weewx-hbt.de/classic/
>>
>> Feedback is always appreciated!
>> David Bätge schrieb am Samstag, 4. Juni 2022 um 11:11:15 UTC+2:
>>
>>> *I copied over my up weewx db (data from mid 2020 to present) and it 
>>> takes about ~180 sec*
>>> Like the name of the Skin suggests, you will need a Data Center to run 
>>> the Skin :D Just kidding, the long generation time is on my list, I will 
>>> see what I can do about it in the coming weeks.
>>> See https://github.com/Daveiano/weewx-wdc/issues/14
>>>
>>> *I mean kind of like the "about" page on the fuzzy-archer skin, where 
>>> one can put custom content in it, as it seems there can be more than 1 
>>> additional page and menu entry. I'm not sure how it's done, if the page 
>>> content is written in the skin config directly or if it somehow embeds an 
>>> additional html page into the content area(?)*
>>> I got you. Sounds like a good addition. One could also provide pictures 
>>> of the station or extreme weather events or whatever. This would 
>>> personalize the skin for each user, definitely a good Addition.
>>> Also added an Issue for that 
>>> https://github.com/Daveiano/weewx-wdc/issues/15
>>>
>>> *Another great thing would be, if the station/hardware info could 
>>> somehow be overwritten or complemented with an additional info field, if 
>>> the driver doesn't pass enough information, as it's the case with an SDR 
>>> setup or the interceptor driver: It just shows "sdr" or "ecowitt-client" 
>>> instead of, as an example, "WS80 over SDR" or "WS80 with ecowitt-client / 
>>> GW1000". It would be sufficient if there would just be an additonal 
>>> customizable text field below "weewx 4.x.x with ecowitt-client" which would 
>>> show e.g. "Sensor: WSxx" or "Station hardware: WSxx with GW1100". But it 
>>> should be able to read it out of the weewx.conf, if it can be defined there 
>>> somehow, because in a multiple instance weewx setup the skin.conf is the 
>>> same for all instances. But yeah not sure if this makes sense or if it 
>>> should rather be adressed by weewx itself, I know it's just a little detail 
>>> but would be neat :)*
>>> Like I said in the first post, I'm new to the weewx ecosystem, so 
>>> everything I write now is speculation: (without further investigation) this 
>>> sounds more like a Driver issue? The driver should provide the station data 
>>> to weewx (and the skin). Not sure about adding this as configuration to 
>>> weewx.conf. I don't know if weewx would support this out of the box. The 
>>> Extras Section (https://weewx.com/docs/customizing.htm#Extras) inside 
>>> the skin.conf would be suitable for this, but then you will need to set 
>>> this for every weewx-wdc installation. I will keep this in mind and do some 
>>> investigation.
>>> tarob...@gmail.com schrieb am Samstag, 4. Juni 2022 um 01:07:16 UTC+2:
>>>
 Ran this on my test rpi (simulator mode) with data going back to late 
 Dec 2021. Took about ~70 secs to generate WdcReport. I copied over my up 
 weewx db (data from mid 2020 to present) and it takes about ~180 sec to 
 generate a WdcReport. Any ways to optimize the reports to get the report 
 generation time down? For comparison, takes less than a sec for 
 SeasonsReport.

 On Friday, June 3, 2022 at 10:38:06 AM UTC-4 f4n...@gmail.com wrote:

> *Thank you for all these suggestions and feedback! I really like the 
> idea of an Classic/Alternative Layout switch, btw :)*
>
> Glad you like my feedback and ideas! This will be a great feature, 
> customization is everything imo 
>
> *You mean station info/news content as a configurable menu link to let 
> the user 

Re: [weewx-user] Re: WDC Skin

2022-07-04 Thread jterr...@gmail.com
I don't know if it is by design or if it is a bug, but when one navigate to 
a given month - for instance March 2021 on your site -  the 2022 year and 
months are no more shown in the left navigation bar, and it is therefore 
not possible to select and load directly to any month of 2022.

Le vendredi 1 juillet 2022 à 00:44:54 UTC+2, david@gmail.com a écrit :

> I just wanted to inform you that I released v1.3.0 of weewx-wdc, new 
> features are: 
>
>
>- Customizable "About page", demo here: 
>https://www.weewx-hbt.de/about.html
>- Performance (Report Generation) optimization (should be decreased to 
>50%, please see https://github.com/Daveiano/weewx-wdc#performance)
>- Added "Climatological Days" Tile to stats and year pages (
>https://www.weewx-hbt.de/statistics.html)
>- Added rain days and average temperature calendar diagram (
>https://www.weewx-hbt.de/statistics.html)
>- Support for weewx-forecast
>
>
> Here is a demo of the release: https://www.weewx-hbt.de/
>
> I am also working on a second "more weewx like" layout for the skin, 
> preview can be seen here: https://www.weewx-hbt.de/classic/
>
> Feedback is always appreciated!
> David Bätge schrieb am Samstag, 4. Juni 2022 um 11:11:15 UTC+2:
>
>> *I copied over my up weewx db (data from mid 2020 to present) and it 
>> takes about ~180 sec*
>> Like the name of the Skin suggests, you will need a Data Center to run 
>> the Skin :D Just kidding, the long generation time is on my list, I will 
>> see what I can do about it in the coming weeks.
>> See https://github.com/Daveiano/weewx-wdc/issues/14
>>
>> *I mean kind of like the "about" page on the fuzzy-archer skin, where one 
>> can put custom content in it, as it seems there can be more than 1 
>> additional page and menu entry. I'm not sure how it's done, if the page 
>> content is written in the skin config directly or if it somehow embeds an 
>> additional html page into the content area(?)*
>> I got you. Sounds like a good addition. One could also provide pictures 
>> of the station or extreme weather events or whatever. This would 
>> personalize the skin for each user, definitely a good Addition.
>> Also added an Issue for that 
>> https://github.com/Daveiano/weewx-wdc/issues/15
>>
>> *Another great thing would be, if the station/hardware info could somehow 
>> be overwritten or complemented with an additional info field, if the driver 
>> doesn't pass enough information, as it's the case with an SDR setup or the 
>> interceptor driver: It just shows "sdr" or "ecowitt-client" instead of, as 
>> an example, "WS80 over SDR" or "WS80 with ecowitt-client / GW1000". It 
>> would be sufficient if there would just be an additonal customizable text 
>> field below "weewx 4.x.x with ecowitt-client" which would show e.g. 
>> "Sensor: WSxx" or "Station hardware: WSxx with GW1100". But it should be 
>> able to read it out of the weewx.conf, if it can be defined there somehow, 
>> because in a multiple instance weewx setup the skin.conf is the same for 
>> all instances. But yeah not sure if this makes sense or if it should rather 
>> be adressed by weewx itself, I know it's just a little detail but would be 
>> neat :)*
>> Like I said in the first post, I'm new to the weewx ecosystem, so 
>> everything I write now is speculation: (without further investigation) this 
>> sounds more like a Driver issue? The driver should provide the station data 
>> to weewx (and the skin). Not sure about adding this as configuration to 
>> weewx.conf. I don't know if weewx would support this out of the box. The 
>> Extras Section (https://weewx.com/docs/customizing.htm#Extras) inside 
>> the skin.conf would be suitable for this, but then you will need to set 
>> this for every weewx-wdc installation. I will keep this in mind and do some 
>> investigation.
>> tarob...@gmail.com schrieb am Samstag, 4. Juni 2022 um 01:07:16 UTC+2:
>>
>>> Ran this on my test rpi (simulator mode) with data going back to late 
>>> Dec 2021. Took about ~70 secs to generate WdcReport. I copied over my up 
>>> weewx db (data from mid 2020 to present) and it takes about ~180 sec to 
>>> generate a WdcReport. Any ways to optimize the reports to get the report 
>>> generation time down? For comparison, takes less than a sec for 
>>> SeasonsReport.
>>>
>>> On Friday, June 3, 2022 at 10:38:06 AM UTC-4 f4n...@gmail.com wrote:
>>>
 *Thank you for all these suggestions and feedback! I really like the 
 idea of an Classic/Alternative Layout switch, btw :)*

 Glad you like my feedback and ideas! This will be a great feature, 
 customization is everything imo 

 *You mean station info/news content as a configurable menu link to let 
 the user link to any generated Blog/News/whatever page, right?*

 I mean kind of like the "about" page on the fuzzy-archer skin, where 
 one can put custom content in it, as it seems there can be more than 1 
 additional page and menu entry. I'm n

Re: [weewx-user] Re: WDC Skin

2022-06-30 Thread David Bätge
I just wanted to inform you that I released v1.3.0 of weewx-wdc, new 
features are: 


   - Customizable "About page", demo 
   here: https://www.weewx-hbt.de/about.html
   - Performance (Report Generation) optimization (should be decreased to 
   50%, please see https://github.com/Daveiano/weewx-wdc#performance)
   - Added "Climatological Days" Tile to stats and year pages 
   (https://www.weewx-hbt.de/statistics.html)
   - Added rain days and average temperature calendar diagram 
   (https://www.weewx-hbt.de/statistics.html)
   - Support for weewx-forecast


Here is a demo of the release: https://www.weewx-hbt.de/

I am also working on a second "more weewx like" layout for the skin, 
preview can be seen here: https://www.weewx-hbt.de/classic/

Feedback is always appreciated!
David Bätge schrieb am Samstag, 4. Juni 2022 um 11:11:15 UTC+2:

> *I copied over my up weewx db (data from mid 2020 to present) and it takes 
> about ~180 sec*
> Like the name of the Skin suggests, you will need a Data Center to run the 
> Skin :D Just kidding, the long generation time is on my list, I will see 
> what I can do about it in the coming weeks.
> See https://github.com/Daveiano/weewx-wdc/issues/14
>
> *I mean kind of like the "about" page on the fuzzy-archer skin, where one 
> can put custom content in it, as it seems there can be more than 1 
> additional page and menu entry. I'm not sure how it's done, if the page 
> content is written in the skin config directly or if it somehow embeds an 
> additional html page into the content area(?)*
> I got you. Sounds like a good addition. One could also provide pictures of 
> the station or extreme weather events or whatever. This would personalize 
> the skin for each user, definitely a good Addition.
> Also added an Issue for that 
> https://github.com/Daveiano/weewx-wdc/issues/15
>
> *Another great thing would be, if the station/hardware info could somehow 
> be overwritten or complemented with an additional info field, if the driver 
> doesn't pass enough information, as it's the case with an SDR setup or the 
> interceptor driver: It just shows "sdr" or "ecowitt-client" instead of, as 
> an example, "WS80 over SDR" or "WS80 with ecowitt-client / GW1000". It 
> would be sufficient if there would just be an additonal customizable text 
> field below "weewx 4.x.x with ecowitt-client" which would show e.g. 
> "Sensor: WSxx" or "Station hardware: WSxx with GW1100". But it should be 
> able to read it out of the weewx.conf, if it can be defined there somehow, 
> because in a multiple instance weewx setup the skin.conf is the same for 
> all instances. But yeah not sure if this makes sense or if it should rather 
> be adressed by weewx itself, I know it's just a little detail but would be 
> neat :)*
> Like I said in the first post, I'm new to the weewx ecosystem, so 
> everything I write now is speculation: (without further investigation) this 
> sounds more like a Driver issue? The driver should provide the station data 
> to weewx (and the skin). Not sure about adding this as configuration to 
> weewx.conf. I don't know if weewx would support this out of the box. The 
> Extras Section (https://weewx.com/docs/customizing.htm#Extras) inside the 
> skin.conf would be suitable for this, but then you will need to set this 
> for every weewx-wdc installation. I will keep this in mind and do some 
> investigation.
> tarob...@gmail.com schrieb am Samstag, 4. Juni 2022 um 01:07:16 UTC+2:
>
>> Ran this on my test rpi (simulator mode) with data going back to late Dec 
>> 2021. Took about ~70 secs to generate WdcReport. I copied over my up weewx 
>> db (data from mid 2020 to present) and it takes about ~180 sec to generate 
>> a WdcReport. Any ways to optimize the reports to get the report generation 
>> time down? For comparison, takes less than a sec for SeasonsReport.
>>
>> On Friday, June 3, 2022 at 10:38:06 AM UTC-4 f4n...@gmail.com wrote:
>>
>>> *Thank you for all these suggestions and feedback! I really like the 
>>> idea of an Classic/Alternative Layout switch, btw :)*
>>>
>>> Glad you like my feedback and ideas! This will be a great feature, 
>>> customization is everything imo 
>>>
>>> *You mean station info/news content as a configurable menu link to let 
>>> the user link to any generated Blog/News/whatever page, right?*
>>>
>>> I mean kind of like the "about" page on the fuzzy-archer skin, where one 
>>> can put custom content in it, as it seems there can be more than 1 
>>> additional page and menu entry. I'm not sure how it's done, if the page 
>>> content is written in the skin config directly or if it somehow embeds an 
>>> additional html page into the content area(?)
>>>
>>> Another great thing would be, if the station/hardware info could somehow 
>>> be overwritten or complemented with an additional info field, if the driver 
>>> doesn't pass enough information, as it's the case with an SDR setup or the 
>>> interceptor driver: It just shows "sdr" or "ecowitt-client" 

Re: [weewx-user] Re: WDC Skin

2022-06-04 Thread David Bätge
*I copied over my up weewx db (data from mid 2020 to present) and it takes 
about ~180 sec*
Like the name of the Skin suggests, you will need a Data Center to run the 
Skin :D Just kidding, the long generation time is on my list, I will see 
what I can do about it in the coming weeks.
See https://github.com/Daveiano/weewx-wdc/issues/14

*I mean kind of like the "about" page on the fuzzy-archer skin, where one 
can put custom content in it, as it seems there can be more than 1 
additional page and menu entry. I'm not sure how it's done, if the page 
content is written in the skin config directly or if it somehow embeds an 
additional html page into the content area(?)*
I got you. Sounds like a good addition. One could also provide pictures of 
the station or extreme weather events or whatever. This would personalize 
the skin for each user, definitely a good Addition.
Also added an Issue for that https://github.com/Daveiano/weewx-wdc/issues/15

*Another great thing would be, if the station/hardware info could somehow 
be overwritten or complemented with an additional info field, if the driver 
doesn't pass enough information, as it's the case with an SDR setup or the 
interceptor driver: It just shows "sdr" or "ecowitt-client" instead of, as 
an example, "WS80 over SDR" or "WS80 with ecowitt-client / GW1000". It 
would be sufficient if there would just be an additonal customizable text 
field below "weewx 4.x.x with ecowitt-client" which would show e.g. 
"Sensor: WSxx" or "Station hardware: WSxx with GW1100". But it should be 
able to read it out of the weewx.conf, if it can be defined there somehow, 
because in a multiple instance weewx setup the skin.conf is the same for 
all instances. But yeah not sure if this makes sense or if it should rather 
be adressed by weewx itself, I know it's just a little detail but would be 
neat :)*
Like I said in the first post, I'm new to the weewx ecosystem, so 
everything I write now is speculation: (without further investigation) this 
sounds more like a Driver issue? The driver should provide the station data 
to weewx (and the skin). Not sure about adding this as configuration to 
weewx.conf. I don't know if weewx would support this out of the box. The 
Extras Section (https://weewx.com/docs/customizing.htm#Extras) inside the 
skin.conf would be suitable for this, but then you will need to set this 
for every weewx-wdc installation. I will keep this in mind and do some 
investigation.
tarob...@gmail.com schrieb am Samstag, 4. Juni 2022 um 01:07:16 UTC+2:

> Ran this on my test rpi (simulator mode) with data going back to late Dec 
> 2021. Took about ~70 secs to generate WdcReport. I copied over my up weewx 
> db (data from mid 2020 to present) and it takes about ~180 sec to generate 
> a WdcReport. Any ways to optimize the reports to get the report generation 
> time down? For comparison, takes less than a sec for SeasonsReport.
>
> On Friday, June 3, 2022 at 10:38:06 AM UTC-4 f4n...@gmail.com wrote:
>
>> *Thank you for all these suggestions and feedback! I really like the idea 
>> of an Classic/Alternative Layout switch, btw :)*
>>
>> Glad you like my feedback and ideas! This will be a great feature, 
>> customization is everything imo 
>>
>> *You mean station info/news content as a configurable menu link to let 
>> the user link to any generated Blog/News/whatever page, right?*
>>
>> I mean kind of like the "about" page on the fuzzy-archer skin, where one 
>> can put custom content in it, as it seems there can be more than 1 
>> additional page and menu entry. I'm not sure how it's done, if the page 
>> content is written in the skin config directly or if it somehow embeds an 
>> additional html page into the content area(?)
>>
>> Another great thing would be, if the station/hardware info could somehow 
>> be overwritten or complemented with an additional info field, if the driver 
>> doesn't pass enough information, as it's the case with an SDR setup or the 
>> interceptor driver: It just shows "sdr" or "ecowitt-client" instead of, as 
>> an example, "WS80 over SDR" or "WS80 with ecowitt-client / GW1000". It 
>> would be sufficient if there would just be an additonal customizable text 
>> field below "weewx 4.x.x with ecowitt-client" which would show e.g. 
>> "Sensor: WSxx" or "Station hardware: WSxx with GW1100". But it should be 
>> able to read it out of the weewx.conf, if it can be defined there somehow, 
>> because in a multiple instance weewx setup the skin.conf is the same for 
>> all instances. But yeah not sure if this makes sense or if it should rather 
>> be adressed by weewx itself, I know it's just a little detail but would be 
>> neat :)
>>
>>
>>
>> david@gmail.com schrieb am Mittwoch, 1. Juni 2022 um 01:08:26 UTC+2:
>>
>>> *So the spacing can be predefined, but not the graph and font on the 
>>> cards/tiles size?  If so, yeah maybe you can do something with the spacing 
>>> or the possibility to move "current weather conditions" into the left me

Re: [weewx-user] Re: WDC Skin

2022-06-03 Thread tarob...@gmail.com
Ran this on my test rpi (simulator mode) with data going back to late Dec 
2021. Took about ~70 secs to generate WdcReport. I copied over my up weewx 
db (data from mid 2020 to present) and it takes about ~180 sec to generate 
a WdcReport. Any ways to optimize the reports to get the report generation 
time down? For comparison, takes less than a sec for SeasonsReport.

On Friday, June 3, 2022 at 10:38:06 AM UTC-4 f4n...@gmail.com wrote:

> *Thank you for all these suggestions and feedback! I really like the idea 
> of an Classic/Alternative Layout switch, btw :)*
>
> Glad you like my feedback and ideas! This will be a great feature, 
> customization is everything imo 
>
> *You mean station info/news content as a configurable menu link to let the 
> user link to any generated Blog/News/whatever page, right?*
>
> I mean kind of like the "about" page on the fuzzy-archer skin, where one 
> can put custom content in it, as it seems there can be more than 1 
> additional page and menu entry. I'm not sure how it's done, if the page 
> content is written in the skin config directly or if it somehow embeds an 
> additional html page into the content area(?)
>
> Another great thing would be, if the station/hardware info could somehow 
> be overwritten or complemented with an additional info field, if the driver 
> doesn't pass enough information, as it's the case with an SDR setup or the 
> interceptor driver: It just shows "sdr" or "ecowitt-client" instead of, as 
> an example, "WS80 over SDR" or "WS80 with ecowitt-client / GW1000". It 
> would be sufficient if there would just be an additonal customizable text 
> field below "weewx 4.x.x with ecowitt-client" which would show e.g. 
> "Sensor: WSxx" or "Station hardware: WSxx with GW1100". But it should be 
> able to read it out of the weewx.conf, if it can be defined there somehow, 
> because in a multiple instance weewx setup the skin.conf is the same for 
> all instances. But yeah not sure if this makes sense or if it should rather 
> be adressed by weewx itself, I know it's just a little detail but would be 
> neat :)
>
>
>
> david@gmail.com schrieb am Mittwoch, 1. Juni 2022 um 01:08:26 UTC+2:
>
>> *So the spacing can be predefined, but not the graph and font on the 
>> cards/tiles size?  If so, yeah maybe you can do something with the spacing 
>> or the possibility to move "current weather conditions" into the left menu 
>> like sort of a widget, but to only show the graphs in the content area or 
>> the possibility to prioritize them. As an optional skin setting for 
>> example. But if they could in any way be made as small as the ones in the 
>> new bootstrap skin "fuzzy-archer 3.0" this would be amazing. If you two 
>> could ever mix up your skins, this would probably be the most functional 
>> and clear skin ever :) *
>> In theory, you can change everything. But I would like to stick with the 
>> values (spacing, sizes, etc) the Design System provides. Yes, I had the 
>> same idea: Provide a config to enable a "more weewx like layout". This 
>> would be like you said: Current conditions on the left and graphs on the 
>> right. One could then switch between a "Classic" and "Alternative" Layout 
>> via skin.conf.
>> I had a look at fuzzy-archer 3.0, cool skin!
>>
>> *Well, true, nearly forgot about that option. That way, a custom menu 
>> entry in the WDC Skin to e.g. station info/news content would be the icing 
>> on the cake :)*
>> You mean station info/news content as a configurable menu link to let the 
>> user link to any generated Blog/News/whatever page, right?
>>
>> Thank you for all these suggestions and feedback! I really like the idea 
>> of an Classic/Alternative Layout switch, btw :)
>> f4n...@gmail.com schrieb am Dienstag, 31. Mai 2022 um 14:45:52 UTC+2:
>>
>>> *Currently, this is not possible. The skin uses the IBM Carbon Design 
>>> System, so these values are more or less predefined. But you are right, 
>>> using the space and layouting all the graphs were one of the most 
>>> challenging parts of this. I am also not yet 100% happy with it. Perhaps I 
>>> could predefine some "Spacing variations", like a dense one and a wide one 
>>> for example.*
>>>
>>> So the spacing can be predefined, but not the graph and font on the 
>>> cards/tiles size?  If so, yeah maybe you can do something with the spacing 
>>> or the possibility to move "current weather conditions" into the left menu 
>>> like sort of a widget, but to only show the graphs in the content area or 
>>> the possibility to prioritize them. As an optional skin setting for 
>>> example. But if they could in any way be made as small as the ones in the 
>>> new bootstrap skin "fuzzy-archer 3.0" this would be amazing. If you two 
>>> could ever mix up your skins, this would probably be the most functional 
>>> and clear skin ever :) 
>>>
>>> These are just suggestions though, I know tastes are different, but imo 
>>> weewx stil lacks an interactive alternative or version of the very cl

Re: [weewx-user] Re: WDC Skin

2022-06-03 Thread f4n...@gmail.com
*Thank you for all these suggestions and feedback! I really like the idea 
of an Classic/Alternative Layout switch, btw :)*

Glad you like my feedback and ideas! This will be a great feature, 
customization is everything imo 

*You mean station info/news content as a configurable menu link to let the 
user link to any generated Blog/News/whatever page, right?*

I mean kind of like the "about" page on the fuzzy-archer skin, where one 
can put custom content in it, as it seems there can be more than 1 
additional page and menu entry. I'm not sure how it's done, if the page 
content is written in the skin config directly or if it somehow embeds an 
additional html page into the content area(?)

Another great thing would be, if the station/hardware info could somehow be 
overwritten or complemented with an additional info field, if the driver 
doesn't pass enough information, as it's the case with an SDR setup or the 
interceptor driver: It just shows "sdr" or "ecowitt-client" instead of, as 
an example, "WS80 over SDR" or "WS80 with ecowitt-client / GW1000". It 
would be sufficient if there would just be an additonal customizable text 
field below "weewx 4.x.x with ecowitt-client" which would show e.g. 
"Sensor: WSxx" or "Station hardware: WSxx with GW1100". But it should be 
able to read it out of the weewx.conf, if it can be defined there somehow, 
because in a multiple instance weewx setup the skin.conf is the same for 
all instances. But yeah not sure if this makes sense or if it should rather 
be adressed by weewx itself, I know it's just a little detail but would be 
neat :)



david@gmail.com schrieb am Mittwoch, 1. Juni 2022 um 01:08:26 UTC+2:

> *So the spacing can be predefined, but not the graph and font on the 
> cards/tiles size?  If so, yeah maybe you can do something with the spacing 
> or the possibility to move "current weather conditions" into the left menu 
> like sort of a widget, but to only show the graphs in the content area or 
> the possibility to prioritize them. As an optional skin setting for 
> example. But if they could in any way be made as small as the ones in the 
> new bootstrap skin "fuzzy-archer 3.0" this would be amazing. If you two 
> could ever mix up your skins, this would probably be the most functional 
> and clear skin ever :) *
> In theory, you can change everything. But I would like to stick with the 
> values (spacing, sizes, etc) the Design System provides. Yes, I had the 
> same idea: Provide a config to enable a "more weewx like layout". This 
> would be like you said: Current conditions on the left and graphs on the 
> right. One could then switch between a "Classic" and "Alternative" Layout 
> via skin.conf.
> I had a look at fuzzy-archer 3.0, cool skin!
>
> *Well, true, nearly forgot about that option. That way, a custom menu 
> entry in the WDC Skin to e.g. station info/news content would be the icing 
> on the cake :)*
> You mean station info/news content as a configurable menu link to let the 
> user link to any generated Blog/News/whatever page, right?
>
> Thank you for all these suggestions and feedback! I really like the idea 
> of an Classic/Alternative Layout switch, btw :)
> f4n...@gmail.com schrieb am Dienstag, 31. Mai 2022 um 14:45:52 UTC+2:
>
>> *Currently, this is not possible. The skin uses the IBM Carbon Design 
>> System, so these values are more or less predefined. But you are right, 
>> using the space and layouting all the graphs were one of the most 
>> challenging parts of this. I am also not yet 100% happy with it. Perhaps I 
>> could predefine some "Spacing variations", like a dense one and a wide one 
>> for example.*
>>
>> So the spacing can be predefined, but not the graph and font on the 
>> cards/tiles size?  If so, yeah maybe you can do something with the spacing 
>> or the possibility to move "current weather conditions" into the left menu 
>> like sort of a widget, but to only show the graphs in the content area or 
>> the possibility to prioritize them. As an optional skin setting for 
>> example. But if they could in any way be made as small as the ones in the 
>> new bootstrap skin "fuzzy-archer 3.0" this would be amazing. If you two 
>> could ever mix up your skins, this would probably be the most functional 
>> and clear skin ever :) 
>>
>> These are just suggestions though, I know tastes are different, but imo 
>> weewx stil lacks an interactive alternative or version of the very clear 
>> seasons skin where nearly all values and graphs are visible at a glance. I 
>> just like to zoom in if needed, instead of scrolling.
>>
>> *Do you mean like an export Button on the Desktop Application to export 
>> all data as HTML pages? Well you can also use the WDC Skin with weewx and 
>> import all data to weewx via csv, generate the report and there you go ;)*
>>
>> Well, true, nearly forgot about that option. That way, a custom menu 
>> entry in the WDC Skin to e.g. station info/news content would be the icing 
>> on the cake 

Re: [weewx-user] Re: WDC Skin

2022-05-31 Thread David Bätge
*So the spacing can be predefined, but not the graph and font on the 
cards/tiles size?  If so, yeah maybe you can do something with the spacing 
or the possibility to move "current weather conditions" into the left menu 
like sort of a widget, but to only show the graphs in the content area or 
the possibility to prioritize them. As an optional skin setting for 
example. But if they could in any way be made as small as the ones in the 
new bootstrap skin "fuzzy-archer 3.0" this would be amazing. If you two 
could ever mix up your skins, this would probably be the most functional 
and clear skin ever :) *
In theory, you can change everything. But I would like to stick with the 
values (spacing, sizes, etc) the Design System provides. Yes, I had the 
same idea: Provide a config to enable a "more weewx like layout". This 
would be like you said: Current conditions on the left and graphs on the 
right. One could then switch between a "Classic" and "Alternative" Layout 
via skin.conf.
I had a look at fuzzy-archer 3.0, cool skin!

*Well, true, nearly forgot about that option. That way, a custom menu entry 
in the WDC Skin to e.g. station info/news content would be the icing on the 
cake :)*
You mean station info/news content as a configurable menu link to let the 
user link to any generated Blog/News/whatever page, right?

Thank you for all these suggestions and feedback! I really like the idea of 
an Classic/Alternative Layout switch, btw :)
f4n...@gmail.com schrieb am Dienstag, 31. Mai 2022 um 14:45:52 UTC+2:

> *Currently, this is not possible. The skin uses the IBM Carbon Design 
> System, so these values are more or less predefined. But you are right, 
> using the space and layouting all the graphs were one of the most 
> challenging parts of this. I am also not yet 100% happy with it. Perhaps I 
> could predefine some "Spacing variations", like a dense one and a wide one 
> for example.*
>
> So the spacing can be predefined, but not the graph and font on the 
> cards/tiles size?  If so, yeah maybe you can do something with the spacing 
> or the possibility to move "current weather conditions" into the left menu 
> like sort of a widget, but to only show the graphs in the content area or 
> the possibility to prioritize them. As an optional skin setting for 
> example. But if they could in any way be made as small as the ones in the 
> new bootstrap skin "fuzzy-archer 3.0" this would be amazing. If you two 
> could ever mix up your skins, this would probably be the most functional 
> and clear skin ever :) 
>
> These are just suggestions though, I know tastes are different, but imo 
> weewx stil lacks an interactive alternative or version of the very clear 
> seasons skin where nearly all values and graphs are visible at a glance. I 
> just like to zoom in if needed, instead of scrolling.
>
> *Do you mean like an export Button on the Desktop Application to export 
> all data as HTML pages? Well you can also use the WDC Skin with weewx and 
> import all data to weewx via csv, generate the report and there you go ;)*
>
> Well, true, nearly forgot about that option. That way, a custom menu entry 
> in the WDC Skin to e.g. station info/news content would be the icing on the 
> cake :)
>
>
>
> tarob...@gmail.com schrieb am Montag, 30. Mai 2022 um 19:34:33 UTC+2:
>
>> It's working without errors. Thanks again!
>>
>> On Mon, May 30, 2022 at 11:16 AM David Bätge  wrote:
>>
>>> Thank you very much!
>>>
>>> I was able to reproduce the issue you described. It was like I said, due 
>>> to missing data (days without any values). I will include a Bugfix for this 
>>> in the next release. Attached is an updated stats_util.py.
>>>
>>> Again - Thank you very much. Every feedback is appreciated!
>>>
>>> tarob...@gmail.com schrieb am Montag, 30. Mai 2022 um 12:53:56 UTC+2:
>>>
 Shared the db via drive. Haven't tried the updated stats but will let 
 you know when I do.

 On Sun, May 29, 2022, 8:13 PM David Bätge  wrote:

> Ok, I ran the skin successfully with the Simulator driver for a few 
> hours. Curious about what happens if I stop weewx for some days and then 
> restart it, the driver should resume producing data with the current 
> date/time. But in the meantime there is missing data, I guess.
>
> Did you try the updated stats_util.py (
> https://github.com/Daveiano/weewx-wdc/commit/49c4a42dfa2d4eb4b4226f9c676f98f99a260019
> )?
>
> Would be great to get the DB, would save me some time trying things 
> out :)
>
> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 23:28:53 UTC+2:
>
>> Here's the conf.
>>
>> On Sun, May 29, 2022 at 5:12 PM David Bätge  
>> wrote:
>>
>>> Oh ok, in that case, if you could post your weewx.conf, that's 
>>> enough I think. Thank you very much!
>>>
>>> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 18:05:45 
>>> UTC+2:
>>>
 I'm testing this on my "Test" wee

Re: [weewx-user] Re: WDC Skin

2022-05-31 Thread f4n...@gmail.com
*Currently, this is not possible. The skin uses the IBM Carbon Design 
System, so these values are more or less predefined. But you are right, 
using the space and layouting all the graphs were one of the most 
challenging parts of this. I am also not yet 100% happy with it. Perhaps I 
could predefine some "Spacing variations", like a dense one and a wide one 
for example.*

So the spacing can be predefined, but not the graph and font on the 
cards/tiles size?  If so, yeah maybe you can do something with the spacing 
or the possibility to move "current weather conditions" into the left menu 
like sort of a widget, but to only show the graphs in the content area or 
the possibility to prioritize them. As an optional skin setting for 
example. But if they could in any way be made as small as the ones in the 
new bootstrap skin "fuzzy-archer 3.0" this would be amazing. If you two 
could ever mix up your skins, this would probably be the most functional 
and clear skin ever :) 

These are just suggestions though, I know tastes are different, but imo 
weewx stil lacks an interactive alternative or version of the very clear 
seasons skin where nearly all values and graphs are visible at a glance. I 
just like to zoom in if needed, instead of scrolling.

*Do you mean like an export Button on the Desktop Application to export all 
data as HTML pages? Well you can also use the WDC Skin with weewx and 
import all data to weewx via csv, generate the report and there you go ;)*

Well, true, nearly forgot about that option. That way, a custom menu entry 
in the WDC Skin to e.g. station info/news content would be the icing on the 
cake :)



tarob...@gmail.com schrieb am Montag, 30. Mai 2022 um 19:34:33 UTC+2:

> It's working without errors. Thanks again!
>
> On Mon, May 30, 2022 at 11:16 AM David Bätge  wrote:
>
>> Thank you very much!
>>
>> I was able to reproduce the issue you described. It was like I said, due 
>> to missing data (days without any values). I will include a Bugfix for this 
>> in the next release. Attached is an updated stats_util.py.
>>
>> Again - Thank you very much. Every feedback is appreciated!
>>
>> tarob...@gmail.com schrieb am Montag, 30. Mai 2022 um 12:53:56 UTC+2:
>>
>>> Shared the db via drive. Haven't tried the updated stats but will let 
>>> you know when I do.
>>>
>>> On Sun, May 29, 2022, 8:13 PM David Bätge  wrote:
>>>
 Ok, I ran the skin successfully with the Simulator driver for a few 
 hours. Curious about what happens if I stop weewx for some days and then 
 restart it, the driver should resume producing data with the current 
 date/time. But in the meantime there is missing data, I guess.

 Did you try the updated stats_util.py (
 https://github.com/Daveiano/weewx-wdc/commit/49c4a42dfa2d4eb4b4226f9c676f98f99a260019
 )?

 Would be great to get the DB, would save me some time trying things out 
 :)

 tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 23:28:53 UTC+2:

> Here's the conf.
>
> On Sun, May 29, 2022 at 5:12 PM David Bätge  
> wrote:
>
>> Oh ok, in that case, if you could post your weewx.conf, that's enough 
>> I think. Thank you very much!
>>
>> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 18:05:45 
>> UTC+2:
>>
>>> I'm testing this on my "Test" weewx on a 2nd raspberry pi. It's 
>>> running in simulation mode so I don't think there are any missing 
>>> values. 
>>> If you still need the db let me know.
>>>
>>> Troy
>>>
>>> On Sat, May 28, 2022, 2:54 PM David Bätge  
>>> wrote:
>>>
 From the logs, it looks like there are some temperature values 
 missing in your database (that's where the NoneType came from). Like 
 your 
 station stopped working for 2 or 3 days!?
 I added a check to address this issue. Could you please replace 
 /usr/share/weewx/user/stats_util.py with the attached stats_util.py?

 Any chance I could get a copy of your weewx database to test and 
 verify this?

 For reference: I also added a issue on GH for this: 
 https://github.com/Daveiano/weewx-wdc/issues/9
 tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 18:38:07 
 UTC+2:

> The skin displays but there are quite a bit of errors (see below).
>
> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added 
> record 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added 
> record 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 
> 'weewx.sdb'
> May 28 12:35:20 raspberrypi weewx[8931] INFO 
> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 
> 1.54 
> seconds
> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator

Re: [weewx-user] Re: WDC Skin

2022-05-30 Thread Troy Roberts
It's working without errors. Thanks again!

On Mon, May 30, 2022 at 11:16 AM David Bätge  wrote:

> Thank you very much!
>
> I was able to reproduce the issue you described. It was like I said, due
> to missing data (days without any values). I will include a Bugfix for this
> in the next release. Attached is an updated stats_util.py.
>
> Again - Thank you very much. Every feedback is appreciated!
>
> tarob...@gmail.com schrieb am Montag, 30. Mai 2022 um 12:53:56 UTC+2:
>
>> Shared the db via drive. Haven't tried the updated stats but will let you
>> know when I do.
>>
>> On Sun, May 29, 2022, 8:13 PM David Bätge  wrote:
>>
>>> Ok, I ran the skin successfully with the Simulator driver for a few
>>> hours. Curious about what happens if I stop weewx for some days and then
>>> restart it, the driver should resume producing data with the current
>>> date/time. But in the meantime there is missing data, I guess.
>>>
>>> Did you try the updated stats_util.py (
>>> https://github.com/Daveiano/weewx-wdc/commit/49c4a42dfa2d4eb4b4226f9c676f98f99a260019
>>> )?
>>>
>>> Would be great to get the DB, would save me some time trying things out
>>> :)
>>>
>>> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 23:28:53 UTC+2:
>>>
 Here's the conf.

 On Sun, May 29, 2022 at 5:12 PM David Bätge 
 wrote:

> Oh ok, in that case, if you could post your weewx.conf, that's enough
> I think. Thank you very much!
>
> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 18:05:45 UTC+2:
>
>> I'm testing this on my "Test" weewx on a 2nd raspberry pi. It's
>> running in simulation mode so I don't think there are any missing values.
>> If you still need the db let me know.
>>
>> Troy
>>
>> On Sat, May 28, 2022, 2:54 PM David Bätge 
>> wrote:
>>
>>> From the logs, it looks like there are some temperature values
>>> missing in your database (that's where the NoneType came from). Like 
>>> your
>>> station stopped working for 2 or 3 days!?
>>> I added a check to address this issue. Could you please replace
>>> /usr/share/weewx/user/stats_util.py with the attached stats_util.py?
>>>
>>> Any chance I could get a copy of your weewx database to test and
>>> verify this?
>>>
>>> For reference: I also added a issue on GH for this:
>>> https://github.com/Daveiano/weewx-wdc/issues/9
>>> tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 18:38:07
>>> UTC+2:
>>>
 The skin displays but there are quite a bit of errors (see below).

 May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added
 record 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
 May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added
 record 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 
 'weewx.sdb'
 May 28 12:35:20 raspberrypi weewx[8931] INFO
 weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 
 1.54
 seconds
 May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator:
 Generated 15 images for report SeasonsReport in 0.95 seconds
 May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine:
 Copied 0 files to /var/www/html/weewx
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheetahgenerator: Evaluation of template
 /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed with exception 
 '>>> 'TypeError'>'
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheetahgenerator:  Ignoring template
 /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheetahgenerator:  Reason: '>=' not supported between 
 instances
 of 'NoneType' and 'float'
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheetahgenerator:   Traceback (most recent call last):
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheetahgenerator: File
 "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheetahgenerator:   unicode_string =
 compiled_template.respond()
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheetahgenerator: File
 "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183, in respond
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheetahgenerator: File
 "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in
 _handleCheetahInclude
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheetahgenerator: 
  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
 May 28 12:35:23 raspberrypi weewx[8931] ERROR
 weewx.cheet

Re: [weewx-user] Re: WDC Skin

2022-05-30 Thread David Bätge
Thank you very much!

I was able to reproduce the issue you described. It was like I said, due to 
missing data (days without any values). I will include a Bugfix for this in 
the next release. Attached is an updated stats_util.py.

Again - Thank you very much. Every feedback is appreciated!

tarob...@gmail.com schrieb am Montag, 30. Mai 2022 um 12:53:56 UTC+2:

> Shared the db via drive. Haven't tried the updated stats but will let you 
> know when I do.
>
> On Sun, May 29, 2022, 8:13 PM David Bätge  wrote:
>
>> Ok, I ran the skin successfully with the Simulator driver for a few 
>> hours. Curious about what happens if I stop weewx for some days and then 
>> restart it, the driver should resume producing data with the current 
>> date/time. But in the meantime there is missing data, I guess.
>>
>> Did you try the updated stats_util.py (
>> https://github.com/Daveiano/weewx-wdc/commit/49c4a42dfa2d4eb4b4226f9c676f98f99a260019
>> )?
>>
>> Would be great to get the DB, would save me some time trying things out :)
>>
>> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 23:28:53 UTC+2:
>>
>>> Here's the conf.
>>>
>>> On Sun, May 29, 2022 at 5:12 PM David Bätge  wrote:
>>>
 Oh ok, in that case, if you could post your weewx.conf, that's enough I 
 think. Thank you very much!

 tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 18:05:45 UTC+2:

> I'm testing this on my "Test" weewx on a 2nd raspberry pi. It's 
> running in simulation mode so I don't think there are any missing values. 
> If you still need the db let me know.
>
> Troy
>
> On Sat, May 28, 2022, 2:54 PM David Bätge  wrote:
>
>> From the logs, it looks like there are some temperature values 
>> missing in your database (that's where the NoneType came from). Like 
>> your 
>> station stopped working for 2 or 3 days!?
>> I added a check to address this issue. Could you please replace 
>> /usr/share/weewx/user/stats_util.py with the attached stats_util.py?
>>
>> Any chance I could get a copy of your weewx database to test and 
>> verify this?
>>
>> For reference: I also added a issue on GH for this: 
>> https://github.com/Daveiano/weewx-wdc/issues/9
>> tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 18:38:07 
>> UTC+2:
>>
>>> The skin displays but there are quite a bit of errors (see below).
>>>
>>> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added 
>>> record 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
>>> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added 
>>> record 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 
>>> 'weewx.sdb'
>>> May 28 12:35:20 raspberrypi weewx[8931] INFO weewx.cheetahgenerator: 
>>> Generated 8 files for report SeasonsReport in 1.54 seconds
>>> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator: 
>>> Generated 15 images for report SeasonsReport in 0.95 seconds
>>> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine: 
>>> Copied 0 files to /var/www/html/weewx
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator: Evaluation of template 
>>> /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed with exception 
>>> '>> 'TypeError'>'
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator:  Ignoring template 
>>> /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator:  Reason: '>=' not supported between 
>>> instances 
>>> of 'NoneType' and 'float'
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator:   Traceback (most recent call last):
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator:   unicode_string = 
>>> compiled_template.respond()
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183, in respond
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
>>> _handleCheetahInclude
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator:  
>>>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>> weewx.cheetahgenerator: File 
>>> "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 
>>> 277, 
>>> in respond
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR 
>>

Re: [weewx-user] Re: WDC Skin

2022-05-30 Thread Troy Roberts
Shared the db via drive. Haven't tried the updated stats but will let you
know when I do.

On Sun, May 29, 2022, 8:13 PM David Bätge  wrote:

> Ok, I ran the skin successfully with the Simulator driver for a few hours.
> Curious about what happens if I stop weewx for some days and then restart
> it, the driver should resume producing data with the current date/time. But
> in the meantime there is missing data, I guess.
>
> Did you try the updated stats_util.py (
> https://github.com/Daveiano/weewx-wdc/commit/49c4a42dfa2d4eb4b4226f9c676f98f99a260019
> )?
>
> Would be great to get the DB, would save me some time trying things out :)
>
> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 23:28:53 UTC+2:
>
>> Here's the conf.
>>
>> On Sun, May 29, 2022 at 5:12 PM David Bätge  wrote:
>>
>>> Oh ok, in that case, if you could post your weewx.conf, that's enough I
>>> think. Thank you very much!
>>>
>>> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 18:05:45 UTC+2:
>>>
 I'm testing this on my "Test" weewx on a 2nd raspberry pi. It's running
 in simulation mode so I don't think there are any missing values. If you
 still need the db let me know.

 Troy

 On Sat, May 28, 2022, 2:54 PM David Bätge  wrote:

> From the logs, it looks like there are some temperature values missing
> in your database (that's where the NoneType came from). Like your station
> stopped working for 2 or 3 days!?
> I added a check to address this issue. Could you please replace
> /usr/share/weewx/user/stats_util.py with the attached stats_util.py?
>
> Any chance I could get a copy of your weewx database to test and
> verify this?
>
> For reference: I also added a issue on GH for this:
> https://github.com/Daveiano/weewx-wdc/issues/9
> tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 18:38:07 UTC+2:
>
>> The skin displays but there are quite a bit of errors (see below).
>>
>> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added
>> record 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
>> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added
>> record 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 
>> 'weewx.sdb'
>> May 28 12:35:20 raspberrypi weewx[8931] INFO weewx.cheetahgenerator:
>> Generated 8 files for report SeasonsReport in 1.54 seconds
>> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator:
>> Generated 15 images for report SeasonsReport in 0.95 seconds
>> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine:
>> Copied 0 files to /var/www/html/weewx
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> Evaluation of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl 
>> failed
>> with exception ''
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>  Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>  Reason: '>=' not supported between instances of 'NoneType' and 
>> 'float'
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   Traceback (most recent call last):
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in
>> generate
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   unicode_string = compiled_template.respond()
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183,
>> in respond
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
>> 1707, in _handleCheetahInclude
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File
>> "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 
>> 277,
>> in respond
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File
>> "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 
>> 106,
>> in __errorCatcher6
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "", line 1, in 
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "/usr/share/weewx/user/stats_util.py", line 175, in
>> get_climatological_day
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   return len(list(days))
>> Ma

Re: [weewx-user] Re: WDC Skin

2022-05-29 Thread David Bätge
Ok, I ran the skin successfully with the Simulator driver for a few hours. 
Curious about what happens if I stop weewx for some days and then restart 
it, the driver should resume producing data with the current date/time. But 
in the meantime there is missing data, I guess.

Did you try the updated stats_util.py 
(https://github.com/Daveiano/weewx-wdc/commit/49c4a42dfa2d4eb4b4226f9c676f98f99a260019)?

Would be great to get the DB, would save me some time trying things out :)

tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 23:28:53 UTC+2:

> Here's the conf.
>
> On Sun, May 29, 2022 at 5:12 PM David Bätge  wrote:
>
>> Oh ok, in that case, if you could post your weewx.conf, that's enough I 
>> think. Thank you very much!
>>
>> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 18:05:45 UTC+2:
>>
>>> I'm testing this on my "Test" weewx on a 2nd raspberry pi. It's running 
>>> in simulation mode so I don't think there are any missing values. If you 
>>> still need the db let me know.
>>>
>>> Troy
>>>
>>> On Sat, May 28, 2022, 2:54 PM David Bätge  wrote:
>>>
 From the logs, it looks like there are some temperature values missing 
 in your database (that's where the NoneType came from). Like your station 
 stopped working for 2 or 3 days!?
 I added a check to address this issue. Could you please replace 
 /usr/share/weewx/user/stats_util.py with the attached stats_util.py?

 Any chance I could get a copy of your weewx database to test and verify 
 this?

 For reference: I also added a issue on GH for this: 
 https://github.com/Daveiano/weewx-wdc/issues/9
 tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 18:38:07 UTC+2:

> The skin displays but there are quite a bit of errors (see below).
>
> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added 
> record 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added 
> record 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 
> 'weewx.sdb'
> May 28 12:35:20 raspberrypi weewx[8931] INFO weewx.cheetahgenerator: 
> Generated 8 files for report SeasonsReport in 1.54 seconds
> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator: 
> Generated 15 images for report SeasonsReport in 0.95 seconds
> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine: 
> Copied 0 files to /var/www/html/weewx
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> Evaluation of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl 
> failed 
> with exception ''
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>  Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>  Reason: '>=' not supported between instances of 'NoneType' and 
> 'float'
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>   Traceback (most recent call last):
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in 
> generate
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>   unicode_string = compiled_template.respond()
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183, 
> in respond
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
> 1707, in _handleCheetahInclude
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>   self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> File 
> "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 
> 277, 
> in respond
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> File 
> "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 
> 106, 
> in __errorCatcher6
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> File "", line 1, in 
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> File "/usr/share/weewx/user/stats_util.py", line 175, in 
> get_climatological_day
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>   return len(list(days))
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> File "/usr/share/weewx/user/stats_util.py", line 173, in 
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgener

Re: [weewx-user] Re: WDC Skin

2022-05-29 Thread Troy Roberts
Here's the conf.

On Sun, May 29, 2022 at 5:12 PM David Bätge  wrote:

> Oh ok, in that case, if you could post your weewx.conf, that's enough I
> think. Thank you very much!
>
> tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 18:05:45 UTC+2:
>
>> I'm testing this on my "Test" weewx on a 2nd raspberry pi. It's running
>> in simulation mode so I don't think there are any missing values. If you
>> still need the db let me know.
>>
>> Troy
>>
>> On Sat, May 28, 2022, 2:54 PM David Bätge  wrote:
>>
>>> From the logs, it looks like there are some temperature values missing
>>> in your database (that's where the NoneType came from). Like your station
>>> stopped working for 2 or 3 days!?
>>> I added a check to address this issue. Could you please replace
>>> /usr/share/weewx/user/stats_util.py with the attached stats_util.py?
>>>
>>> Any chance I could get a copy of your weewx database to test and verify
>>> this?
>>>
>>> For reference: I also added a issue on GH for this:
>>> https://github.com/Daveiano/weewx-wdc/issues/9
>>> tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 18:38:07 UTC+2:
>>>
 The skin displays but there are quite a bit of errors (see below).

 May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added
 record 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
 May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added
 record 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 'weewx.sdb'
 May 28 12:35:20 raspberrypi weewx[8931] INFO weewx.cheetahgenerator:
 Generated 8 files for report SeasonsReport in 1.54 seconds
 May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator:
 Generated 15 images for report SeasonsReport in 0.95 seconds
 May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine: Copied
 0 files to /var/www/html/weewx
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 Evaluation of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed
 with exception ''
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
  Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
  Reason: '>=' not supported between instances of 'NoneType' and 'float'
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
   Traceback (most recent call last):
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in
 generate
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
   unicode_string = compiled_template.respond()
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183,
 in respond
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
 1707, in _handleCheetahInclude
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
   self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 File
 "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 277,
 in respond
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 File
 "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 106,
 in __errorCatcher6
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 File "", line 1, in 
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 File "/usr/share/weewx/user/stats_util.py", line 175, in
 get_climatological_day
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
   return len(list(days))
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 File "/usr/share/weewx/user/stats_util.py", line 173, in 
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
   days = filter(lambda x: x.raw >= value, list(day_series.data))
 May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
   TypeError: '>=' not supported between instances of 'NoneType' and
 'float'
 May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
 Evaluation of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
 failed with exception ''
 May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
  Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
 May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
  Reason: '>=' not supported between instances

Re: [weewx-user] Re: WDC Skin

2022-05-29 Thread David Bätge
Oh ok, in that case, if you could post your weewx.conf, that's enough I 
think. Thank you very much!

tarob...@gmail.com schrieb am Sonntag, 29. Mai 2022 um 18:05:45 UTC+2:

> I'm testing this on my "Test" weewx on a 2nd raspberry pi. It's running in 
> simulation mode so I don't think there are any missing values. If you still 
> need the db let me know.
>
> Troy
>
> On Sat, May 28, 2022, 2:54 PM David Bätge  wrote:
>
>> From the logs, it looks like there are some temperature values missing in 
>> your database (that's where the NoneType came from). Like your station 
>> stopped working for 2 or 3 days!?
>> I added a check to address this issue. Could you please replace 
>> /usr/share/weewx/user/stats_util.py with the attached stats_util.py?
>>
>> Any chance I could get a copy of your weewx database to test and verify 
>> this?
>>
>> For reference: I also added a issue on GH for this: 
>> https://github.com/Daveiano/weewx-wdc/issues/9
>> tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 18:38:07 UTC+2:
>>
>>> The skin displays but there are quite a bit of errors (see below).
>>>
>>> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record 
>>> 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
>>> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record 
>>> 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 'weewx.sdb'
>>> May 28 12:35:20 raspberrypi weewx[8931] INFO weewx.cheetahgenerator: 
>>> Generated 8 files for report SeasonsReport in 1.54 seconds
>>> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator: 
>>> Generated 15 images for report SeasonsReport in 0.95 seconds
>>> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine: Copied 
>>> 0 files to /var/www/html/weewx
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> Evaluation of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed 
>>> with exception ''
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>  Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>  Reason: '>=' not supported between instances of 'NoneType' and 'float'
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>   Traceback (most recent call last):
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in 
>>> generate
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>   unicode_string = compiled_template.respond()
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183, 
>>> in respond
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
>>> 1707, in _handleCheetahInclude
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>   self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> File 
>>> "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 277, 
>>> in respond
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> File 
>>> "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 106, 
>>> in __errorCatcher6
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> File "", line 1, in 
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> File "/usr/share/weewx/user/stats_util.py", line 175, in 
>>> get_climatological_day
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>   return len(list(days))
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> File "/usr/share/weewx/user/stats_util.py", line 173, in 
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>   days = filter(lambda x: x.raw >= value, list(day_series.data))
>>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>   TypeError: '>=' not supported between instances of 'NoneType' and 
>>> 'float'
>>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>> Evaluation of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl 
>>> failed with exception ''
>>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>  Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
>>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>  Reason: '>=' not supported between instances of 'NoneType' and 'float'
>>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
>>>   Traceba

Re: [weewx-user] Re: WDC Skin

2022-05-29 Thread Troy Roberts
I'm testing this on my "Test" weewx on a 2nd raspberry pi. It's running in
simulation mode so I don't think there are any missing values. If you still
need the db let me know.

Troy

On Sat, May 28, 2022, 2:54 PM David Bätge  wrote:

> From the logs, it looks like there are some temperature values missing in
> your database (that's where the NoneType came from). Like your station
> stopped working for 2 or 3 days!?
> I added a check to address this issue. Could you please replace
> /usr/share/weewx/user/stats_util.py with the attached stats_util.py?
>
> Any chance I could get a copy of your weewx database to test and verify
> this?
>
> For reference: I also added a issue on GH for this:
> https://github.com/Daveiano/weewx-wdc/issues/9
> tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 18:38:07 UTC+2:
>
>> The skin displays but there are quite a bit of errors (see below).
>>
>> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record
>> 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
>> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record
>> 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 'weewx.sdb'
>> May 28 12:35:20 raspberrypi weewx[8931] INFO weewx.cheetahgenerator:
>> Generated 8 files for report SeasonsReport in 1.54 seconds
>> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator:
>> Generated 15 images for report SeasonsReport in 0.95 seconds
>> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine: Copied 0
>> files to /var/www/html/weewx
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> Evaluation of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed
>> with exception ''
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>  Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>  Reason: '>=' not supported between instances of 'NoneType' and 'float'
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   Traceback (most recent call last):
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in
>> generate
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   unicode_string = compiled_template.respond()
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183,
>> in respond
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line
>> 1707, in _handleCheetahInclude
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File
>> "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 277,
>> in respond
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File
>> "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 106,
>> in __errorCatcher6
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "", line 1, in 
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "/usr/share/weewx/user/stats_util.py", line 175, in
>> get_climatological_day
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   return len(list(days))
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "/usr/share/weewx/user/stats_util.py", line 173, in 
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   days = filter(lambda x: x.raw >= value, list(day_series.data))
>> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   TypeError: '>=' not supported between instances of 'NoneType' and
>> 'float'
>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> Evaluation of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
>> failed with exception ''
>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>  Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>  Reason: '>=' not supported between instances of 'NoneType' and 'float'
>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   Traceback (most recent call last):
>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>> File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in
>> generate
>> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:
>>   unicode_string = compiled_template.

[weewx-user] Re: WDC Skin

2022-05-28 Thread David Bätge
>From the logs, it looks like there are some temperature values missing in 
your database (that's where the NoneType came from). Like your station 
stopped working for 2 or 3 days!?
I added a check to address this issue. Could you please replace 
/usr/share/weewx/user/stats_util.py with the attached stats_util.py?

Any chance I could get a copy of your weewx database to test and verify 
this?

For reference: I also added a issue on GH for 
this: https://github.com/Daveiano/weewx-wdc/issues/9
tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 18:38:07 UTC+2:

> The skin displays but there are quite a bit of errors (see below).
>
> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record 
> 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
> May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record 
> 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 'weewx.sdb'
> May 28 12:35:20 raspberrypi weewx[8931] INFO weewx.cheetahgenerator: 
> Generated 8 files for report SeasonsReport in 1.54 seconds
> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator: 
> Generated 15 images for report SeasonsReport in 0.95 seconds
> May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine: Copied 0 
> files to /var/www/html/weewx
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> Evaluation of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed 
> with exception ''
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
> Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
> Reason: '>=' not supported between instances of 'NoneType' and 'float'
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>  Traceback (most recent call last):
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>  unicode_string = compiled_template.respond()
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183, in 
> respond
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
> _handleCheetahInclude
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", 
> line 277, in respond
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", 
> line 106, in __errorCatcher6
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "", line 1, in 
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "/usr/share/weewx/user/stats_util.py", line 175, in 
> get_climatological_day
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>  return len(list(days))
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "/usr/share/weewx/user/stats_util.py", line 173, in 
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>  days = filter(lambda x: x.raw >= value, list(day_series.data))
> May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>  TypeError: '>=' not supported between instances of 'NoneType' and 'float'
> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
> Evaluation of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl 
> failed with exception ''
> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
> Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
> Reason: '>=' not supported between instances of 'NoneType' and 'float'
> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>  Traceback (most recent call last):
> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>  unicode_string = compiled_template.respond()
> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "_etc_weewx_skins_weewx_wdc_statistics_html_tmpl.py", line 191, in 
> respond
> May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
>File "/usr/lib/python3/dist-packages/

[weewx-user] Re: WDC Skin

2022-05-28 Thread tarob...@gmail.com
The skin displays but there are quite a bit of errors (see below).

May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record 
2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record 
2022-05-28 12:35:00 EDT (1653755700) to daily summary in 'weewx.sdb'
May 28 12:35:20 raspberrypi weewx[8931] INFO weewx.cheetahgenerator: 
Generated 8 files for report SeasonsReport in 1.54 seconds
May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator: 
Generated 15 images for report SeasonsReport in 0.95 seconds
May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine: Copied 0 
files to /var/www/html/weewx
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed 
with exception ''
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
Reason: '>=' not supported between instances of 'NoneType' and 'float'
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
 Traceback (most recent call last):
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
 unicode_string = compiled_template.respond()
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183, in 
respond
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
_handleCheetahInclude
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
 self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", 
line 277, in respond
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", 
line 106, in __errorCatcher6
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "", line 1, in 
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "/usr/share/weewx/user/stats_util.py", line 175, in 
get_climatological_day
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
 return len(list(days))
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "/usr/share/weewx/user/stats_util.py", line 173, in 
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
 days = filter(lambda x: x.raw >= value, list(day_series.data))
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
 TypeError: '>=' not supported between instances of 'NoneType' and 'float'
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: 
Evaluation of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl 
failed with exception ''
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
Reason: '>=' not supported between instances of 'NoneType' and 'float'
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
 Traceback (most recent call last):
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
 unicode_string = compiled_template.respond()
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "_etc_weewx_skins_weewx_wdc_statistics_html_tmpl.py", line 191, in 
respond
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in 
_handleCheetahInclude
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
 self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", 
line 277, in respond
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", 
line 106, in __errorCatcher6
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator:  
   File "", line 1, in 
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheeta

[weewx-user] Re: WDC Skin

2022-05-27 Thread David Bätge
Yes, that's correct, I think weewx wants the zip to contain only one folder 
which contains the whole extension. (if you want to directly install from 
zip without the "extract to folder" step)

Glad I could help you!

tarob...@gmail.com schrieb am Samstag, 28. Mai 2022 um 02:19:15 UTC+2:

> Got it working. I see it can't install from zip. Need to extract to 
> directory and install from that location. Thank you.
>
> On Friday, May 27, 2022 at 5:31:53 PM UTC-4 david@gmail.com wrote:
>
>> The file location is correct, but you need to use the .zip which is 
>> attached to a release.
>>
>> The latest release is v1.2.0, the download path for the zip is 
>> https://github.com/Daveiano/weewx-wdc/releases/download/v1.2.0/weewx-wdc-v1.2.0.zip
>> Release page is here: 
>> https://github.com/Daveiano/weewx-wdc/releases/tag/v1.2.0 (its the first 
>> linked zip)
>>
>> *Background*: The files in the src/ directory are the Source files 
>> (TypeScript, SCSS). When creating a release, the source files get 
>> transformed and optimized, the output location of these transformed files 
>> is the location from the install.py. The release.zip should contain all 
>> these transformed files (like service-worker.js), but if you download the 
>> current state of the repo, these files are not included, hence the error. 
>>
>> Please let me know if this helps and solves the problem, I will also add 
>> a notice about it on the readme page.
>>
>> tarob...@gmail.com schrieb am Freitag, 27. Mai 2022 um 14:30:21 UTC+2:
>>
>>> Trying to install from zip (also tried from tar.gz) and getting the 
>>> following:
>>>
>>> "sudo wee_extension --install=weewx-wdc.zip
>>> Request to install 'weewx-wdc.zip'
>>> Extracting from zip archive weewx-wdc.zip
>>> Traceback (most recent call last):
>>>   File "/usr/share/weewx/wee_extension", line 92, in 
>>> main()
>>>   File "/usr/share/weewx/wee_extension", line 84, in main
>>> ext.install_extension(options.install)
>>>   File "/usr/share/weewx/weecfg/extension.py", line 130, in 
>>> install_extension
>>> self.install_from_dir(extension_dir)
>>>   File "/usr/share/weewx/weecfg/extension.py", line 183, in 
>>> install_from_dir
>>> shutil.copy(source_path, destination_path)
>>>   File "/usr/lib/python3.7/shutil.py", line 245, in copy
>>> copyfile(src, dst, follow_symlinks=follow_symlinks)
>>>   File "/usr/lib/python3.7/shutil.py", line 120, in copyfile
>>> with open(src, 'rb') as fsrc:
>>> FileNotFoundError: [Errno 2] No such file or directory: 
>>> '/var/tmp/weewx-wdc-1.2.0/skins/weewx-wdc/service-worker.js'
>>> "
>>>
>>> I can see the service-worker.js is located in a different directory than 
>>> where the install is looking. It is located 
>>> "weewx-wdc-1.2.0\skins\weewx-wdc\src\js\service-worker.js"
>>>
>>> On Thursday, May 26, 2022 at 8:49:31 AM UTC-4 david@gmail.com wrote:
>>>
 Thank you for your feedback, very appreciated!

 *Is it possible to set custom values for font and graph size, amount of 
 rows and border size so everything including graphs could be made visible 
 at a glance without or less scrolling?*
 Currently, this is not possible. The skin uses the IBM Carbon Design 
 System, so these values are more or less predefined. But you are right, 
 using the space and layouting all the graphs were one of the most 
 challenging parts of this. I am also not yet 100% happy with it. Perhaps I 
 could predefine some "Spacing variations", like a dense one and a wide one 
 for example.

 *Any chance for a web version of the weather data center, so one could 
 publish the visualized csv's to the web? Or even comibne it with weewx 
 live 
 data in one page? Just a thought*
 Do you mean like an export Button on the Desktop Application to export 
 all data as HTML pages? Well you can also use the WDC Skin with weewx and 
 import all data to weewx via csv, generate the report and there you go ;)
 f4n...@gmail.com schrieb am Donnerstag, 26. Mai 2022 um 12:04:58 UTC+2:

> Thanks a lot for this skin (and the weather data visualizing app), 
> looks very clean! 
>
> Is it possible to set custom values for font and graph size, amount of 
> rows and border size so everything including graphs could be made visible 
> at a glance without or less scrolling?
>
> Any chance for a web version of the weather data center, so one could 
> publish the visualized csv's to the web? Or even comibne it with weewx 
> live 
> data in one page? Just a thought
> david@gmail.com schrieb am Samstag, 14. Mai 2022 um 13:13:39 
> UTC+2:
>
>> Hi guys!
>>
>> I just wanted to do some advertisement for a new weewx Skin, I 
>> developed: https://github.com/Daveiano/weewx-wdc
>>
>> The visual part is based on another weather app, I wrote earlier this 
>> year: https://daveiano.github.io/weather-data-center/
>>
>> Please feel f

[weewx-user] Re: WDC Skin

2022-05-27 Thread tarob...@gmail.com
Got it working. I see it can't install from zip. Need to extract to 
directory and install from that location. Thank you.

On Friday, May 27, 2022 at 5:31:53 PM UTC-4 david@gmail.com wrote:

> The file location is correct, but you need to use the .zip which is 
> attached to a release.
>
> The latest release is v1.2.0, the download path for the zip is 
> https://github.com/Daveiano/weewx-wdc/releases/download/v1.2.0/weewx-wdc-v1.2.0.zip
> Release page is here: 
> https://github.com/Daveiano/weewx-wdc/releases/tag/v1.2.0 (its the first 
> linked zip)
>
> *Background*: The files in the src/ directory are the Source files 
> (TypeScript, SCSS). When creating a release, the source files get 
> transformed and optimized, the output location of these transformed files 
> is the location from the install.py. The release.zip should contain all 
> these transformed files (like service-worker.js), but if you download the 
> current state of the repo, these files are not included, hence the error. 
>
> Please let me know if this helps and solves the problem, I will also add a 
> notice about it on the readme page.
>
> tarob...@gmail.com schrieb am Freitag, 27. Mai 2022 um 14:30:21 UTC+2:
>
>> Trying to install from zip (also tried from tar.gz) and getting the 
>> following:
>>
>> "sudo wee_extension --install=weewx-wdc.zip
>> Request to install 'weewx-wdc.zip'
>> Extracting from zip archive weewx-wdc.zip
>> Traceback (most recent call last):
>>   File "/usr/share/weewx/wee_extension", line 92, in 
>> main()
>>   File "/usr/share/weewx/wee_extension", line 84, in main
>> ext.install_extension(options.install)
>>   File "/usr/share/weewx/weecfg/extension.py", line 130, in 
>> install_extension
>> self.install_from_dir(extension_dir)
>>   File "/usr/share/weewx/weecfg/extension.py", line 183, in 
>> install_from_dir
>> shutil.copy(source_path, destination_path)
>>   File "/usr/lib/python3.7/shutil.py", line 245, in copy
>> copyfile(src, dst, follow_symlinks=follow_symlinks)
>>   File "/usr/lib/python3.7/shutil.py", line 120, in copyfile
>> with open(src, 'rb') as fsrc:
>> FileNotFoundError: [Errno 2] No such file or directory: 
>> '/var/tmp/weewx-wdc-1.2.0/skins/weewx-wdc/service-worker.js'
>> "
>>
>> I can see the service-worker.js is located in a different directory than 
>> where the install is looking. It is located 
>> "weewx-wdc-1.2.0\skins\weewx-wdc\src\js\service-worker.js"
>>
>> On Thursday, May 26, 2022 at 8:49:31 AM UTC-4 david@gmail.com wrote:
>>
>>> Thank you for your feedback, very appreciated!
>>>
>>> *Is it possible to set custom values for font and graph size, amount of 
>>> rows and border size so everything including graphs could be made visible 
>>> at a glance without or less scrolling?*
>>> Currently, this is not possible. The skin uses the IBM Carbon Design 
>>> System, so these values are more or less predefined. But you are right, 
>>> using the space and layouting all the graphs were one of the most 
>>> challenging parts of this. I am also not yet 100% happy with it. Perhaps I 
>>> could predefine some "Spacing variations", like a dense one and a wide one 
>>> for example.
>>>
>>> *Any chance for a web version of the weather data center, so one could 
>>> publish the visualized csv's to the web? Or even comibne it with weewx live 
>>> data in one page? Just a thought*
>>> Do you mean like an export Button on the Desktop Application to export 
>>> all data as HTML pages? Well you can also use the WDC Skin with weewx and 
>>> import all data to weewx via csv, generate the report and there you go ;)
>>> f4n...@gmail.com schrieb am Donnerstag, 26. Mai 2022 um 12:04:58 UTC+2:
>>>
 Thanks a lot for this skin (and the weather data visualizing app), 
 looks very clean! 

 Is it possible to set custom values for font and graph size, amount of 
 rows and border size so everything including graphs could be made visible 
 at a glance without or less scrolling?

 Any chance for a web version of the weather data center, so one could 
 publish the visualized csv's to the web? Or even comibne it with weewx 
 live 
 data in one page? Just a thought
 david@gmail.com schrieb am Samstag, 14. Mai 2022 um 13:13:39 UTC+2:

> Hi guys!
>
> I just wanted to do some advertisement for a new weewx Skin, I 
> developed: https://github.com/Daveiano/weewx-wdc
>
> The visual part is based on another weather app, I wrote earlier this 
> year: https://daveiano.github.io/weather-data-center/
>
> Please feel free to check it out, a working demo is hosted here: 
> https://www.weewx-hbt.de/
>
> Key features included:
> - Clear and beautiful UI thanks to IBM Carbon and nivo
> - Configurable Statistic Tiles and Diagram tiles
> - Combinable diagrams via skin.conf
> - Responsive
> - Day, week, month, year and all-time pages
> - Archive and NOAA Reports
> - Almanac
> - Tr

[weewx-user] Re: WDC Skin

2022-05-27 Thread David Bätge
The file location is correct, but you need to use the .zip which is 
attached to a release.

The latest release is v1.2.0, the download path for the zip 
is 
https://github.com/Daveiano/weewx-wdc/releases/download/v1.2.0/weewx-wdc-v1.2.0.zip
Release page is 
here: https://github.com/Daveiano/weewx-wdc/releases/tag/v1.2.0 (its the 
first linked zip)

*Background*: The files in the src/ directory are the Source files 
(TypeScript, SCSS). When creating a release, the source files get 
transformed and optimized, the output location of these transformed files 
is the location from the install.py. The release.zip should contain all 
these transformed files (like service-worker.js), but if you download the 
current state of the repo, these files are not included, hence the error. 

Please let me know if this helps and solves the problem, I will also add a 
notice about it on the readme page.

tarob...@gmail.com schrieb am Freitag, 27. Mai 2022 um 14:30:21 UTC+2:

> Trying to install from zip (also tried from tar.gz) and getting the 
> following:
>
> "sudo wee_extension --install=weewx-wdc.zip
> Request to install 'weewx-wdc.zip'
> Extracting from zip archive weewx-wdc.zip
> Traceback (most recent call last):
>   File "/usr/share/weewx/wee_extension", line 92, in 
> main()
>   File "/usr/share/weewx/wee_extension", line 84, in main
> ext.install_extension(options.install)
>   File "/usr/share/weewx/weecfg/extension.py", line 130, in 
> install_extension
> self.install_from_dir(extension_dir)
>   File "/usr/share/weewx/weecfg/extension.py", line 183, in 
> install_from_dir
> shutil.copy(source_path, destination_path)
>   File "/usr/lib/python3.7/shutil.py", line 245, in copy
> copyfile(src, dst, follow_symlinks=follow_symlinks)
>   File "/usr/lib/python3.7/shutil.py", line 120, in copyfile
> with open(src, 'rb') as fsrc:
> FileNotFoundError: [Errno 2] No such file or directory: 
> '/var/tmp/weewx-wdc-1.2.0/skins/weewx-wdc/service-worker.js'
> "
>
> I can see the service-worker.js is located in a different directory than 
> where the install is looking. It is located 
> "weewx-wdc-1.2.0\skins\weewx-wdc\src\js\service-worker.js"
>
> On Thursday, May 26, 2022 at 8:49:31 AM UTC-4 david@gmail.com wrote:
>
>> Thank you for your feedback, very appreciated!
>>
>> *Is it possible to set custom values for font and graph size, amount of 
>> rows and border size so everything including graphs could be made visible 
>> at a glance without or less scrolling?*
>> Currently, this is not possible. The skin uses the IBM Carbon Design 
>> System, so these values are more or less predefined. But you are right, 
>> using the space and layouting all the graphs were one of the most 
>> challenging parts of this. I am also not yet 100% happy with it. Perhaps I 
>> could predefine some "Spacing variations", like a dense one and a wide one 
>> for example.
>>
>> *Any chance for a web version of the weather data center, so one could 
>> publish the visualized csv's to the web? Or even comibne it with weewx live 
>> data in one page? Just a thought*
>> Do you mean like an export Button on the Desktop Application to export 
>> all data as HTML pages? Well you can also use the WDC Skin with weewx and 
>> import all data to weewx via csv, generate the report and there you go ;)
>> f4n...@gmail.com schrieb am Donnerstag, 26. Mai 2022 um 12:04:58 UTC+2:
>>
>>> Thanks a lot for this skin (and the weather data visualizing app), looks 
>>> very clean! 
>>>
>>> Is it possible to set custom values for font and graph size, amount of 
>>> rows and border size so everything including graphs could be made visible 
>>> at a glance without or less scrolling?
>>>
>>> Any chance for a web version of the weather data center, so one could 
>>> publish the visualized csv's to the web? Or even comibne it with weewx live 
>>> data in one page? Just a thought
>>> david@gmail.com schrieb am Samstag, 14. Mai 2022 um 13:13:39 UTC+2:
>>>
 Hi guys!

 I just wanted to do some advertisement for a new weewx Skin, I 
 developed: https://github.com/Daveiano/weewx-wdc

 The visual part is based on another weather app, I wrote earlier this 
 year: https://daveiano.github.io/weather-data-center/

 Please feel free to check it out, a working demo is hosted here: 
 https://www.weewx-hbt.de/

 Key features included:
 - Clear and beautiful UI thanks to IBM Carbon and nivo
 - Configurable Statistic Tiles and Diagram tiles
 - Combinable diagrams via skin.conf
 - Responsive
 - Day, week, month, year and all-time pages
 - Archive and NOAA Reports
 - Almanac
 - Translated for DE and EN
 - Tabular representation with Carbon Data Tables

 I consider the skin as feature-complete but I will do some updates in 
 the coming weeks to optimize some things like responsiveness or perhaps 
 add 
 some more statistics. 

 I am a software developer but I neve

[weewx-user] Re: WDC Skin

2022-05-27 Thread tarob...@gmail.com
Trying to install from zip (also tried from tar.gz) and getting the 
following:

"sudo wee_extension --install=weewx-wdc.zip
Request to install 'weewx-wdc.zip'
Extracting from zip archive weewx-wdc.zip
Traceback (most recent call last):
  File "/usr/share/weewx/wee_extension", line 92, in 
main()
  File "/usr/share/weewx/wee_extension", line 84, in main
ext.install_extension(options.install)
  File "/usr/share/weewx/weecfg/extension.py", line 130, in 
install_extension
self.install_from_dir(extension_dir)
  File "/usr/share/weewx/weecfg/extension.py", line 183, in install_from_dir
shutil.copy(source_path, destination_path)
  File "/usr/lib/python3.7/shutil.py", line 245, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.7/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 
'/var/tmp/weewx-wdc-1.2.0/skins/weewx-wdc/service-worker.js'
"

I can see the service-worker.js is located in a different directory than 
where the install is looking. It is located 
"weewx-wdc-1.2.0\skins\weewx-wdc\src\js\service-worker.js"

On Thursday, May 26, 2022 at 8:49:31 AM UTC-4 david@gmail.com wrote:

> Thank you for your feedback, very appreciated!
>
> *Is it possible to set custom values for font and graph size, amount of 
> rows and border size so everything including graphs could be made visible 
> at a glance without or less scrolling?*
> Currently, this is not possible. The skin uses the IBM Carbon Design 
> System, so these values are more or less predefined. But you are right, 
> using the space and layouting all the graphs were one of the most 
> challenging parts of this. I am also not yet 100% happy with it. Perhaps I 
> could predefine some "Spacing variations", like a dense one and a wide one 
> for example.
>
> *Any chance for a web version of the weather data center, so one could 
> publish the visualized csv's to the web? Or even comibne it with weewx live 
> data in one page? Just a thought*
> Do you mean like an export Button on the Desktop Application to export all 
> data as HTML pages? Well you can also use the WDC Skin with weewx and 
> import all data to weewx via csv, generate the report and there you go ;)
> f4n...@gmail.com schrieb am Donnerstag, 26. Mai 2022 um 12:04:58 UTC+2:
>
>> Thanks a lot for this skin (and the weather data visualizing app), looks 
>> very clean! 
>>
>> Is it possible to set custom values for font and graph size, amount of 
>> rows and border size so everything including graphs could be made visible 
>> at a glance without or less scrolling?
>>
>> Any chance for a web version of the weather data center, so one could 
>> publish the visualized csv's to the web? Or even comibne it with weewx live 
>> data in one page? Just a thought
>> david@gmail.com schrieb am Samstag, 14. Mai 2022 um 13:13:39 UTC+2:
>>
>>> Hi guys!
>>>
>>> I just wanted to do some advertisement for a new weewx Skin, I 
>>> developed: https://github.com/Daveiano/weewx-wdc
>>>
>>> The visual part is based on another weather app, I wrote earlier this 
>>> year: https://daveiano.github.io/weather-data-center/
>>>
>>> Please feel free to check it out, a working demo is hosted here: 
>>> https://www.weewx-hbt.de/
>>>
>>> Key features included:
>>> - Clear and beautiful UI thanks to IBM Carbon and nivo
>>> - Configurable Statistic Tiles and Diagram tiles
>>> - Combinable diagrams via skin.conf
>>> - Responsive
>>> - Day, week, month, year and all-time pages
>>> - Archive and NOAA Reports
>>> - Almanac
>>> - Translated for DE and EN
>>> - Tabular representation with Carbon Data Tables
>>>
>>> I consider the skin as feature-complete but I will do some updates in 
>>> the coming weeks to optimize some things like responsiveness or perhaps add 
>>> some more statistics. 
>>>
>>> I am a software developer but I never worked with python before. I have 
>>> been looking for an opportunity to work with python for a long time, so 
>>> working with weewx and creating a skin did that for me. I am really caught 
>>> by how things work together in weewx, a great piece of software.
>>>
>>

-- 
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/b1847b3a-f3cc-48f5-ab37-fcd276a34e00n%40googlegroups.com.


[weewx-user] Re: WDC Skin

2022-05-26 Thread David Bätge
Thank you for your feedback, very appreciated!

*Is it possible to set custom values for font and graph size, amount of 
rows and border size so everything including graphs could be made visible 
at a glance without or less scrolling?*
Currently, this is not possible. The skin uses the IBM Carbon Design 
System, so these values are more or less predefined. But you are right, 
using the space and layouting all the graphs were one of the most 
challenging parts of this. I am also not yet 100% happy with it. Perhaps I 
could predefine some "Spacing variations", like a dense one and a wide one 
for example.

*Any chance for a web version of the weather data center, so one could 
publish the visualized csv's to the web? Or even comibne it with weewx live 
data in one page? Just a thought*
Do you mean like an export Button on the Desktop Application to export all 
data as HTML pages? Well you can also use the WDC Skin with weewx and 
import all data to weewx via csv, generate the report and there you go ;)
f4n...@gmail.com schrieb am Donnerstag, 26. Mai 2022 um 12:04:58 UTC+2:

> Thanks a lot for this skin (and the weather data visualizing app), looks 
> very clean! 
>
> Is it possible to set custom values for font and graph size, amount of 
> rows and border size so everything including graphs could be made visible 
> at a glance without or less scrolling?
>
> Any chance for a web version of the weather data center, so one could 
> publish the visualized csv's to the web? Or even comibne it with weewx live 
> data in one page? Just a thought
> david@gmail.com schrieb am Samstag, 14. Mai 2022 um 13:13:39 UTC+2:
>
>> Hi guys!
>>
>> I just wanted to do some advertisement for a new weewx Skin, I developed: 
>> https://github.com/Daveiano/weewx-wdc
>>
>> The visual part is based on another weather app, I wrote earlier this 
>> year: https://daveiano.github.io/weather-data-center/
>>
>> Please feel free to check it out, a working demo is hosted here: 
>> https://www.weewx-hbt.de/
>>
>> Key features included:
>> - Clear and beautiful UI thanks to IBM Carbon and nivo
>> - Configurable Statistic Tiles and Diagram tiles
>> - Combinable diagrams via skin.conf
>> - Responsive
>> - Day, week, month, year and all-time pages
>> - Archive and NOAA Reports
>> - Almanac
>> - Translated for DE and EN
>> - Tabular representation with Carbon Data Tables
>>
>> I consider the skin as feature-complete but I will do some updates in the 
>> coming weeks to optimize some things like responsiveness or perhaps add 
>> some more statistics. 
>>
>> I am a software developer but I never worked with python before. I have 
>> been looking for an opportunity to work with python for a long time, so 
>> working with weewx and creating a skin did that for me. I am really caught 
>> by how things work together in weewx, a great piece of software.
>>
>

-- 
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/4f16148f-8763-4e4c-90f2-351df3cc386cn%40googlegroups.com.


[weewx-user] Re: WDC Skin

2022-05-26 Thread f4n...@gmail.com
Thanks a lot for this skin (and the weather data visualizing app), looks 
very clean! 

Is it possible to set custom values for font and graph size, amount of rows 
and border size so everything including graphs could be made visible at a 
glance without or less scrolling?

Any chance for a web version of the weather data center, so one could 
publish the visualized csv's to the web? Or even comibne it with weewx live 
data in one page? Just a thought
david@gmail.com schrieb am Samstag, 14. Mai 2022 um 13:13:39 UTC+2:

> Hi guys!
>
> I just wanted to do some advertisement for a new weewx Skin, I developed: 
> https://github.com/Daveiano/weewx-wdc
>
> The visual part is based on another weather app, I wrote earlier this 
> year: https://daveiano.github.io/weather-data-center/
>
> Please feel free to check it out, a working demo is hosted here: 
> https://www.weewx-hbt.de/
>
> Key features included:
> - Clear and beautiful UI thanks to IBM Carbon and nivo
> - Configurable Statistic Tiles and Diagram tiles
> - Combinable diagrams via skin.conf
> - Responsive
> - Day, week, month, year and all-time pages
> - Archive and NOAA Reports
> - Almanac
> - Translated for DE and EN
> - Tabular representation with Carbon Data Tables
>
> I consider the skin as feature-complete but I will do some updates in the 
> coming weeks to optimize some things like responsiveness or perhaps add 
> some more statistics. 
>
> I am a software developer but I never worked with python before. I have 
> been looking for an opportunity to work with python for a long time, so 
> working with weewx and creating a skin did that for me. I am really caught 
> by how things work together in weewx, a great piece of software.
>

-- 
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/c8269dd5-7a03-46be-8fe0-953517f8bcc9n%40googlegroups.com.