You don't know how glad I was that this was the problem - I was out of 
ideas after this one!

Gary

On Sunday, 23 June 2019 22:30:57 UTC+10, Mickael Hoareau wrote:
>
> Wow ... I'm embarassed O_o
> I was sure the Standard skin was disabled.
>
> I disabled it and it indeed worked.
>
> As always, it's was something really simple  but it takes someone else to 
> point it out ! Haha.
>
>
> Thank you a lot for the time you took to help me. :)
>
> Mickael
>
>
> Le dimanche 23 juin 2019 16:08:36 UTC+4, gjr80 a écrit :
>>
>> Aha, I think i see what may be going on. You have the Standard skin and 
>> the Bootstrap skin both generating to public_html. Both the Standard skin 
>> and the Bootstrap skin have NOAA sub-directories with identical (or near 
>> identical) templates. So you have two skins generating the same reports 
>> into the same directory. If the Standard skin was generating US customary 
>> NOAA reports, the Bootstrap skin would then come along and produce its 
>> Metric NOAA reports. But since the previous months/years reports already 
>> exist courtesy of the Standard skin, the Bootstrap skin only produces the 
>> current month/year NOAA report. Hence you see US customary reports for all 
>> but the current reports which are Metric.
>>
>> When you delete the reports to force regeneration the Standard skin does 
>> the heavy lifting and re-generates all the NOAA reports on the next report 
>> cycle. The Bootstrap skin sees all the old reports already exist so it just 
>> produces just the current month/year reports. This behaviour could be 
>> verified by careful analysis of the number of files generated by each skin 
>> in the first report cycle after deleting all the NOAA files, the Standard 
>> skin will produce many and the Bootstrap skin will not.
>>
>> To check if this is indeed the issue:
>> 1. comment out the entire [[StandardReport]] stanza in weewx.conf
>> 2. delete all NOAA format reports
>> 3. restart WeeWX
>> 4. wait for the first report cycle and then check the NOAA format reports 
>> to see if they are all Metric
>>
>> Gary
>>
>>

-- 
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/af1d4b14-ffca-4f25-8e99-19ad14a3a65c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to