--
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 weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/bd9fc7d0-9bc6-4d0b-96c2-042674d04632n%40googlegroups.com.
Anyhow;
bcm2709_/root# apt install python3-pip -y
python3-pip is already the newest version (23.0.1+dfsg-1).
bcm2709_/root# apt install libfreetype6-dev
The following NEW packages will be installed:
libbrotli-dev libfreetype-dev libfreetype6-dev libpng-dev libpng-tools
bcm2709_/root# exit
bcm2709_/home/crichmon> source weewx/bin/activate.csh
(weewx) bcm2709_/home/crichmon> python3 -m pip remove pillow
ERROR: unknown command "remove"
(weewx) bcm2709_/home/crichmon> python3 -m pip uninstall pillow
Found existing installation: pillow 10.2.0
Uninstalling pillow-10.2.0:
Would remove:
/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/*
/usr/local/py.venv/weewx/lib/python3.11/site-packages/pillow-10.2.0.dist-info/*
Proceed (Y/n)?
Successfully uninstalled pillow-10.2.0
(weewx) bcm2709_/home/crichmon> python3 -m pip install pillow
Collecting pillow
Using cached pillow-10.2.0-cp311-cp311-linux_armv7l.whl
Installing collected packages: pillow
Successfully installed pillow-10.2.0
(weewx) bcm2709_/home/crichmon> python3 -m pip uninstall pillow
Found existing installation: pillow 10.2.0
Uninstalling pillow-10.2.0:
Would remove:
/usr/local/py.venv/weewx/lib/python3.11/site-packages/PIL/*
/usr/local/py.venv/weewx/lib/python3.11/site-packages/pillow-10.2.0.dist-info/*
Proceed (Y/n)?
Successfully uninstalled pillow-10.2.0
(weewx) bcm2709_/home/crichmon> find .cache/pip/wheels/ -type f -ls
(weewx) bcm2709_/home/crichmon> rm -r .cache/pip/wheels/40
(weewx) bcm2709_/home/crichmon> python3 -m pip install pillow
<normal download and build>
Successfully installed pillow-10.2.0
Restarted weewx and this was the previously broken part of the log:
2024-02-22T13:40:15.411903-07:00 bcm2709 crichmon[7216]: INFO weewx.manager: Added record 2024-02-22 13:40:00 MST (1708634400) to database 'weewx.sdb'
2024-02-22T13:40:15.458556-07:00 bcm2709 crichmon[7216]: INFO weewx.manager: Added record 2024-02-22 13:40:00 MST (1708634400) to daily summary in 'weewx.sdb'
2024-02-22T13:40:15.607406-07:00 bcm2709 crichmon[7216]: DEBUG weewx.reportengine: Running reports for latest time in the database.
2024-02-22T13:40:15.607850-07:00 bcm2709 crichmon[7216]: DEBUG weewx.reportengine: Running report 'SeasonsReport'
2024-02-22T13:40:15.648974-07:00 bcm2709 crichmon[7216]: DEBUG weewx.reportengine: Found configuration file /home/crichmon/weewx-data/skins/Seasons/skin.conf for report 'SeasonsReport'
2024-02-22T13:40:15.678583-07:00 bcm2709 crichmon[7216]: DEBUG weewx.reportengine: Running generators for report 'SeasonsReport' in directory '/home/crichmon/weewx-data/skins/Seasons'
2024-02-22T13:40:15.841151-07:00 bcm2709 crichmon[7216]: 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-22T13:40:15.857779-07:00 bcm2709 crichmon[7216]: DEBUG weewx.manager: Daily summary version is 4.0
2024-02-22T13:40:19.310712-07:00 bcm2709 crichmon[7216]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 3.49 seconds
2024-02-22T13:40:19.405933-07:00 bcm2709 crichmon[7216]: DEBUG weewx.manager: Daily summary version is 4.0
2024-02-22T13:40:23.482435-07:00 bcm2709 crichmon[7216]: INFO weewx.imagegenerator: Generated 60 images for report SeasonsReport in 4.09 seconds
2024-02-22T13:40:23.494414-07:00 bcm2709 crichmon[7216]: INFO weewx.reportengine: Copied 5 files to /home/crichmon/weewx-data/public_html
And all the .png files showed up in ~/weewx-data/public_html with the rest of the .html’s.
So, I checked several of my RPi’s, mostly running RPi-OS Bullseye, and it was a mix of what I found with:
apt search libfreetype6
So… it sounds like this needs to be a dependency check somewhere. “apt search libfreetype6” certainly isn’t the fastest
to return results. Hope that helps.
Thx as always, Chris
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/b02b57be-25b6-4970-93ad-2f33abbc3151n%40googlegroups.com.