And we still have the outstanding request for the whole index.html.tmp file.

> On Apr 25, 2020, at 7:58 PM, John Kline <[email protected]> wrote:
> 
> 
> Are you sure you don’t have more of those single # around.  Like for the 
> week, month and year?
> 
> Also, please verify each time you try something that index.html is still not 
> being written by checking the date with ls -l.  (And, of course, wait for an 
> archive cycle.)
> 
> Lastly, for sure there must be errors in the log for this.
> 
>>> On Apr 25, 2020, at 7:47 PM, michael form <[email protected]> wrote:
>>> 
>> 
>> Well, I mentioned that I am a Linux novice. I usually design embedded 
>> hardware systems. :)
>> 
>> I changed it to ## and still no difference.
>> 
>> Here is the first part of /etc/weewx/skins/Seasons/index/html/tmpl dealing 
>> with daily images: I did not include the weekly and monthly info below.
>> 
>> ## Copyright 2009-2018 Tom Keffer, Matthew Wall
>> ## Distributed under terms of GPLv3.  See LICENSE.txt for your rights.
>> #errorCatcher Echo
>> ##
>> ## Specifying an encoding of UTF-8 is usually safe:
>> #encoding UTF-8
>> ##
>> <!DOCTYPE html>
>> <html lang="en">
>>   <head>
>>     ## This choice should match the #encoding directive above
>>     <meta charset="UTF-8">
>>     <title>$station.location</title>
>>     <link rel="icon" type="image/png" href="favicon.ico" />
>>     <link rel="stylesheet" type="text/css" href="seasons.css"/>
>>     <script src="seasons.js"></script>
>>   </head>
>> 
>>   <body onload="setup();">
>>     #include "titlebar.inc"
>>     
>>     <div id="contents">
>>       <div id="widget_group">
>>         #include "current.inc"
>>         #include "sunmoon.inc"
>>         #include "hilo.inc"
>>         #include "sensors.inc"
>>         #include "about.inc"
>>         #include "radar.inc"
>>         #include "satellite.inc"
>>         #include "map.inc"
>>       </div>
>> 
>>       <div id="plot_group">
>>         <div id="history_widget" class="widget">
>>           <div id="plot_title" class="widget_title">History:&nbsp;&nbsp;
>>             <a class="button_selected" id="button_history_day"
>>                onclick="choose_history('day')">Day</a>
>>             <a class="button" id="button_history_week"
>>                onclick="choose_history('week')">Week</a>
>>             <a class="button" id="button_history_month"
>>                onclick="choose_history('month')">Month</a>
>>             <a class="button" id="button_history_year"
>>                onclick="choose_history('year')">Year</a>
>>           </div>
>>           <div id="history_day" class="plot_container">
>>             <img src="daybarometer.png" alt="$obs.label.barometer"/>
>>             <img src="daytempdew.png"   alt="$obs.label.outTemp" />
>>             <img src="daytempfeel.png"  alt="$obs.label.feel" />
>>             <img src="dayhum.png"       alt="$obs.label.outHumidity" />
>> ##            <img src="daywind.png"      alt="$obs.label.windSpeed" />
>> ##            <img src="daywinddir.png"   alt="$obs.label.windDir" />
>> ##            <img src="daywindvec.png"   alt="$obs.label.windvec" />
>>             <img src="dayrain.png"      alt="$obs.label.rain" />
>>             #if $day.UV.has_data
>>             <img src="dayuv.png"        alt="$obs.label.UV" />
>>             #end if
>>             #if $day.radiation.has_data
>>             <img src="dayradiation.png" alt="$obs.label.radiation" />
>>             #end if
>>             #if $day.inTemp.has_data
>>             <img src="daytempin.png"    alt="$obs.label.inTemp" />
>>             #end if
>>             #if $day.extraTemp1.has_data or $day.extraTemp2.has_data or 
>> $day.extraTemp3.has_data
>>             <img src="daytemp.png"      alt="$obs.label.extraTemp1" />
>>             #end if
>>             #if $day.rxCheckPercent.has_data
>>             <img src="dayrx.png"        alt="$obs.label.rxCheckPercent"/>
>>             #end if
>> 
>>> On Saturday, April 25, 2020 at 10:26:28 PM UTC-4, John Kline wrote:
>>> # is cheetah
>>> ## is a comment
>>> 
>>>>> On Apr 25, 2020, at 7:25 PM, John Kline <[email protected]> wrote:
>>>>> 
>>>> 
>>>> Oh, change the #
>>>> To ##
>>>> 
>>>>>> On Apr 25, 2020, at 7:23 PM, michael form <[email protected]> wrote:
>>>>>> 
>>>>> 
>>>>> OK. 
>>>>> 
>>>>> ls -l /var/www/html/index.html
>>>>> 
>>>>> 10710 Apr 18 19:44
>>>>> 
>>>>> which remains the same as time passes. So indeed, it looks like you are 
>>>>> correct in that the page is not updated even though the plots change with 
>>>>> variations
>>>>> in sensor outputs (i.e. the temperature changes).
>>>>> 
>>>>> In /etc/weewx/skins/Seasons/index.html.tmpl I commented out the following 
>>>>> with "#".
>>>>> 
>>>>> #            <img src="daywind.png"      alt="$obs.label.windSpeed" />
>>>>>  #           <img src="daywinddir.png"   alt="$obs.label.windDir" />
>>>>> #            <img src="daywindvec.png"   alt="$obs.label.windvec" />
>>>>> 
>>>>> Where have I gone astray? What needs to be done to have the page 
>>>>> regenerated to display properly?
>>>>> 
>>>>>> On Saturday, April 25, 2020 at 9:34:39 PM UTC-4, John Kline wrote:
>>>>>> 
>>>>>> 
>>>>>>>> On Apr 25, 2020, at 6:30 PM, michael form <[email protected]> wrote:
>>>>>>>> 
>>>>>>> 
>>>>>>> Yes. I have cleared the browser cache. 
>>>>>>> 
>>>>>>> Where do I find " public_html/index.html" on a Debian install? 
>>>>>> I forget, but probably /var/weewx/public_html/index.html
>>>>>> If that doesn’t work, someone else will know (or I’ll look at the 
>>>>>> install code).
>>>>>>> 
>>>>>>> Thanks.
>>>>>>> 
>>>>>>>> On Saturday, April 25, 2020 at 8:18:19 PM UTC-4, gjr80 wrote:
>>>>>>>> I take it you have cleared your browser cache....
>>>>>>>> 
>>>>>>>> Gary
>>>>>>>> 
>>>>>>>> On Sunday, 26 April 2020 09:59:38 UTC+10, David Barto wrote:
>>>>>>>>> 
>>>>>>>>>> On Apr 25, 2020, at 4:54 PM, John Kline <[email protected]> wrote:
>>>>>>>>>> 
>>>>>>>>>> I’m looking for a date index.html.  Just because the graphs are 
>>>>>>>>>> being updated doesn’t mean the page is being regenerated.
>>>>>>>>>> 
>>>>>>>>>> Your symptoms would indicate that the page is failing to be 
>>>>>>>>>> regenerated.  The old page would still show the latest graphs.
>>>>>>>>>> 
>>>>>>>>>> Humor me with the ls output.
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Magrathea:weewx-installed katherinebarto$ ls -l public_html/index.html
>>>>>>>>> -rw-r--r--  1 root  wheel  27784 Apr 25 16:58 public_html/index.html
>>>>>>>>> Magrathea:weewx-installed katherinebarto$ date
>>>>>>>>> Sat Apr 25 16:58:58 PDT 2020
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>>>> On Apr 25, 2020, at 4:52 PM, David Barto <[email protected]> wrote:
>>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>>> On Apr 25, 2020, at 2:55 PM, John Kline <[email protected]> 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>> It could be that you broke something when editing index.html.tmpl. 
>>>>>>>>>>>>  If you did, you would see errors in the log and 
>>>>>>>>>>>> public_html/index.html would never be regenerated.
>>>>>>>>>>>> 
>>>>>>>>>>>> What the date on public_html/index.html?
>>>>>>>>>>>> 
>>>>>>>>>>>> Do something like:
>>>>>>>>>>>> ls -l /home/weewx/public_html/index.html
>>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> My main page is getting updated just fine, that doesn’t seem to be 
>>>>>>>>>>> an issue.
>>>>>>>>>>> 
>>>>>>>>>>>     David
>>>>>>>>>>> 
>>>>>>>>>>>>>> On Apr 25, 2020, at 2:12 PM, michael form <[email protected]> 
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Here it is:
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>  [[SeasonsReport]]
>>>>>>>>>>>>>         # The SeasonsReport uses the 'Seasons' skin, which 
>>>>>>>>>>>>> contains the
>>>>>>>>>>>>>         # images, templates and plots for the report.
>>>>>>>>>>>>>         skin = Seasons
>>>>>>>>>>>>>         enable = true
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On Saturday, April 25, 2020 at 2:25:51 PM UTC-4, John Kline 
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> I see that you have said you already changed index.html.tmpl.  
>>>>>>>>>>>>>> What does your entry for the SeasonsReport look like in 
>>>>>>>>>>>>>> weewx.conf?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> On Apr 25, 2020, at 11:12 AM, michael form <[email protected]> 
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> I will admit that I am a novice when it comes to Linux, but I 
>>>>>>>>>>>>>>> have searched and followed directions in posts regarding the 
>>>>>>>>>>>>>>> removal of plots from the web page that weewx displays. Weewx 
>>>>>>>>>>>>>>> is running nicely on a Raspberry Pi 3 but when I look at the 
>>>>>>>>>>>>>>> generated web page it includes things like WIND SPEED and WIND 
>>>>>>>>>>>>>>> DIRECTION that I do not need or want in my application. 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> In SKINS.CONF I have commented out [[[daywind]]] and its entry, 
>>>>>>>>>>>>>>> [[[daywinddir]]] and its entries and [[[daywindvec]]] and its 
>>>>>>>>>>>>>>> entries. 
>>>>>>>>>>>>>>> In /etc/weewx/skins/Seasons/index.html.tmp1 I have commented 
>>>>>>>>>>>>>>> out  the following lines: img src="daywindirection.png, , and 
>>>>>>>>>>>>>>> img src="daywindvec.png,. 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> However, after doing this, plots of Wind Speed, Wind Direction 
>>>>>>>>>>>>>>> and Wind Vector still are showing up on the generated web page. 
>>>>>>>>>>>>>>> Any suggestions on what I am doing wrong and how best to remove 
>>>>>>>>>>>>>>> plots that I do not need?
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>> 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 [email protected].
>>>>>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/c44be4b6-db70-47db-885a-77b9fd1b354a%40googlegroups.com.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> -- 
>>>>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>>>>> Google Groups "weewx-user" group.
>>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>>>>>> send an email to [email protected].
>>>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/d1826114-ce60-4b41-8f50-5260c55fdf6b%40googlegroups.com.
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> -- 
>>>>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>>>>> Groups "weewx-user" group.
>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>>>>> send an email to [email protected].
>>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/AF15FD19-615A-4636-9FC2-53CAEDEAC060%40johnkline.com.
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> -- 
>>>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>>>> Groups "weewx-user" group.
>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>>>> send an email to [email protected].
>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/AC2618FA-E965-4A32-92D0-830031B806C2%40kdbarto.org.
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> -- 
>>>>>>>>>> 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 [email protected].
>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/2444FBF2-633E-462B-9CA6-A394C9A7122C%40johnkline.com.
>>>>>>>>> 
>>>>>>> 
>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "weewx-user" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>>>> an email to [email protected].
>>>>>>> To view this discussion on the web visit 
>>>>>>> https://groups.google.com/d/msgid/weewx-user/8e3aab4d-1c81-4143-bdf0-6fcc160cf0a7%40googlegroups.com.
>>>>> 
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google Groups 
>>>>> "weewx-user" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>>> email to [email protected].
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/weewx-user/41498fea-a7c6-4bfb-9a1d-05fd7b3d3b9d%40googlegroups.com.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/2e965451-2e9d-42e2-b394-29fce4bb876f%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6DC1DAE9-5996-4BBC-B30C-CAC0F0A0A437%40johnkline.com.

Reply via email to