Installed Weewx 5.0.0a17 (which show as a16) with pip3 on a raspberry pi with bullseye and configured for Simulator.
Got an error with ImageGenerator, see attachment. My knowledge of Linux and Python is not much so probably I missed something during install. Luc -- 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/6213b839-da00-48ae-b617-d2260502d822n%40googlegroups.com.
Feb 21 09:56:09 pi36 systemd[1]: Started WeeWX weather system. Feb 21 09:56:10 pi36 weewx[2347] INFO weewxd: Initializing weewx version 5.0.0a16 Feb 21 09:56:10 pi36 weewx[2347] INFO weewxd: Using Python 3.9.2 (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110] Feb 21 09:56:10 pi36 weewx[2347] INFO weewxd: Located at /usr/bin/python3 Feb 21 09:56:10 pi36 weewx[2347] INFO weewxd: Platform Linux-5.15.84-v7+-armv7l-with-glibc2.31 Feb 21 09:56:10 pi36 weewx[2347] INFO weewxd: Locale is 'en_GB.UTF-8' Feb 21 09:56:10 pi36 weewx[2347] INFO weewxd: Using configuration file /root/weewx-data/weewx.conf Feb 21 09:56:10 pi36 weewx[2347] INFO weewxd: Debug is 0 Feb 21 09:56:10 pi36 weewx[2347] INFO weewx.engine: Loading station type Simulator (weewx.drivers.simulator) Feb 21 09:56:10 pi36 weewx[2347] INFO weewx.engine: StdConvert target unit is 0x1 Feb 21 09:56:10 pi36 weewx[2347] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.engine: Archive will use data binding wx_binding Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.engine: Record generation will be attempted in 'hardware' Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.engine: Using archive interval of 300 seconds (specified in weewx configuration) Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.restx: StationRegistry: Station will be registered. Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.restx: Wunderground: Posting not enabled. Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.restx: PWSweather: Posting not enabled. Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.restx: CWOP: Posting not enabled. Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.restx: WOW: Posting not enabled. Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.restx: AWEKAS: Posting not enabled. Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.engine: 'pyephem' detected, extended almanac data is available Feb 21 09:56:11 pi36 weewx[2347] INFO weewxd: Starting up weewx version 5.0.0a16 Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.engine: Clock error is -0.77 seconds (positive is fast) Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.engine: Using binding 'wx_binding' to database 'simu36' Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.manager: Starting backfill of daily summaries Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.manager: Daily summaries up to date Feb 21 09:56:11 pi36 weewx[2347] INFO weewx.engine: Starting main packet loop. Feb 21 10:00:19 pi36 weewx[2347] INFO weewx.manager: Added record 2023-02-21 10:00:00 -03 (1676984400) to database 'simu36' Feb 21 10:00:21 pi36 weewx[2347] INFO weewx.manager: Added record 2023-02-21 10:00:00 -03 (1676984400) to daily summary in 'simu36' Feb 21 10:00:33 pi36 weewx[2347] ERROR weewx.restx: StationRegistry: Failed to publish record 2023-02-21 10:00:00 -03 (1676984400): Failed upload after 3 tries Feb 21 10:00:57 pi36 weewx[2347] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 34.88 seconds Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: Unable to instantiate generator 'weewx.imagegenerator.ImageGenerator' Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** libopenjp2.so.7: cannot open shared object file: No such file or directory Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** Traceback (most recent call last): Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** File "/root/.local/lib/python3.9/site-packages/weewx/reportengine.py", line 179, in run Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** obj = weeutil.weeutil.get_object(generator)( Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** File "/root/.local/lib/python3.9/site-packages/weeutil/weeutil.py", line 1335, in get_object Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** mod = __import__(module) Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** File "/root/.local/lib/python3.9/site-packages/weewx/imagegenerator.py", line 14, in <module> Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** import weeplot.genplot Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** File "/root/.local/lib/python3.9/site-packages/weeplot/genplot.py", line 13, in <module> Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** from PIL import Image, ImageDraw, ImageFont Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** File "/root/.local/lib/python3.9/site-packages/PIL/Image.py", line 103, in <module> Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** from . import _imaging as core Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory Feb 21 10:00:57 pi36 weewx[2347] ERROR weewx.reportengine: **** Generator ignored Feb 21 10:00:57 pi36 weewx[2347] INFO weewx.reportengine: Copied 5 files to /var/www/html/webc
