running weewx 5.0.0b16 in production quite happily for weeks - it works fine.
i needed to delete a bad barometer reading from station called ‘vantage’, so i 
stopped unit weewx@vantage, set the value to None, then tried to rebuild the 
daily database → following error:

(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'

didn’t find this error searching in forum archive. is it a known error? is it 
fixed in later release?
⊣GE⊢

-- 
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+unsubscr...@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.

Reply via email to