Thanks, I thought that one had come up before and had been fixed,
apparently not. I have commited a fix to the weewx-WD bitbucket repo and
will release a 1.0.2 version this week sometime. Oh, and by the way the fix
is the same as is used by weewx in bin/weeplot/genplot.py:
try:
from PIL import Image, ImageDraw
except ImportError:
import Image, ImageDraw
Gary
On Monday, 12 December 2016 03:34:54 UTC+10, Louis De Lange wrote:
>
> I have a strange issue with the wdStackedWindRose template and would
> appreciate enlightenment.
>
> I get the following in the log:
>
> *Dec 11 09:01:30 goflexhome weewx[22115]: reportengine: Unable to
> instantiate generator
> user.imageStackedWindRose3.ImageStackedWindRoseGenerator*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** No module named
> Image*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** Traceback (most
> recent call last):*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** File
> "/home/weewx/bin/weewx/reportengine.py", line 220, in run*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** obj =
> weeutil.weeutil._get_object(generator)(*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** File
> "/home/weewx/bin/weeutil/weeutil.py", line 1015, in _get_object*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** mod =
> __import__(module)*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** File
> "/home/weewx/bin/user/imageStackedWindRose3.py", line 35, in <module>*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** import Image*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** ImportError: No
> module named Image*
> *Dec 11 09:01:30 goflexhome weewx[22115]: **** Generator ignored*
>
> So I followed Tom's Pillow troubleshooting guide in the Wiki and I have
> all the modules installed. When I change the imageStackedWindRose3.py to
> use
>
> *"from PIL import Image*
> *from PIL import ImageDraw"*
>
> it works fine.
>
> Any idea why that is?
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.