Release v2.1
weewx-xtide 2.1
WeeWX could fail to shut down if the stop signal arrived while XTide was
saving tide events at the end of an archive period. Nothing else changes:
no weewx.conf edits. This is a drop-in upgrade.
What's new
- Shutdown can no longer be swallowed by XTide's database code. WeeWX
stops by raising an exception from its TERM signal handler, inside
whatever code is running when the signal lands. If that was XTide's
once-per-archive-period tide-event save (or the tide-record fetch it
calls, which would even sleep and retry on the swallowed signal), the
shutdown exception was logged and swallowed, and weewx failed to stop.
It is now passed through so weewx stops promptly. (The tide generation
itself runs in XTide's own worker thread and was never affected.)
Requirements
- Python 3.10
- WeeWX 4 or 5
- The xtide package (see the README)
Installing/upgrading
Download weewx-xtide.zip from this release, then:
weectl extension install weewx-xtide.zip
Restart WeeWX. No weewx.conf changes are needed when upgrading from 2.0.
Note that upgrading replaces the bundled skin (skins/xtide/) — if you
customized it, save a copy first.