The new template naming scheme is backwards compatible with the old one. But, of course, you can't tell WeeWX that a template is named X, when it's really named Y. The names can use either the old or new scheme, but they have to match.
On Tue, Jun 1, 2021 at 10:43 AM WindnFog <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/weewx-user/92eab653-e7ad-4b8f-be4f-189cd6350124n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zECNV8O4d8P61O0UED%3D61AXsPPi9H7RbFDaEZC7LaDRMKg%40mail.gmail.com.
