Finally trying out weewx 5, and running into python issues. This is on a
pi3 running
Devuan daedalus (Debian bookworm sans systemd). I'd previously set up my
own
stuff to run in a pyvenv, so that basic stuff worked OK. Following the
weewx install steps failed because I forgot about activating
with activate.csh since I run tcsh.
Next, pillow failed to build because libjpeg headers were missing. Fixed
with:
apt install libjpeg-dev
Also, the instructions
here: https://pillow.readthedocs.io/en/latest/installation.html
warned about having PIL and pillow installed, so I removed PIL from the
non-pyvenv and started over (bcm2709_/root# apt remove python3-pil)
Not 100% sure now, but had to install wheel once sourced into the pyvenv:
(weewx) crichmon@bcm2709> python3 -m pip install wheel
Proceeded with: (weewx) crichmon@bcm2709> python3 -m pip install weewx
which ended with:
Successfully built Pillow
Installing collected packages: pyserial, ephem, six, pyusb, PyMySQL,
Pillow, CT3, configobj, weewx
Successfully installed CT3-3.3.3 Pillow-10.2.0 PyMySQL-1.1.0
configobj-5.0.8 ephem-4.1.5 pyserial-3.5 pyusb-1.2.1 six-1.16.0 weewx-5.0.2
Created a Simulator station
Created the init.d script and weewxd was off to the races until it came
time to make graphs. Got this is the logs:
File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py",
line 52, in <module>
from PIL import _imagingft as core
I'd modified that import line from: "from . import" to "from PIL import"
with no change.
>From the pyvenv command line, this works:
bcm2709_/home/crichmon> source weewx/bin/activate.csh
(weewx) crichmon@bcm2709> python3
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import ImageFont
>>> ImageFont
<module 'PIL.ImageFont' from
'/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py'>
>>>
Bug with newer python version or something I'm missing?
syslog attached.
Thx, Chris
--
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/bd9fc7d0-9bc6-4d0b-96c2-042674d04632n%40googlegroups.com.
2024-02-22T10:30:53.128483-07:00 bcm2709 crichmon[6461]: INFO __main__:
Initializing weewxd version 5.0.2
2024-02-22T10:30:53.128926-07:00 bcm2709 crichmon[6461]: INFO __main__: Command
line: /usr/local/py.venv/weewx/lib/python3.11/site-packages/weewxd.py --daemon
--log-label=crichmon --pidfile=/home/crichmon/weewx-data/weewxd.pid
/home/crichmon/weewx-data/weewx.conf
2024-02-22T10:30:53.133144-07:00 bcm2709 crichmon[6461]: INFO __main__: Located
at /usr/local/py.venv/weewx/bin/python3
2024-02-22T10:30:53.142540-07:00 bcm2709 crichmon[6461]: INFO __main__: Entry
path: /usr/local/py.venv/weewx/lib/python3.11/site-packages/weewxd.py
2024-02-22T10:30:53.143424-07:00 bcm2709 crichmon[6461]: INFO __main__:
WEEWX_ROOT: /home/crichmon/weewx-data
2024-02-22T10:30:53.144294-07:00 bcm2709 crichmon[6461]: INFO __main__:
Configuration file: /home/crichmon/weewx-data/weewx.conf
2024-02-22T10:30:53.145158-07:00 bcm2709 crichmon[6461]: INFO __main__: User
module: /home/crichmon/weewx-data/bin/user
2024-02-22T10:30:53.146839-07:00 bcm2709 crichmon[6461]: INFO __main__: PID
file is /home/crichmon/weewx-data/weewxd.pid
2024-02-22T10:30:53.164212-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
Loading station type Simulator (weewx.drivers.simulator)
2024-02-22T10:30:53.173427-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.engine.StdTimeSynch
2024-02-22T10:30:53.174542-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.engine.StdTimeSynch
2024-02-22T10:30:53.175240-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.engine.StdConvert
2024-02-22T10:30:53.176102-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
StdConvert target unit is 0x1
2024-02-22T10:30:53.176773-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.engine.StdConvert
2024-02-22T10:30:53.177375-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.engine.StdCalibrate
2024-02-22T10:30:53.178164-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.engine.StdCalibrate
2024-02-22T10:30:53.178741-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.engine.StdQC
2024-02-22T10:30:53.179988-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.engine.StdQC
2024-02-22T10:30:53.180647-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.wxservices.StdWXCalculate
2024-02-22T10:30:53.183408-07:00 bcm2709 crichmon[6464]: INFO weewx.wxservices:
StdWXCalculate will use data binding wx_binding
2024-02-22T10:30:53.223885-07:00 bcm2709 crichmon[6464]: DEBUG weewx.manager:
Daily summary version is 4.0
2024-02-22T10:30:53.224940-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.wxservices.StdWXCalculate
2024-02-22T10:30:53.225782-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdWXXTypes
2024-02-22T10:30:53.233677-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdWXXTypes
2024-02-22T10:30:53.234465-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdPressureCooker
2024-02-22T10:30:53.237134-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdPressureCooker
2024-02-22T10:30:53.237979-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdRainRater
2024-02-22T10:30:53.239262-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdRainRater
2024-02-22T10:30:53.239894-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdDelta
2024-02-22T10:30:53.241088-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdDelta
2024-02-22T10:30:53.241911-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.engine.StdArchive
2024-02-22T10:30:53.243102-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
Archive will use data binding wx_binding
2024-02-22T10:30:53.243914-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
Record generation will be attempted in 'hardware'
2024-02-22T10:30:53.244753-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
Using archive interval of 300 seconds (specified in weewx configuration)
2024-02-22T10:30:53.245659-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Use LOOP data in hi/low calculations: 1
2024-02-22T10:30:53.246440-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.engine.StdArchive
2024-02-22T10:30:53.247282-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.restx.StdStationRegistry
2024-02-22T10:30:53.364356-07:00 bcm2709 crichmon[6464]: INFO weewx.restx:
StationRegistry: Registration not requested.
2024-02-22T10:30:53.364738-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.restx.StdStationRegistry
2024-02-22T10:30:53.365130-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.restx.StdWunderground
2024-02-22T10:30:53.365924-07:00 bcm2709 crichmon[6464]: INFO weewx.restx:
Wunderground: Posting not enabled.
2024-02-22T10:30:53.366320-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.restx.StdWunderground
2024-02-22T10:30:53.366642-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.restx.StdPWSweather
2024-02-22T10:30:53.367322-07:00 bcm2709 crichmon[6464]: INFO weewx.restx:
PWSweather: Posting not enabled.
2024-02-22T10:30:53.367661-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.restx.StdPWSweather
2024-02-22T10:30:53.367926-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.restx.StdCWOP
2024-02-22T10:30:53.368605-07:00 bcm2709 crichmon[6464]: INFO weewx.restx:
CWOP: Posting not enabled.
2024-02-22T10:30:53.368937-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.restx.StdCWOP
2024-02-22T10:30:53.369216-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.restx.StdWOW
2024-02-22T10:30:53.369870-07:00 bcm2709 crichmon[6464]: INFO weewx.restx: WOW:
Posting not enabled.
2024-02-22T10:30:53.370200-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.restx.StdWOW
2024-02-22T10:30:53.370459-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.restx.StdAWEKAS
2024-02-22T10:30:53.371129-07:00 bcm2709 crichmon[6464]: INFO weewx.restx:
AWEKAS: Posting not enabled.
2024-02-22T10:30:53.371480-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.restx.StdAWEKAS
2024-02-22T10:30:53.371804-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.engine.StdPrint
2024-02-22T10:30:53.372164-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.engine.StdPrint
2024-02-22T10:30:53.372423-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Loading service weewx.engine.StdReport
2024-02-22T10:30:53.386404-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
'pyephem' detected, extended almanac data is available
2024-02-22T10:30:53.386778-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
Finished loading service weewx.engine.StdReport
2024-02-22T10:30:53.387045-07:00 bcm2709 crichmon[6464]: INFO __main__:
Starting up weewx version 5.0.2
2024-02-22T10:30:53.387437-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
Clock error is -0.22 seconds (positive is fast)
2024-02-22T10:30:53.387694-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
Using binding 'wx_binding' to database 'weewx.sdb'
2024-02-22T10:30:53.388264-07:00 bcm2709 crichmon[6464]: INFO weewx.manager:
Starting backfill of daily summaries
2024-02-22T10:30:53.389164-07:00 bcm2709 crichmon[6464]: INFO weewx.manager:
Daily summaries up to date
2024-02-22T10:30:53.389857-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
Starting main packet loop.
2024-02-22T10:35:15.734113-07:00 bcm2709 crichmon[6464]: INFO weewx.manager:
Added record 2024-02-22 10:35:00 MST (1708623300) to database 'weewx.sdb'
2024-02-22T10:35:15.780165-07:00 bcm2709 crichmon[6464]: INFO weewx.manager:
Added record 2024-02-22 10:35:00 MST (1708623300) to daily summary in
'weewx.sdb'
2024-02-22T10:35:15.923754-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Running reports for latest time in the database.
2024-02-22T10:35:15.924207-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Running report 'SeasonsReport'
2024-02-22T10:35:15.965251-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Found configuration file
/home/crichmon/weewx-data/skins/Seasons/skin.conf for report 'SeasonsReport'
2024-02-22T10:35:15.994817-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Running generators for report 'SeasonsReport' in directory
'/home/crichmon/weewx-data/skins/Seasons'
2024-02-22T10:35:16.157598-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac',
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions',
'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext',
'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo',
'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station',
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
2024-02-22T10:35:16.174118-07:00 bcm2709 crichmon[6464]: DEBUG weewx.manager:
Daily summary version is 4.0
2024-02-22T10:35:19.630135-07:00 bcm2709 crichmon[6464]: INFO
weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 3.49
seconds
2024-02-22T10:35:19.723054-07:00 bcm2709 crichmon[6464]: DEBUG weewx.manager:
Daily summary version is 4.0
2024-02-22T10:35:19.730558-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: Caught unrecoverable exception in generator
'weewx.imagegenerator.ImageGenerator'
2024-02-22T10:35:19.731172-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** cannot import name '_imagingft' from 'PIL'
(/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/__init__.py)
2024-02-22T10:35:19.740375-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** Traceback (most recent call last):
2024-02-22T10:35:19.740745-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/reportengine.py",
line 220, in run
2024-02-22T10:35:19.740974-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** obj.start()
2024-02-22T10:35:19.741182-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/reportengine.py",
line 409, in start
2024-02-22T10:35:19.741395-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self.run()
2024-02-22T10:35:19.741623-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/imagegenerator.py",
line 37, in run
2024-02-22T10:35:19.741856-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self.gen_images(self.gen_ts)
2024-02-22T10:35:19.742079-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/imagegenerator.py",
line 107, in gen_images
2024-02-22T10:35:19.742293-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** image = plot.render()
2024-02-22T10:35:19.742504-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ^^^^^^^^^^^^^
2024-02-22T10:35:19.742731-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weeplot/genplot.py",
line 208, in render
2024-02-22T10:35:19.742994-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self._renderBottom(draw)
2024-02-22T10:35:19.743221-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weeplot/genplot.py",
line 409, in _renderBottom
2024-02-22T10:35:19.743452-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** bottom_label_font =
weeplot.utilities.get_font_handle(self.bottom_label_font_path,
2024-02-22T10:35:19.743665-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-22T10:35:19.743881-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weeplot/utilities.py",
line 585, in get_font_handle
2024-02-22T10:35:19.744105-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** font = ImageFont.truetype(fontpath_str,
# See note 1
2024-02-22T10:35:19.744342-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-22T10:35:19.744579-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
819, in truetype
2024-02-22T10:35:19.744811-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** return freetype(font)
2024-02-22T10:35:19.745030-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ^^^^^^^^^^^^^^
2024-02-22T10:35:19.745253-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
816, in freetype
2024-02-22T10:35:19.745477-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** return FreeTypeFont(font, size, index,
encoding, layout_engine)
2024-02-22T10:35:19.745715-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-22T10:35:19.745961-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
245, in __init__
2024-02-22T10:35:19.746166-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self.font = core.getfont(
2024-02-22T10:35:19.746416-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ^^^^^^^^^^^^
2024-02-22T10:35:19.746619-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/_util.py", line 24,
in __getattr__
2024-02-22T10:35:19.746847-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** raise self.ex
2024-02-22T10:35:19.747054-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
52, in <module>
2024-02-22T10:35:19.747270-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** from PIL import _imagingft as core
2024-02-22T10:35:19.747478-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ImportError: cannot import name '_imagingft'
from 'PIL'
(/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/__init__.py)
2024-02-22T10:35:19.747719-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** Generator terminated
2024-02-22T10:35:19.762055-07:00 bcm2709 crichmon[6464]: INFO
weewx.reportengine: Copied 5 files to /home/crichmon/weewx-data/public_html
2024-02-22T10:35:19.762575-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
2024-02-22T10:35:19.762976-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
2024-02-22T10:35:19.763395-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
2024-02-22T10:35:19.763819-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'FTP' not enabled. Skipping.
2024-02-22T10:35:19.764217-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
2024-02-22T10:40:15.732327-07:00 bcm2709 crichmon[6464]: INFO weewx.manager:
Added record 2024-02-22 10:40:00 MST (1708623600) to database 'weewx.sdb'
2024-02-22T10:40:15.779839-07:00 bcm2709 crichmon[6464]: INFO weewx.manager:
Added record 2024-02-22 10:40:00 MST (1708623600) to daily summary in
'weewx.sdb'
2024-02-22T10:40:15.911662-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Running reports for latest time in the database.
2024-02-22T10:40:15.912065-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Running report 'SeasonsReport'
2024-02-22T10:40:15.949126-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Found configuration file
/home/crichmon/weewx-data/skins/Seasons/skin.conf for report 'SeasonsReport'
2024-02-22T10:40:15.978652-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Running generators for report 'SeasonsReport' in directory
'/home/crichmon/weewx-data/skins/Seasons'
2024-02-22T10:40:16.001306-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac',
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions',
'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext',
'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo',
'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station',
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
2024-02-22T10:40:16.017702-07:00 bcm2709 crichmon[6464]: DEBUG weewx.manager:
Daily summary version is 4.0
2024-02-22T10:40:18.034241-07:00 bcm2709 crichmon[6464]: INFO
weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 2.05
seconds
2024-02-22T10:40:18.054862-07:00 bcm2709 crichmon[6464]: DEBUG weewx.manager:
Daily summary version is 4.0
2024-02-22T10:40:18.061340-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: Caught unrecoverable exception in generator
'weewx.imagegenerator.ImageGenerator'
2024-02-22T10:40:18.061757-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** cannot import name '_imagingft' from 'PIL'
(/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/__init__.py)
2024-02-22T10:40:18.069442-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** Traceback (most recent call last):
2024-02-22T10:40:18.069767-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/reportengine.py",
line 220, in run
2024-02-22T10:40:18.069979-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** obj.start()
2024-02-22T10:40:18.070189-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/reportengine.py",
line 409, in start
2024-02-22T10:40:18.070434-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self.run()
2024-02-22T10:40:18.070698-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/imagegenerator.py",
line 37, in run
2024-02-22T10:40:18.070952-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self.gen_images(self.gen_ts)
2024-02-22T10:40:18.071220-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/imagegenerator.py",
line 107, in gen_images
2024-02-22T10:40:18.071476-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** image = plot.render()
2024-02-22T10:40:18.071735-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ^^^^^^^^^^^^^
2024-02-22T10:40:18.072007-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weeplot/genplot.py",
line 208, in render
2024-02-22T10:40:18.072267-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self._renderBottom(draw)
2024-02-22T10:40:18.072545-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weeplot/genplot.py",
line 409, in _renderBottom
2024-02-22T10:40:18.072809-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** bottom_label_font =
weeplot.utilities.get_font_handle(self.bottom_label_font_path,
2024-02-22T10:40:18.073055-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-22T10:40:18.073309-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weeplot/utilities.py",
line 585, in get_font_handle
2024-02-22T10:40:18.073579-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** font = ImageFont.truetype(fontpath_str,
# See note 1
2024-02-22T10:40:18.073830-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-22T10:40:18.074079-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
819, in truetype
2024-02-22T10:40:18.074348-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** return freetype(font)
2024-02-22T10:40:18.074614-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ^^^^^^^^^^^^^^
2024-02-22T10:40:18.074869-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
816, in freetype
2024-02-22T10:40:18.075141-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** return FreeTypeFont(font, size, index,
encoding, layout_engine)
2024-02-22T10:40:18.075393-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-22T10:40:18.075647-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
245, in __init__
2024-02-22T10:40:18.075920-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self.font = core.getfont(
2024-02-22T10:40:18.076165-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ^^^^^^^^^^^^
2024-02-22T10:40:18.076483-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/_util.py", line 24,
in __getattr__
2024-02-22T10:40:18.076784-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** raise self.ex
2024-02-22T10:40:18.077049-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/reportengine.py",
line 220, in run
2024-02-22T10:40:18.077316-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** obj.start()
2024-02-22T10:40:18.077591-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/reportengine.py",
line 409, in start
2024-02-22T10:40:18.077856-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self.run()
2024-02-22T10:40:18.078131-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/imagegenerator.py",
line 37, in run
2024-02-22T10:40:18.078384-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self.gen_images(self.gen_ts)
2024-02-22T10:40:18.078650-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/imagegenerator.py",
line 107, in gen_images
2024-02-22T10:40:18.078934-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** image = plot.render()
2024-02-22T10:40:18.079202-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ^^^^^^^^^^^^^
2024-02-22T10:40:18.079451-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weeplot/genplot.py",
line 208, in render
2024-02-22T10:40:18.079718-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self._renderBottom(draw)
2024-02-22T10:40:18.079971-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weeplot/genplot.py",
line 409, in _renderBottom
2024-02-22T10:40:18.080235-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** bottom_label_font =
weeplot.utilities.get_font_handle(self.bottom_label_font_path,
2024-02-22T10:40:18.080500-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-22T10:40:18.080759-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weeplot/utilities.py",
line 585, in get_font_handle
2024-02-22T10:40:18.081018-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** font = ImageFont.truetype(fontpath_str,
# See note 1
2024-02-22T10:40:18.081291-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-22T10:40:18.081538-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
819, in truetype
2024-02-22T10:40:18.081802-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** return freetype(font)
2024-02-22T10:40:18.082067-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ^^^^^^^^^^^^^^
2024-02-22T10:40:18.082324-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
816, in freetype
2024-02-22T10:40:18.082567-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** return FreeTypeFont(font, size, index,
encoding, layout_engine)
2024-02-22T10:40:18.082807-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: ****
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-02-22T10:40:18.083073-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
245, in __init__
2024-02-22T10:40:18.083363-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** self.font = core.getfont(
2024-02-22T10:40:18.083618-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ^^^^^^^^^^^^
2024-02-22T10:40:18.083867-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/_util.py", line 24,
in __getattr__
2024-02-22T10:40:18.084128-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** raise self.ex
2024-02-22T10:40:18.084381-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/ImageFont.py", line
52, in <module>
2024-02-22T10:40:18.084624-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** from PIL import _imagingft as core
2024-02-22T10:40:18.084883-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** ImportError: cannot import name '_imagingft'
from 'PIL'
(/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/__init__.py)
2024-02-22T10:40:18.085176-07:00 bcm2709 crichmon[6464]: ERROR
weewx.reportengine: **** Generator terminated
2024-02-22T10:40:18.094958-07:00 bcm2709 crichmon[6464]: INFO
weewx.reportengine: Copied 0 files to /home/crichmon/weewx-data/public_html
2024-02-22T10:40:18.095428-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
2024-02-22T10:40:18.095732-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
2024-02-22T10:40:18.096057-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
2024-02-22T10:40:18.096445-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'FTP' not enabled. Skipping.
2024-02-22T10:40:18.096796-07:00 bcm2709 crichmon[6464]: DEBUG
weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
2024-02-22T10:40:55.975315-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
Main loop exiting. Shutting engine down.
2024-02-22T10:40:55.975525-07:00 bcm2709 crichmon[6464]: INFO weewx.engine:
Shutting down StdReport thread
2024-02-22T10:40:55.975813-07:00 bcm2709 crichmon[6464]: DEBUG weewx.engine:
StdReport thread has been terminated
2024-02-22T10:40:55.980173-07:00 bcm2709 crichmon[6464]: INFO __main__:
Terminating weewx version 5.0.2
2024-02-22T10:40:55.986104-07:00 bcm2709 crichmon[6464]: DEBUG __main__:
**** File "/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewxd.py",
line 166, in main
2024-02-22T10:40:55.986751-07:00 bcm2709 crichmon[6464]: DEBUG __main__:
**** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/engine.py", line
204, in run
2024-02-22T10:40:55.987304-07:00 bcm2709 crichmon[6464]: DEBUG __main__:
**** File
"/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewx/drivers/simulator.py",
line 165, in genLoopPackets
2024-02-22T10:40:55.987886-07:00 bcm2709 crichmon[6464]: DEBUG __main__:
**** File "/usr/local/py.venv/weewx/lib/python3.11/site-packages/weewxd.py",
line 260, in sigTERMhandler