That makes perfect sense, Tom. I erroneously implied in my initial post that the NOAA files were being created anyway, in spite of the mistake I made. They were not, and obviously couldn’t be because the relevant part of the code wasn’t running.
What I was seeing was the historical NOAA files on my VPS web server that were created and put there before the rebuild. These are the kind of errors one misses when trying to get something working for 20-22 hours. All is good now. Thanks you both for the clear explanation, and for the assistance in resolving this. - Paul VE1DX > On Jun 1, 2021, at 5:23 PM, Tom Keffer <[email protected]> wrote: > > > 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. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/oI0rsDED7jQ/unsubscribe. > To unsubscribe from this group and all its topics, 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. -- 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/95E739B3-8995-4E06-8B5F-8BA3A4076A1B%40gmail.com.
