I have removed six.py and weewx starts and generates usable web pages.
However a new error now appears every minute, whenever the image
generator is invoked. Any ideas?

Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
Caught unrecoverable exception in generator
'weewx.imagegenerator.ImageGenerator'
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****  type object 'ImageDraw' has no attribute 'textsize'
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****  Traceback (most recent call last):
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****    File "/usr/share/weewx/weewx/reportengine.py", line 197,
in run
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****      obj.start()
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****    File "/usr/share/weewx/weewx/reportengine.py", line 385,
in start
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****      self.run()
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****    File "/usr/share/weewx/weewx/imagegenerator.py", line
42, in run
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****      self.gen_images(self.gen_ts)
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****    File "/usr/share/weewx/weewx/imagegenerator.py", line
114, in gen_images
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****      image = plot.render()
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****              ^^^^^^^^^^^^^
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****    File "/usr/share/weewx/weeplot/genplot.py", line 212, in
render
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****      self._renderBottom(draw)
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****    File "/usr/share/weewx/weeplot/genplot.py", line 404, in
_renderBottom
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****      bottom_label_size = draw.textsize(self.bottom_label,
font=bottom_label_font)
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****    File "/usr/share/weewx/weeplot/genplot.py", line 646, in
textsize
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****      return ImageDraw.ImageDraw.textsize(self, string,
**options)
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****  AttributeError: type object 'ImageDraw' has no attribute
'textsize'
Nov 15 07:04:16  python3[2233]: weewx[2233] ERROR weewx.reportengine:
        ****  Generator terminated


On Wed, 2023-11-15 at 04:48 -0800, gary....@gmail.com wrote:
> See: weewx doesn't start after upgrade to fedoar 39 (google.com)
> 
> On Wednesday, November 15, 2023 at 4:54:29 AM UTC-5 Jonathan Ryshpan
> wrote:
> > On Wed, 2023-11-15 at 01:26 -0800, Jonathan Ryshpan wrote:
> > > I have just upgraded to Fedora 39 and weewx has stopped working.
> > > Initiation fails with the following messages. Any ideas what's
> > > wrong or how to investigate?
> > > 

-- 
Sincerely Jonathan Ryshpan <jonr...@pacbell.net>

The mind is not a vessel to be filled 
but a fire to be kindled.
 -- Plutarch

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3921f700d9a2661e91470e3806b601c59d9497b0.camel%40pacbell.net.

Reply via email to