You nailed it, Vince.  I did what you suspected - copied the old skin.conf 
file from a backup.  Changing from the old names to the new ones resolved 
the errors and generated all the NOAA
files:

    [[SummaryByMonth]]
        # Reports that summarize "by month"
        [[[NOAA_month]]]
            encoding = strict_ascii
            template = NOAA/NOAA-%Y-%m.txt.tmpl

    [[SummaryByYear]]
        # Reports that summarize "by year"
        [[[NOAA_year]]]
            encoding = strict_ascii
            template =  NOAA/NOAA-%Y-%m.txt.tmpl

I still have a few odds and ends to tidy up on the rebuild, but that one 
was beyond me.  I try not to ask here unless I'm stumped, and I sure was.  
Thanks for the assistance!

- Paul VE1DX  
https://ve1dx.net/

On Tuesday, June 1, 2021 at 1:10:40 PM UTC-3 vince wrote:

> Github commits say this change was made two years ago :-)
>
>
> https://github.com/weewx/weewx/commit/f4652ef5e759675fdddecfea4b7d3a97721ef6f2
>
> Wow.
>
> On Tuesday, June 1, 2021 at 9:06:46 AM UTC-7 vince wrote:
>
>> Looks like the filenames changed in weewx if you did a clean installation.
>>
>> Your skin.conf needs editing to use the newer %Y filenames.   You can 
>> delete the YYYY file you copied into place.
>>
>> I have two 4.5.1 setup.py systems and compared them.  The one installed 
>> from scratch has the newer %Y filenames for the templates.  The one that 
>> was 'upgraded' from a previous version still has the old YYYY filenames for 
>> those templates.   My 'guess' is that you restored an old skin.conf onto 
>> your new system and that caused the mismatch.  Maybe.
>>
>>

-- 
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/92eab653-e7ad-4b8f-be4f-189cd6350124n%40googlegroups.com.

Reply via email to