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/CAPq0zECAVApeNE4vL6pGR5ZtPQB5aXV_S5cJW8YkbE%3D0o%2BLGGg%40mail.gmail.com.

Reply via email to