I implemented the changes and now it seems to be working - thanks! On Monday, April 17, 2023 at 4:58:20 PM UTC-7 Tom Keffer wrote:
> See issue #862 <https://github.com/weewx/weewx/issues/862>. > > Bottom line: it's a problem with Pillow V9.5.0. Either install an earlier > version of Pillow, or install the weewx workaround. > > -tk > > On Mon, Apr 17, 2023 at 4:43 PM Cat22 <[email protected]> wrote: > >> A recent upgrade on openSuse Tumbleweed broke weewx 4.0.0. I fixed it by >> installing python 3.10 and the modules configobj, usb, Pillow, Cheetah3 and >> pyserial. so now i get my web output ok but wee_reports fails, can anyone >> help me? >> >> # ./wee_reports >> Using configuration file /usr/local/bin/weewx/weewx.conf >> Generating for all time >> Traceback (most recent call last): >> File "/usr/local/bin/weewx/bin/weewx/reportengine.py", line 197, in run >> obj.start() >> File "/usr/local/bin/weewx/bin/weewx/reportengine.py", line 280, in >> start >> self.run() >> File "/usr/local/bin/weewx/bin/weewx/imagegenerator.py", line 41, in run >> self.genImages(self.gen_ts) >> File "/usr/local/bin/weewx/bin/weewx/imagegenerator.py", line 263, in >> genImages >> image = plot.render() >> File "/usr/local/bin/weewx/bin/weeplot/genplot.py", line 209, in render >> self._renderDayNight(sdraw) >> File "/usr/local/bin/weewx/bin/weeplot/genplot.py", line 245, in >> _renderDayNight >> sdraw.rectangle(((xleft,self.yscale[0]), >> File "/usr/local/bin/weewx/bin/weeplot/utilities.py", line 420, in >> rectangle >> self.draw.rectangle(box_scaled, **options) >> File "/usr/lib64/python3.10/site-packages/PIL/ImageDraw.py", line 294, >> in rectangle >> self.draw.draw_rectangle(xy, fill, 1) >> ValueError: y1 must be greater than or equal to y0 >> Traceback (most recent call last): >> File "/usr/local/bin/weewx/bin/weewx/reportengine.py", line 197, in run >> obj.start() >> File "/usr/local/bin/weewx/bin/weewx/reportengine.py", line 280, in >> start >> self.run() >> File "/usr/local/bin/weewx/bin/weewx/imagegenerator.py", line 41, in run >> self.genImages(self.gen_ts) >> File "/usr/local/bin/weewx/bin/weewx/imagegenerator.py", line 263, in >> genImages >> image = plot.render() >> File "/usr/local/bin/weewx/bin/weeplot/genplot.py", line 209, in render >> self._renderDayNight(sdraw) >> File "/usr/local/bin/weewx/bin/weeplot/genplot.py", line 245, in >> _renderDayNight >> sdraw.rectangle(((xleft,self.yscale[0]), >> File "/usr/local/bin/weewx/bin/weeplot/utilities.py", line 420, in >> rectangle >> self.draw.rectangle(box_scaled, **options) >> File "/usr/lib64/python3.10/site-packages/PIL/ImageDraw.py", line 294, >> in rectangle >> self.draw.draw_rectangle(xy, fill, 1) >> ValueError: y1 must be greater than or equal to y0 >> >> >> -- >> 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]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/02b87839-6bb3-4971-863e-7a0a23842f6dn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/02b87839-6bb3-4971-863e-7a0a23842f6dn%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9a977af8-ebba-45a5-ba5b-b6415ad2dce1n%40googlegroups.com.
