Well, my bad! I should have read the upgrade guide before asking... Everything is OK now.
Thanks for your help! Gerard Le mardi 14 octobre 2025 à 13:13:25 UTC+2, Tom Keffer a écrit : > Looks like you have some sort of customization file that is attempting to > import the schema. Look in file /etc/weewx/bin/user/modifications.py. It > appears to have a line > > import schemas.wview > > > Change it to say > > import weewx.schemas.wview > > > More details in the Upgrade Guide > <https://www.weewx.com/docs/5.2/upgrade/#module-schema-has-been-relocated> > . > > See if that helps. > > -tk > > On Tue, Oct 14, 2025 at 2:39 AM Gérard P <[email protected]> wrote: > >> Hi everyone, >> >> I'm running weewx 5.1.0 with Debian 12 (bookworm) and upgrading to 5.2.0 >> failed with the following error: *link to log >> <https://vomitb.in/SY8kT9Sfsr>* >> >> Intuitively, I guess it somehow related to this part in my configuration: >> [DataBindings] >> >> [[wx_binding]] >> # The database must match one of the sections in [Databases]. >> # This is likely to be the only option you would want to change. >> database = archive_sqlite >> # The name of the table within the database. >> table_name = archive >> # The manager handles aggregation of data for historical >> summaries. >> manager = weewx.manager.DaySummaryManager >> # The schema defines the structure of the database. >> # It is *only* used when the database is created. >> # schema = schemas.wview_extended.schema >> schema = user.modifications.schema_avec_modifications >> [[forecast_binding]] >> database = forecast_sqlite >> manager = weewx.manager.Manager >> table_name = archive >> schema = user.forecast.schema >> >> >> Regards, >> Gerard >> >> -- >> 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 visit >> https://groups.google.com/d/msgid/weewx-user/40c7e466-4360-4b31-a100-ecc14843787dn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/40c7e466-4360-4b31-a100-ecc14843787dn%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 visit https://groups.google.com/d/msgid/weewx-user/4948fc7b-4d53-47de-8718-9f0cd162dfefn%40googlegroups.com.
