Thanks both for your advice. I decided to do a weewx upgrade before I read you last two posts... It has not progressed OK and now I'm stuck with some strange error due to modified schema in the weewx.sdb file. I moved to weewx 4.10. I'm trying to solve this now...
petek, 20. december 2024 ob 20:04:39 UTC+1 je oseba Tom Keffer napisala: > Ah, yes! That would explain the symptoms. I forgot that Peter had upgraded > neowx. > > Peter: I think Vince is right: the modern neowx skin depends on a modern > version of WeeWX. > > On Fri, Dec 20, 2024 at 10:53 AM vince <vince...@gmail.com> wrote: > >> Sure, but 3.9 doesn't know of the newer %Y syntax that the current (new) >> skin that is failing uses. >> >> He can: >> >> - hack the new/current version of the skin to use the old YYYY format >> that 3.9 knows of >> - Or go back to running the old skin on the old weewx >> - Or better yet get current and run v5 weewx and the new skin that >> matches it >> >> But old weewx and new format template naming isn't gonna work. Weewx is >> backward compatible, but it's not forward compatible. >> >> On Friday, December 20, 2024 at 10:41:01 AM UTC-8 Tom Keffer wrote: >> >>> You remember right, except that the old 'YYYY', 'MM', etc., names are >>> still honored. >>> >>> Besides, he has not upgraded his copy of WeeWX. He's still on V3.9. >>> >>> On Fri, Dec 20, 2024 at 9:29 AM vince <vince...@gmail.com> wrote: >>> >>>> "*My suspicion is that weewx is not handling the %Y and %Y-%m template >>>> files properly."* >>>> >>>> Tom - it's been literally years, but I remember some kind of breaking >>>> change that happened along those lines way back when and the fix was to >>>> rename filenames on the template files in pre-existing skins. >>>> >>>> FWIW - surfing the neowx github site(s), the old original neowx skin >>>> file names in the format of "NOAA-YYYY-MM.txt.tmpl >>>> <https://github.com/neoground/neowx/blob/master/src/NOAA/NOAA-YYYY-MM.txt.tmpl>" >>>> >>>> and the like. The new ones uses the % syntax for year/month in the >>>> filename name. My very hazy recollection is that at some point in time I >>>> had to rename things in old skins to use the new syntax. >>>> >>>> My guess (guess) is that to use the new neowx skin on the old weewx he >>>> has to rename the neowx templates the other way to use the old syntax for >>>> file naming. >>>> >>>> From the install.py file for the current neowx: >>>> 'skins/neowx-material/archive/NOAA-%Y.txt.tmpl', >>>> 'skins/neowx-material/archive/NOAA-%Y-%m.txt.tmpl' >>>> >>>> For the new skin on old ancient weewx, I'd try renaming them to the old >>>> filename syntax ala: >>>> 'skins/neowx-material/archive/NOAA-YYYY.txt.tmpl', >>>> 'skins/neowx-material/archive/NOAA-YYYY-MM.txt.tmpl' >>>> >>>> Worst that happens is it doesn't work :-) >>>> >>>> -- >>>> 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 weewx-user+...@googlegroups.com. >>>> >>> To view this discussion visit >>>> https://groups.google.com/d/msgid/weewx-user/998b9ae9-cf90-47c5-91c0-587f532d151dn%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/998b9ae9-cf90-47c5-91c0-587f532d151dn%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 weewx-user+...@googlegroups.com. >> > To view this discussion visit >> https://groups.google.com/d/msgid/weewx-user/8dd66ca8-0222-4a2b-a1ad-32f16f03bf63n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/8dd66ca8-0222-4a2b-a1ad-32f16f03bf63n%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/91308908-bbd0-47fe-90f8-18e6ac575f4bn%40googlegroups.com.