No images being generated

234 views
Skip to first unread message

Richard Cain

unread,
Jun 11, 2018, 5:26:49 AM6/11/18
to weewx-user
Hi
Everything seems to be working OK, (new readings are being saved to the database) but no new images are being generated on my website (https://www.globalwanderings.co.uk/weather/) . I looked in the docs (

WeeWX generates HTML pages, but it does not update them)

and they suggested unplugging and taking the batteries out of the console which I did and also clearing the memory (wee_device --clear-memory) but that still hasn't fixed the problem. I've attached the log. 

The problem seems to be here:

Jun 11 10:16:10 richard-ub1710 weewx[14956]: cheetahgenerator: Generated 15 files for report StandardReport in 0.59 seconds
Jun 11 10:16:10 richard-ub1710 weewx[14956]: reportengine: Unable to instantiate generator weewx.imagegenerator.ImageGenerator
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****  No module named Image
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****  Traceback (most recent call last):
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****    File "/home/richard/weewx/bin/weewx/reportengine.py", line 220, in run
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****      obj = weeutil.weeutil._get_object(generator)(
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****    File "/home/richard/weewx/bin/weeutil/weeutil.py", line 1132, in _get_object
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****      mod = __import__(module)
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****    File "/home/richard/weewx/bin/weewx/imagegenerator.py", line 15, in <module>
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****      import weeplot.genplot
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****    File "/home/richard/weewx/bin/weeplot/genplot.py", line 14, in <module>
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****      import Image, ImageDraw
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****  ImportError: No module named Image
Jun 11 10:16:10 richard-ub1710 weewx[14956]:         ****  Generator ignored
Jun 11 10:16:10 richard-ub1710 weewx[14956]: copygenerator: copied 9 files to /home/richard/weewx/public_html

Not being a computer whizz I don't know what to do.
Any suggestions?

Richard
weewx.txt

gjr80

unread,
Jun 11, 2018, 5:46:07 AM6/11/18
to weewx-user
Hi Richard,

It looks like python-imaging has not installed for some reason. Try entering the following at a command prompt:

$ sudo apt-get install python-imaging

Assuming that installs without error stop then start weeWX wait 5 or 6 minutes and see if your plots are generated.

Gary

Richard Cain

unread,
Jun 11, 2018, 6:22:45 AM6/11/18
to weewx-user
Hi
Thanks for that. As it happens that didn't work for me either (I got the message python-imaging is not available) but I installed pillow which I think is an updated version and this seems to have worked.

I can't understand why this problem suddenly emerged.

thanks again.

Richard
Reply all
Reply to author
Forward
0 new messages