hello John,

Yes, I tried what was indicated, but I got this error!

Attached file; So, I reverted to the previous version, and weewx works fine with the same error.

Am I using the correct syntax in the weewx.conf file? "schema = schemas.wview_extended.schema"

Patrick

Le 03/01/2026 à 23:54, John Smith a écrit :
As per the warning starting from version 5.2 changed from schemas.* to weewx.schemas.* and while weeWX falls back for now that may stop happening in a future version.

On Sun, 4 Jan 2026 at 05:11, salinois <[email protected]> wrote:

    happy new year to everyone.,

    hello,

    I don't know if this is a consequence (due to the power outage
    that might have corrupted files);

    but I discovered some errors, perhaps I always had them (I had
    debug=0) since I changed debug=1,

     I discovered some errors.

    the 1st:

    Jan 3 19:02:45 RPi-WS-Byows weewxd[17220]: DEBUG weewx.manager:
    Could not load schema 'schemas.wview_extended.schema'

     Jan 3 19:02:45 RPi-WS-Byows weewxd[17220]: DEBUG weewx.manager:
    **** Reason: No module named 'schemas'

     Jan 3 19:02:45 RPi-WS-Byows weewxd[17220]: DEBUG weewx.manager:
    **** Trying 'weewx.schemas.wview_extended.schema'

    lines in weewx.conf file

     [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

    weewx works fine.


    my conf:

      * Station hardware: BYOWS - Raspberry Pi
      * Server uptime: 428198 seconds
      * WeeWX uptime: 179 seconds
      * WeeWX version: 5.2.0
      * Belchertown Skin Version: 1.3.1

    Patrick



-- 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/38e632d5-a847-49bd-8a13-51abd3b51557%40gmail.com
    
<https://groups.google.com/d/msgid/weewx-user/38e632d5-a847-49bd-8a13-51abd3b51557%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/CAGTinV6fOPxb6G-%2BY6bPFjP2q8kXZDqrApV_Cga3s0SyPYw6oA%40mail.gmail.com <https://groups.google.com/d/msgid/weewx-user/CAGTinV6fOPxb6G-%2BY6bPFjP2q8kXZDqrApV_Cga3s0SyPYw6oA%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/739e5802-89f4-418e-b45d-3e63c3364a4d%40gmail.com.
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: DEBUG weewx.manager: Could not load 
schema 'weewx.schema.wview_extended'
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: DEBUG weewx.manager: **** Reason: 
No module named 'weewx.schema'
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: DEBUG weewx.manager: **** Trying 
'weewx.weewx.schema.wview_extended'
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__: Caught 
unrecoverable exception:
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****  No 
module named 'weewx.weewx'
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****  
Traceback (most recent call last):
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 905, in get_manager_dict_from_config
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
manager_dict['schema'] = weeutil.weeutil.get_object(schema_name)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weeutil/weeutil.py", line 1404, in get_object
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
module = importlib.import_module(module_name)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
return _bootstrap._gcd_import(name[level:], package, level)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 1030, in _gcd_import
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 1007, in _find_and_load
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****  
ModuleNotFoundError: No module named 'weewx.schema'
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****  
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****  During 
handling of the above exception, another exception occurred:
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****  
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****  
Traceback (most recent call last):
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewxd.py", line 121, in main
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
engine = weewx.engine.StdEngine(config_dict)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 89, in __init__
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
self.loadServices(config_dict)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 157, in loadServices
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
obj = weeutil.weeutil.get_object(svc)(self, config_dict)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/wxservices.py", line 103, in __init__
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
self.db_manager = engine.db_binder.get_manager(data_binding=data_binding,
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: Traceback (most recent call last):
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weewx/manager.py", line 905, in get_manager_dict_from_config
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 770, in get_manager
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
manager_dict = get_manager_dict_from_config(self.config_dict,
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     manager_dict['schema'] = 
weeutil.weeutil.get_object(schema_name)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weeutil/weeutil.py", line 1404, in get_object
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weewx/manager.py", line 910, in get_manager_dict_from_config
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
manager_dict['schema'] = weeutil.weeutil.get_object('weewx.' + schema_name)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     module = 
importlib.import_module(module_name)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     return 
_bootstrap._gcd_import(name[level:], package, level)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 1030, in _gcd_import
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/share/weewx/weeutil/weeutil.py", line 1404, in get_object
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 1007, in _find_and_load
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 984, in _find_and_load_unlocked
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: ModuleNotFoundError: No module 
named 'weewx.schema'
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: During handling of the above 
exception, another exception occurred:
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: Traceback (most recent call last):
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weewxd.py", line 226, in <module>
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     main()
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weewxd.py", line 121, in main
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
module = importlib.import_module(module_name)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     engine = 
weewx.engine.StdEngine(config_dict)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weewx/engine.py", line 89, in __init__
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     self.loadServices(config_dict)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weewx/engine.py", line 157, in loadServices
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weewx/wxservices.py", line 103, in __init__
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     self.db_manager = 
engine.db_binder.get_manager(data_binding=data_binding,
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weewx/manager.py", line 770, in get_manager
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     manager_dict = 
get_manager_dict_from_config(self.config_dict,
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weewx/manager.py", line 910, in get_manager_dict_from_config
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     manager_dict['schema'] = 
weeutil.weeutil.get_object('weewx.' + schema_name)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/share/weewx/weeutil/weeutil.py", line 1404, in get_object
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     module = 
importlib.import_module(module_name)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File 
"/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:     return 
_bootstrap._gcd_import(name[level:], package, level)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 1030, in _gcd_import
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 1007, in _find_and_load
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 972, in _find_and_load_unlocked
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****      
return _bootstrap._gcd_import(name[level:], package, level)
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 228, in _call_with_frames_removed
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 1030, in _gcd_import
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 1007, in _find_and_load
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]:   File "<frozen 
importlib._bootstrap>", line 984, in _find_and_load_unlocked
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: ModuleNotFoundError: No module 
named 'weewx.weewx'
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 1030, in _gcd_import
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 1007, in _find_and_load
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 1030, in _gcd_import
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 1007, in _find_and_load
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****    File 
"<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****  
ModuleNotFoundError: No module named 'weewx.weewx'
Jan  3 18:26:18 RPi-WS-Byows weewxd[13342]: CRITICAL __main__:     ****  
Exiting.

Reply via email to