Here are the orders again.

 ls -l /usr/share/weewx/weewx

total 692
-rw-r--r-- 1 root root 25824  6 oct.  03:16 accum.py
-rw-r--r-- 1 root root 29825  6 oct.  03:16 almanac.py
-rw-r--r-- 1 root root 33198  6 oct.  03:16 cheetahgenerator.py
-rw-r--r-- 1 root root  3063  6 oct.  03:16 crc16.py
-rw-r--r-- 1 root root  2888  6 oct.  03:16 daemon.py
-rw-r--r-- 1 root root 11950  6 oct.  03:16 defaults.py
drwxr-xr-x 4 root root  4096 28 oct.  17:21 drivers
-rw-r--r-- 1 root root 39394  6 oct.  03:16 engine.py
-rw-r--r-- 1 root root   237  6 oct.  03:16 filegenerator.py
-rw-r--r-- 1 root root 18046  6 oct.  03:16 imagegenerator.py
-rw-r--r-- 1 root root  5566  6 oct.  03:16 __init__.py
-rw-r--r-- 1 root root 74347  6 oct.  03:16 manager.py
drwxr-xr-x 2 root root  4096 28 oct.  17:21 __pycache__
-rw-r--r-- 1 root root  3137  6 oct.  03:16 qc.py
-rw-r--r-- 1 root root 41605  6 oct.  03:16 reportengine.py
-rw-r--r-- 1 root root 79929  6 oct.  03:16 restx.py
drwxr-xr-x 3 root root  4096 28 oct.  17:21 schemas
-rw-r--r-- 1 root root  7152  6 oct.  03:16 station.py
-rw-r--r-- 1 root root 31904  6 oct.  03:16 tags.py
drwxr-xr-x 5 root root  4096 28 oct.  17:21 tests
-rw-r--r-- 1 root root 71821  6 oct.  03:16 units.py
-rw-r--r-- 1 root root 25150  6 oct.  03:16 uwxutils.py
-rw-r--r-- 1 root root   207  6 oct.  03:16 wxengine.py
-rw-r--r-- 1 root root 30659  6 oct.  03:16 wxformulas.py
-rw-r--r-- 1 root root   367  6 oct.  03:16 wxmanager.py
-rw-r--r-- 1 root root  7210  6 oct.  03:16 wxservices.py
-rw-r--r-- 1 root root 34313  6 oct.  03:16 wxxtypes.py
-rw-r--r-- 1 root root 58203  6 oct.  03:16 xtypes.py


ls -l /usr/share/weewx/weewx/schemas
total 24
-rw-r--r-- 1 root root  230  6 oct.  03:16 __init__.py
drwxr-xr-x 2 root root 4096 28 oct.  17:21 __pycache__
-rw-r--r-- 1 root root 5996  6 oct.  03:16 wview_extended.py
-rw-r--r-- 1 root root 3448  6 oct.  03:16 wview.py
-rw-r--r-- 1 root root 2105  6 oct.  03:16 wview_small.py

Will this command corrupt my database?

*PYTHONPATH=/usr/share/weewx python3 -c "import weewx.schemas.wview_extended as schema; print(schema.schema)"*

Patrick

Le 05/01/2026 à 14:11, Tom Keffer a écrit :
See if the schema is actually there.

*ls -l /usr/share/weewx/weewx*
*ls -l /usr/share/weewx/weewx/schemas*

See if you can import  and print it:

*PYTHONPATH=/usr/share/weewx python3 -c "import weewx.schemas.wview_extended as schema; print(schema.schema)"*





On Mon, Jan 5, 2026 at 12:52 AM salinois <[email protected]> wrote:

    hello Tom,

    yes I done it but I have many errors and weewx doesn't work.

    attached file

    and my conf line in weewx.conf

      # It is *only* used when the database is created.
            schema = weewx.schema.wview_extended.schema

    Patrick

    Le 05/01/2026 à 01:11, Tom Keffer a écrit :
    It appears that your schema is actually specified as

        *schema = weewx.schema.wview_extended*


    It should be

        *weewx.schema.wview_extended.schema*


    Perhaps you changed it?
-- 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/22f9205e-1859-4d21-bf2c-acd9c68b52ab%40gmail.com
    
<https://groups.google.com/d/msgid/weewx-user/22f9205e-1859-4d21-bf2c-acd9c68b52ab%40gmail.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/CAPq0zEDFNDkQuTN28pKvZ5Au3N04PBN-P%2BUgxJz9su8yK2ijQw%40mail.gmail.com <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDFNDkQuTN28pKvZ5Au3N04PBN-P%2BUgxJz9su8yK2ijQw%40mail.gmail.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/e2fefa96-c757-493d-9143-1ae56830e6de%40gmail.com.

Reply via email to