You need to install either PIL or pillow.

*sudo apt install python3-pil*

-tk

On Sun, Mar 22, 2020 at 7:01 AM Michael <wee...@gmx.de> wrote:

> Hello,
>
> i'm trying to get a weewx 4.0.0b16 running in conjunction with python3
> installation.
>
> Unfortunately no diagrams are drawn in Skin Seasons.
>
> Enclosed is an extract from the log. I guess I made a mistake during the
> installation or forgot something. Only what...?
>
>
>
>
>
>
>
> Mar 22 14:46:24 raspi02 weewx[19089] DEBUG user.sdr: packet={'extraTemp1':
> 17.1, 'extraHumid1': 54.0, 'dateTime': 1584884781, 'usUnits': 16}
>
> Mar 22 14:46:25 raspi02 weewx[19089] INFO weewx.manager: Added record
> 2020-03-22 14:45:00 CET (1584884700) to database 'weewx_sdr2'
>
> Mar 22 14:46:25 raspi02 weewx[19089] INFO weewx.manager: Added record
> 2020-03-22 14:45:00 CET (1584884700) to daily summary in 'weewx_sdr2'
>
> Mar 22 14:46:25 raspi02 weewx[19089] DEBUG weewx.reportengine: Running
> reports for latest time in the database.
>
> Mar 22 14:46:25 raspi02 weewx[19089] DEBUG weewx.reportengine: Running
> report 'SeasonsReport'
>
> Mar 22 14:46:25 raspi02 weewx[19089] DEBUG weewx.reportengine: Found
> configuration file /home/weewx/skins/Seasons/skin.conf for report
> 'SeasonsReport'
>
> Mar 22 14:46:25 raspi02 weewx[19089] DEBUG weewx.cheetahgenerator: Using
> search list ['weewx.cheetahgenerator.Almanac',
> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current',
> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo',
> 'weewx.cheetahgenerator.Extras']
>
> Mar 22 14:46:25 raspi02 weewx[19089] DEBUG weewx.manager: Daily summary
> version is 2.0
>
> Mar 22 14:46:27 raspi02 weewx[19089] INFO weewx.cheetahgenerator:
> Generated 8 files for report SeasonsReport in 2.21 seconds
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine: Unable to
> instantiate generator 'weewx.imagegenerator.ImageGenerator'
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****  No module named 'Image'
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****  Traceback (most recent call last):
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****    File "/home/weewx/bin/weeplot/genplot.py", line 15, in <module>
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****      from PIL import Image, ImageDraw
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****    File "/usr/local/lib/python3.7/dist-packages/PIL/Image.py", line
> 69, in <module>   Mar 22 14:46:27 raspi02 weewx[19089] ERROR
> weewx.reportengine:         ****      from . import _imaging as core
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****  ImportError: libopenjp2.so.7: Kann die Shared-Object-Datei nicht
> öffnen: Datei oder Verzeichnis nicht gefunden
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****  During handling of the above exception, another exception occurred:
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****  Traceback (most recent call last):
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****    File "/home/weewx/bin/weewx/reportengine.py", line 180, in run
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****      obj = weeutil.weeutil.get_object(generator)(
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****    File "/home/weewx/bin/weeutil/weeutil.py", line 1093, in
> get_object
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****      mod = __import__(module)
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****    File "/home/weewx/bin/weewx/imagegenerator.py", line 19, in
> <module>
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****      import weeplot.genplot
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****    File "/home/weewx/bin/weeplot/genplot.py", line 17, in <module>
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****      import Image, ImageDraw
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****  ModuleNotFoundError: No module named 'Image'
>
> Mar 22 14:46:27 raspi02 weewx[19089] ERROR weewx.reportengine:
> ****  Generator ignored
>
> Mar 22 14:46:27 raspi02 weewx[19089] INFO weewx.reportengine: Copied 0
> files to /var/www/html/weewx-sdr2
>
> Mar 22 14:46:27 raspi02 weewx[19089] DEBUG weewx.reportengine: Report
> 'SmartphoneReport' not enabled. Skipping.
>
> Mar 22 14:46:27 raspi02 weewx[19089] DEBUG weewx.reportengine: Report
> 'MobileReport' not enabled. Skipping.
>
> Mar 22 14:46:27 raspi02 weewx[19089] DEBUG weewx.reportengine: Report
> 'StandardReport' not enabled. Skipping.
>
> Mar 22 14:46:27 raspi02 weewx[19089] DEBUG weewx.reportengine: Report
> 'FTP' not enabled. Skipping.
>
> Mar 22 14:46:27 raspi02 weewx[19089] DEBUG weewx.reportengine: Report
> 'RSYNC' not enabled. Skipping.
>
> Mar 22 14:46:28 raspi02 weewx[19089] DEBUG user.sdr: lines=['{"time" :
> "2020-03-22 13:46:24", "model" : "Hideki-TS04", "id" : 12, "channel" : 3,
> "battery_ok" : 1, "temperature_C" : 5.700, "humidity" : 56, "mic" :
> "CRC"}\n', '{"time" : "2020-03-22 13:46:24", "model" : "Hideki-TS04", "id"
> : 12, "channel" : 3, "battery_ok" : 1, "temperature_C" : 5.700, "humidity"
> : 56, "mic" : "CRC"}\n', '{"time" : "2020-03-22 13:46:25", "model" :
> "Hideki-TS04", "id" : 12, "channel" : 3, "battery_ok" : 1, "temperature_C"
> : 5.700, "humidity" : 56, "mic" : "CRC"}\n']
>
>
> Michael
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/864d282f-b679-4cb6-8706-62c7fff6b3ac%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/864d282f-b679-4cb6-8706-62c7fff6b3ac%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAkh8uFnssfri24v7oSMxj02Tcwx_aTcdDV0hsPp9JcTg%40mail.gmail.com.

Reply via email to