Thanks for spotting this.

A backwards compatibility shim was inadvertently left out of this beta.
It's needed by older extensions.

I've uploaded v5.0.0b15. Give it a try.

On Thu, Oct 26, 2023 at 10:09 PM Al Barnes <[email protected]>
wrote:

> I just upgraded my test unit from b13 to b14 and it throws the following
> errors on startup. I upgraded the same as always with the command
> "python3 -m pip install weewx --upgrade".
>
> Al
>
> Oct 26 21:56:55 p3-2 systemd[1]: Started weewx.service - WeeWX weather
> system.
> Oct 26 21:56:55 p3-2 python3[22961]: weewx[22961] INFO __main__:
> Initializing weewx version 5.0.0b14
> Oct 26 21:56:55 p3-2 python3[22961]: weewx[22961] INFO __main__: Using
> Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
> Oct 26 21:56:55 p3-2 python3[22961]: weewx[22961] INFO __main__: Located
> at /home/al/weewx-venv/bin/python3
> Oct 26 21:56:55 p3-2 python3[22961]: weewx[22961] INFO __main__:
> Platform Linux-6.1.0-rpi4-rpi-v8-aarch64-with-glibc2.36
> Oct 26 21:56:55 p3-2 python3[22961]: weewx[22961] INFO __main__: Locale
> is 'en_US.UTF-8'
> Oct 26 21:56:55 p3-2 python3[22961]: weewx[22961] INFO __main__: Entry
> path: /home/al/weewx-venv/lib/python3.11/site-packages/weewxd.py
> Oct 26 21:56:55 p3-2 python3[22961]: weewx[22961] INFO __main__: Using
> configuration file /home/al/weewx-data/weewx.conf
> Oct 26 21:56:55 p3-2 python3[22961]: weewx[22961] INFO __main__: Debug is 0
> Oct 26 21:56:55 p3-2 python3[22961]: weewx[22961] INFO weewx.engine:
> Loading station type Vantage (weewx.drivers.vantage)
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.engine:
> StdConvert target unit is 0x1
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.wxservices:
> StdWXCalculate will use data binding wx_binding
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.engine:
> Archive will use data binding wx_binding
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.engine:
> Record generation will be attempted in 'hardware'
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.engine:
> Using archive interval of 300 seconds (specified by hardware)
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.restx:
> StationRegistry: Registration not requested.
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.restx:
> Wunderground: Posting not enabled.
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.restx:
> PWSweather: Posting not enabled.
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.restx:
> CWOP: Posting not enabled.
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.restx: WOW:
> Posting not enabled.
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] INFO weewx.restx:
> AWEKAS: Posting not enabled.
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> Caught unrecoverable exception:
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****  cannot import name 'accumulateLeaves' from 'weeutil.weeutil'
> (/home/al/weewx-venv/lib/python3.11/site-packages/weeutil/weeutil.py)
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****  Traceback (most recent call last):
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****    File
> "/home/al/weewx-venv/lib/python3.11/site-packages/weewxd.py", line 151,
> in main
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****      engine = weewx.engine.StdEngine(config_dict)
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****    File
> "/home/al/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", line
> 90, in __init__
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****      self.loadServices(config_dict)
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****    File
> "/home/al/weewx-venv/lib/python3.11/site-packages/weewx/engine.py", line
> 158, in loadServices
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****      obj = weeutil.weeutil.get_object(svc)(self, config_dict)
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****    File
> "/home/al/weewx-venv/lib/python3.11/site-packages/weeutil/weeutil.py",
> line 1393, in get_object
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****      module = importlib.import_module(module_name)
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****    File "/usr/lib/python3.11/importlib/__init__.py", line 126, in
> import_module
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****      return _bootstrap._gcd_import(name[level:], package, level)
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Oct 26 21:56:56 p3-2 python3[22961]: weewx[22961] CRITICAL __main__:
> ****    File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
> Oct 26 2
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/087c6b52-e331-4e2a-9bfc-05f309ff526e%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zECPCcPg3z_56uga%2BJKJtH3UTctAiAbA0Ep5NNXEqR_pYg%40mail.gmail.com.

Reply via email to