Created
September 6, 2023 12:03
-
-
Save michael-slx/4bae07306069618344728fe46969751d to your computer and use it in GitHub Desktop.
weewx pillow-10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/lib/weewx/weewx/reportengine.py", line 197, in run | |
obj.start() | |
File "/usr/lib/weewx/weewx/reportengine.py", line 385, in start | |
self.run() | |
File "/usr/lib/weewx/weewx/imagegenerator.py", line 42, in run | |
self.gen_images(self.gen_ts) | |
File "/usr/lib/weewx/weewx/imagegenerator.py", line 114, in gen_images | |
image = plot.render() | |
^^^^^^^^^^^^^ | |
File "/usr/lib/weewx/weeplot/genplot.py", line 212, in render | |
self._renderBottom(draw) | |
File "/usr/lib/weewx/weeplot/genplot.py", line 406, in _renderBottom | |
bottom_label_size = draw.textsize(self.bottom_label, font=bottom_label_font) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/usr/lib/weewx/weeplot/genplot.py", line 648, in textsize | |
return ImageDraw.ImageDraw.textsize(self, string, **options) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
AttributeError: type object 'ImageDraw' has no attribute 'textsize' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment