(venv) weewx@wx:~$ weectl database rebuild-daily --config=/home/weewx/vantage/weewx.conf
The configuration file /home/weewx/vantage/weewx.conf will be used.
Traceback (most recent call last):
File "/home/weewx/venv/bin/weectl", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/weewx/venv/lib/python3.11/site-packages/weectl.py", line 69, in main
namespace.func(namespace)
File "/home/weewx/venv/lib/python3.11/site-packages/weectllib/database_cmd.py", line 307, in rebuild_daily
weectllib.database_actions.rebuild_daily(namespace.config,
File "/home/weewx/venv/lib/python3.11/site-packages/weectllib/database_actions.py", line 91, in rebuild_daily
config_path, config_dict, database_name = weectllib.prepare(config_path, db_binding, dry_run)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/weewx/venv/lib/python3.11/site-packages/weectllib/__init__.py", line 86, in prepare
manager_dict = weewx.manager.get_manager_dict_from_config(config_dict,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/weewx/venv/lib/python3.11/site-packages/weewx/manager.py", line 886, in get_manager_dict_from_config
manager_dict['schema'] = weeutil.weeutil.get_object(schema_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/weewx/venv/lib/python3.11/site-packages/weeutil/weeutil.py", line 1398, in get_object
module = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'user'
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2A27FC4D-93D4-445A-B259-92E910BAD8C5%40geddy.au.
you should put *no* effort into debugging b16, that’s what the release candidates are for.(venv) graham@wx:/home/weewx$ ls bin
ls: cannot access 'bin': No such file or directory
(venv) graham@wx:/home/weewx$ ls venv/bin
activate cheetah pasteurize pyserial-miniterm python3.11
activate.csh cheetah-analyze pip pyserial-ports weectl
activate.fish cheetah-compile pip3 python weewxd
Activate.ps1 futurize pip3.11 python3
(venv) graham@wx:/home/weewx$ ls vantage/bin
user
(venv) graham@wx:/home/weewx$ grep WEEWX_ROOT vantage/weewx.conf
WEEWX_ROOT = /home/weewx/vantage
# Where the skins reside, relative to WEEWX_ROOT
# Where the generated reports should go, relative to WEEWX_ROOT
SQLITE_ROOT = %(WEEWX_ROOT)s/archive
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEBS%2BgLKizZCxrBDQ1mpwY7765Mzpn8wxrv7%2B_E4C9mfMg%40mail.gmail.com.