First off, many thanks to all involved in developing weewx V5! After
reading the git logs for the past few months I can see that this has
taken a ton of time and effort.
I've finished a pip install and here are my findings.
I'm running Raspberry Pi OS (Debian Bookworm) on a pi 3b that has been
used for testing of the alpha versions of weewx. The station is a
Vantage Pro2 with the official Davis logger.
After deleting weewx-data and weewx-venv and a weewx.service file in
/etc I followed the instructions at
https://weewx.com/docs/5.0/quickstarts/pip/ and everything went as
expected. I created the station with 'weectl station create'. The
command 'sudo sh ~/weewx-data/scripts/setup-daemon.systemd' set up
systemd logging.
After this point I made no changes whatsoever to weewx.conf as I wanted
to see how it would run with the default settings. Before starting
weewx, I ran 'journalctl -f -u weewx in another terminal and first
received a message that I've never seen before:
/etc/systemd/system/weewx.service:15: Standard output type
syslog+console is obsolete, automatically updating to journal+console.
Please update your unit file, and consider removing the setting altogether.
After starting weewx the logging was normal.
As I had not copied over my old database, weewx faithfully starting
downloading records from the Vantage Pro2 starting with 2023-12-12
22:35:00 PST.
It can take quite a while to download almost 9 days of data from the
logger, and here is where I ran in to a serious problem. The downloading
of records stopped at 2023-12-21 19:50:00 when the actual time was
20:38:44. At this point the next line in the logs was 'Starting main
packet loop.'
Shortly thereafter it added records at 20:38:00 and 20:40:00, so we are
now missing all records from 19:50 through 20:35.
A minute later I received the dreaded 'Expected to read 99 chars; got 0
instead' message, followed by 'Main loop exiting. Shutting engine down'.
Weewx restarted on it's own and seems to be downloading a new archive
record every five minutes, but of course we still have the problem of
the missing records. I had the same problem in early version 5 alpha
releases when weewx was downloading many records and couldn't complete
everything within the five minute cycle. Not a problem if you are
copying over your old database as you are most likely only downloading
an hour or two of records from the logger, but this could bite someone
who's station has been down for a long time due to a power outage or
whatever. I've attached the log file so that you can see the details.
Anyhow, hopefully this is helpful and thanks again for all of the hard
work that has been done to come up with a new version of weewx!
Al
--
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/82bbb295-2856-485e-b6c6-23bc73ad2df5%40gmail.com.
Dec 21 20:38:43 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 19:45:00 PST (1703216700) to database 'weewx.sdb'
Dec 21 20:38:43 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 19:45:00 PST (1703216700) to daily summary in 'weewx.sdb'
Dec 21 20:38:44 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 19:50:00 PST (1703217000) to database 'weewx.sdb'
Dec 21 20:38:44 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 19:50:00 PST (1703217000) to daily summary in 'weewx.sdb'
Dec 21 20:38:45 p3-2 weewxd[1033]: INFO weewx.engine: Starting main packet loop.
Dec 21 20:40:15 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:38:00 PST (1703219880) to database 'weewx.sdb'
Dec 21 20:40:15 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:38:00 PST (1703219880) to daily summary in 'weewx.sdb'
Dec 21 20:40:16 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:40:00 PST (1703220000) to database 'weewx.sdb'
Dec 21 20:40:16 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:40:00 PST (1703220000) to daily summary in 'weewx.sdb'
Dec 21 20:40:21 p3-2 weewxd[1033]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 4.35 seconds
Dec 21 20:40:30 p3-2 weewxd[1033]: INFO weewx.imagegenerator: Generated 52 images for report SeasonsReport in 8.26 seconds
Dec 21 20:40:30 p3-2 weewxd[1033]: INFO weewx.reportengine: Copied 5 files to /home/al/weewx-data/public_html
Dec 21 20:41:18 p3-2 weewxd[1033]: ERROR weewx.drivers.vantage: LOOP batch try #1; error: Expected to read 99 chars; got 0 instead
Dec 21 20:41:46 p3-2 weewxd[1033]: ERROR weewx.drivers.vantage: LOOP batch try #2; error: Expected to read 99 chars; got 0 instead
Dec 21 20:41:54 p3-2 weewxd[1033]: ERROR weewx.drivers.vantage: LOOP batch try #3; error: Expected to read 99 chars; got 0 instead
Dec 21 20:41:54 p3-2 weewxd[1033]: ERROR weewx.drivers.vantage: LOOP max batch errors (3) exceeded.
Dec 21 20:41:54 p3-2 weewxd[1033]: INFO weewx.engine: Main loop exiting. Shutting engine down.
Dec 21 20:41:54 p3-2 weewxd[1033]: INFO weewx.engine: Shutting down StdReport thread
Dec 21 20:41:54 p3-2 weewxd[1033]: CRITICAL __main__: Caught WeeWxIOError: LOOP max batch errors (3) exceeded.
Dec 21 20:41:54 p3-2 weewxd[1033]: CRITICAL __main__: **** Waiting 60.0 seconds then retrying...
Dec 21 20:42:54 p3-2 weewxd[1033]: INFO __main__: retrying...
Dec 21 20:42:54 p3-2 weewxd[1033]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.engine: StdConvert target unit is 0x1
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.engine: Archive will use data binding wx_binding
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.engine: Record generation will be attempted in 'hardware'
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.restx: StationRegistry: Registration not requested.
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.restx: Wunderground: Posting not enabled.
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.restx: PWSweather: Posting not enabled.
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.restx: CWOP: Posting not enabled.
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.restx: WOW: Posting not enabled.
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.restx: AWEKAS: Posting not enabled.
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO __main__: Starting up weewx version 5.0.0rc1
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.engine: Clock error is -3.96 seconds (positive is fast)
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.manager: Starting backfill of daily summaries
Dec 21 20:42:55 p3-2 weewxd[1033]: INFO weewx.manager: Daily summaries up to date
Dec 21 20:42:56 p3-2 weewxd[1033]: INFO weewx.engine: Starting main packet loop.
Dec 21 20:45:15 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:45:00 PST (1703220300) to database 'weewx.sdb'
Dec 21 20:45:15 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:45:00 PST (1703220300) to daily summary in 'weewx.sdb'
Dec 21 20:45:20 p3-2 weewxd[1033]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 2.84 seconds
Dec 21 20:45:21 p3-2 weewxd[1033]: INFO weewx.imagegenerator: Generated 13 images for report SeasonsReport in 1.44 seconds
Dec 21 20:45:21 p3-2 weewxd[1033]: INFO weewx.reportengine: Copied 5 files to /home/al/weewx-data/public_html
Dec 21 20:55:15 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:55:00 PST (1703220900) to database 'weewx.sdb'
Dec 21 20:55:15 p3-2 weewxd[1033]: INFO weewx.manager: Added record 2023-12-21 20:55:00 PST (1703220900) to daily summary in 'weewx.sdb'
Dec 21 20:55:19 p3-2 weewxd[1033]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 2.85 seconds
Dec 21 20:55:20 p3-2 weewxd[1033]: INFO weewx.imagegenerator: Generated 13 images for report SeasonsReport in 1.43 seconds
Dec 21 20:55:20 p3-2 weewxd[1033]: INFO weewx.reportengine: Copied 0 files to /home/al/weewx-data/public_html