The extension you attempted to install hasn’t been updated for six years.  It will not run on WeeWX 4.x, nor on WeeWX 5.x

I attempted to send you the link to the proper for of the extension that will run, but the message was blocked because of a 3rd part link!  (Apparently, we can’t send github links).

Do a search for weewx-forecast.  The fork by chaunceygardiner should come up first.  Install that one.

On Jun 26, 2025, at 5:25 PM, Alan <[email protected]> wrote:

I have used weewx for many years on linux (currently Almalinux 9.6 with a Vantage station and using mysql).

I have recently upgraded from 4.4.0 to 5.1.0 of which I have done a clean install.

Everything works except the Zambretti forecast does not add its 9am record. I use a seperate forecast database with archive table containing the zcode.
I had copied across the forecast table from 440. In an effort to have a clean start I deleted the forecast/archive table.
This recreated successfully on a weewx restart. However when it tries to add the first record it crashes (see log below).

If I add one archive record containing  a zcode it does not crash but then it never add a 9am record either.

It obviously has access to the database as it recreates the archive table OK.

The extensions were installed with: wget -O weewx-forecast.zip https://github.com/matthewwall/weewx-forecast/archive/master.zip

Jun 23 14:56:45 kakapo weewxd[102789]: INFO weewx.manager: Added record 2025-06-05 20:20:00 NZST (1749111600) to daily summary in 'weewx510'
Jun 23 14:56:45 kakapo weewxd[102789]: INFO weewx.engine: Main loop exiting. Shutting engine down.
Jun 23 14:56:46 kakapo weewxd[102789]: CRITICAL __main__:     ****    File "/usr/share/weewx/weewxd.py", line 127, in main
Jun 23 14:56:46 kakapo weewxd[102789]: CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 174, in run
Jun 23 14:56:46 kakapo weewxd[102789]: CRITICAL __main__:     ****      self.dispatchEvent(weewx.Event(weewx.STARTUP))
Jun 23 14:56:46 kakapo weewxd[102789]: CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Jun 23 14:56:46 kakapo weewxd[102789]: CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 612, in startup
Jun 23 14:56:46 kakapo weewxd[102789]: CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 728, in _catchup
Jun 23 14:56:46 kakapo weewxd[102789]: CRITICAL __main__:     ****      self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
Jun 23 14:56:46 kakapo weewxd[102789]: CRITICAL __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Jun 23 14:56:46 kakapo weewxd[102789]: CRITICAL __main__:     ****    File "/etc/weewx/bin/user/forecast.py", line 1212, in update_forecast
Jun 23 14:56:46 kakapo weewxd[102789]:  File "/usr/share/weewx/weewxd.py", line 226, in <module>
Jun 23 14:56:46 kakapo weewxd[102789]:  File "/usr/share/weewx/weewxd.py", line 127, in main
Jun 23 14:56:46 kakapo weewxd[102789]:  File "/usr/share/weewx/weewx/engine.py", line 174, in run
Jun 23 14:56:46 kakapo weewxd[102789]:    self.dispatchEvent(weewx.Event(weewx.STARTUP))
Jun 23 14:56:46 kakapo weewxd[102789]:  File "/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Jun 23 14:56:46 kakapo weewxd[102789]:  File "/usr/share/weewx/weewx/engine.py", line 612, in startup
Jun 23 14:56:46 kakapo weewxd[102789]:  File "/usr/share/weewx/weewx/engine.py", line 728, in _catchup
Jun 23 14:56:46 kakapo weewxd[102789]:    self.engine.dispatchEvent(weewx.Event(weewx.NEW_ARCHIVE_RECORD,
Jun 23 14:56:46 kakapo weewxd[102789]:  File "/usr/share/weewx/weewx/engine.py", line 241, in dispatchEvent
Jun 23 14:56:46 kakapo weewxd[102789]:  File "/etc/weewx/bin/user/forecast.py", line 1212, in update_forecast
Jun 23 14:56:46 kakapo systemd[1]: weewx.service: Main process exited, code=exited, status=1/FAILURE

Any suggestions?

Thanks
Alan

--
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/646f26cd-3dc8-46dc-b008-9e464928b7d5n%40googlegroups.com.

--
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/24DFE86A-AC7A-41C8-BA1D-B2F9639D65BD%40johnkline.com.

Reply via email to