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.

Reply via email to