John Steggall
unread,Oct 16, 2025, 4:39:27 PM (5 days ago) Oct 16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
A few days ago, I upgraded from weewx v. 5.1 to 5.2 via apt upgrade. Original system installed via apt. Things were running smoothly for several years prior to the upgrade.
I see from previous discussions on 14 October 2025 with Gérard P, that the schema
path has changed in v. 5.2. I'm guessing I need to change something with my weatherlink-live driver to accommodate that? Which file should I modify?
Maybe: /etc/weewx/bin/user/weatherlink_live/db_schema.py
which currently has the following line:
from schemas import wview_extended
And just to make sure, what would the exact modification be?
Below, I've included the system info, startup log, and weectl debug output. Let me
know if anything else would help. I appreciate all the effort put into this software
and the help you all provide to keep it working!
=-=-= System info =-=-=
Linux Mint 22.2 on a desktop system
Davis wireless Vantage Pro2
Davis WeatherLink Live
Currently installed extensions
Extension Name Version Description
Belchertown 1.3.1 A clean modern skin with real time streaming updates and interactive charts. Modeled after BelchertownWeather.com
airlink 1.4 Record air quality as provided by a Davis AirLink sensor.
weatherlink-live 1.1.5 WeeWX driver for Davis WeatherLink Live.
=-=-= $ tail -f /var/log/syslog on startup (debug=1) =-=-=
2025-10-16T09:32:12.693234-07:00 sputnick rtkit-daemon[1393]: Supervising 9 threads of 6 processes of 1 users.
2025-10-16T09:33:01.942921-07:00 sputnick systemd[1]: Started weewx.service - WeeWX.
2025-10-16T09:33:01.992192-07:00 sputnick weewxd[109453]: INFO __main__: Initializing weewxd version 5.2.0
2025-10-16T09:33:01.992302-07:00 sputnick weewxd[109453]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
2025-10-16T09:33:01.992334-07:00 sputnick weewxd[109453]: INFO __main__: Using Python: 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0]
2025-10-16T09:33:01.992361-07:00 sputnick weewxd[109453]: INFO __main__: Located at: /usr/bin/python3
2025-10-16T09:33:01.994305-07:00 sputnick weewxd[109453]: INFO __main__: Platform: Linux-6.8.0-85-generic-x86_64-with-glibc2.39
2025-10-16T09:33:01.994366-07:00 sputnick weewxd[109453]: INFO __main__: Locale: 'en_US.UTF-8'
2025-10-16T09:33:01.994398-07:00 sputnick weewxd[109453]: INFO __main__: Entry path: /usr/share/weewx/weewxd.py
2025-10-16T09:33:01.994450-07:00 sputnick weewxd[109453]: INFO __main__: WEEWX_ROOT: /etc/weewx
2025-10-16T09:33:01.994480-07:00 sputnick weewxd[109453]: INFO __main__: Config file: /etc/weewx/weewx.conf
2025-10-16T09:33:01.994506-07:00 sputnick weewxd[109453]: INFO __main__: User module: /etc/weewx/bin/user
2025-10-16T09:33:01.994540-07:00 sputnick weewxd[109453]: INFO __main__: Debug: 1
2025-10-16T09:33:01.994644-07:00 sputnick weewxd[109453]: INFO __main__: User: weewx
2025-10-16T09:33:01.994737-07:00 sputnick weewxd[109453]: INFO __main__: Group: weewx
2025-10-16T09:33:01.994769-07:00 sputnick weewxd[109453]: INFO __main__: Groups: weewx
2025-10-16T09:33:01.994826-07:00 sputnick weewxd[109453]: DEBUG __main__: loop_on_init: False
2025-10-16T09:33:01.994887-07:00 sputnick weewxd[109453]: DEBUG __main__: Initializing engine
2025-10-16T09:33:01.994940-07:00 sputnick weewxd[109453]: INFO weewx.engine: Loading station type WeatherLinkLive (user.weatherlink_live)
2025-10-16T09:33:01.995556-07:00 sputnick weewxd[109453]: CRITICAL __main__: Caught unrecoverable exception:
2025-10-16T09:33:01.995575-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** No module named 'schemas'
2025-10-16T09:33:01.996554-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** Traceback (most recent call last):
2025-10-16T09:33:01.996584-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** File "/usr/share/weewx/weewxd.py", line 121, in main
2025-10-16T09:33:01.996611-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** engine = weewx.engine.StdEngine(config_dict)
2025-10-16T09:33:01.996637-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-16T09:33:01.996668-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 80, in __init__
2025-10-16T09:33:01.996695-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** self.setupStation(config_dict)
2025-10-16T09:33:01.996720-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 104, in setupStation
2025-10-16T09:33:01.996748-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** __import__(driver)
2025-10-16T09:33:01.996776-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** File "/etc/weewx/bin/user/weatherlink_live/__init__.py", line 25, in <module>
2025-10-16T09:33:01.996802-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** import user.weatherlink_live.db_schema
2025-10-16T09:33:01.996832-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** File "/etc/weewx/bin/user/weatherlink_live/db_schema.py", line 23, in <module>
2025-10-16T09:33:01.996863-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** from schemas import wview_extended
2025-10-16T09:33:01.996891-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** ModuleNotFoundError: No module named 'schemas'
2025-10-16T09:33:01.996925-07:00 sputnick weewxd[109453]: CRITICAL __main__: **** Exiting.
2025-10-16T09:33:02.732847-07:00 sputnick weewxd[109453]: Traceback (most recent call last):
2025-10-16T09:33:02.732938-07:00 sputnick weewxd[109453]: File "/usr/share/weewx/weewxd.py", line 226, in <module>
2025-10-16T09:33:02.732969-07:00 sputnick weewxd[109453]: main()
2025-10-16T09:33:02.732986-07:00 sputnick weewxd[109453]: File "/usr/share/weewx/weewxd.py", line 121, in main
2025-10-16T09:33:02.733006-07:00 sputnick weewxd[109453]: engine = weewx.engine.StdEngine(config_dict)
2025-10-16T09:33:02.733025-07:00 sputnick weewxd[109453]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-16T09:33:02.733049-07:00 sputnick weewxd[109453]: File "/usr/share/weewx/weewx/engine.py", line 80, in __init__
2025-10-16T09:33:02.733070-07:00 sputnick weewxd[109453]: self.setupStation(config_dict)
2025-10-16T09:33:02.733088-07:00 sputnick weewxd[109453]: File "/usr/share/weewx/weewx/engine.py", line 104, in setupStation
2025-10-16T09:33:02.733115-07:00 sputnick weewxd[109453]: __import__(driver)
2025-10-16T09:33:02.733136-07:00 sputnick weewxd[109453]: File "/etc/weewx/bin/user/weatherlink_live/__init__.py", line 25, in <module>
2025-10-16T09:33:02.733162-07:00 sputnick weewxd[109453]: import user.weatherlink_live.db_schema
2025-10-16T09:33:02.733180-07:00 sputnick weewxd[109453]: File "/etc/weewx/bin/user/weatherlink_live/db_schema.py", line 23, in <module>
2025-10-16T09:33:02.733207-07:00 sputnick weewxd[109453]: from schemas import wview_extended
2025-10-16T09:33:02.733230-07:00 sputnick weewxd[109453]: ModuleNotFoundError: No module named 'schemas'
2025-10-16T09:33:02.762893-07:00 sputnick systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE
2025-10-16T09:33:02.762986-07:00 sputnick systemd[1]: weewx.service: Failed with result 'exit-code'.
=-=-= $ weectl debug =-=-=
Using configuration file /etc/weewx/weewx.conf
System info
Platform: Linux-6.8.0-85-generic-x86_64-with-glibc2.39
Python Version: 3.12.3
Load Information
1 minute load average: 0.36
5 minute load average: 0.23
15 minute load average: 0.26
General Weewx info
Weewx version 5.2.0 detected.
Currently installed extensions
Extension Name Version Description
Belchertown 1.3.1 A clean modern skin with real time streaming updates and interactive charts. Modeled after BelchertownWeather.com
airlink 1.4 Record air quality as provided by a Davis AirLink sensor.
weatherlink-live 1.1.5 WeeWX driver for Davis WeatherLink Live.
Archive info
Traceback (most recent call last):
File "/usr/share/weewx/weewx/manager.py", line 905, in get_manager_dict_from_config
manager_dict['schema'] = weeutil.weeutil.get_object(schema_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weeutil/weeutil.py", line 1404, in get_object
module = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/etc/weewx/bin/user/weatherlink_live/__init__.py", line 25, in <module>
import user.weatherlink_live.db_schema
File "/etc/weewx/bin/user/weatherlink_live/db_schema.py", line 23, in <module>
from schemas import wview_extended
ModuleNotFoundError: No module named 'schemas'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/weewx/weectl.py", line 75, in <module>
main()
File "/usr/share/weewx/weectl.py", line 67, in main
namespace.func(namespace)
File "/usr/share/weewx/weectllib/__init__.py", line 90, in dispatch
namespace.action_func(config_dict, namespace)
File "/usr/share/weewx/weectllib/debug_cmd.py", line 54, in debug
weectllib.debug_actions.debug(config_dict, output=namespace.output)
File "/usr/share/weewx/weectllib/debug_actions.py", line 62, in debug
generate_archive_info(config_dict, fd)
File "/usr/share/weewx/weectllib/debug_actions.py", line 130, in generate_archive_info
manager_info_dict = get_manager_info(config_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weectllib/debug_actions.py", line 244, in get_manager_info
with weewx.manager.open_manager_with_config(config_dict, db_binding_wx) as dbmanager_wx:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weewx/manager.py", line 939, in open_manager_with_config
manager_dict = get_manager_dict_from_config(config_dict,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weewx/manager.py", line 910, in get_manager_dict_from_config
manager_dict['schema'] = weeutil.weeutil.get_object('weewx.' + schema_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/weewx/weeutil/weeutil.py", line 1404, in get_object
module = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'weewx.user'