The WeeWX prerequisites haven't changed in 10 years. It's possible that
newer versions of PIL are more sensitive, but PIL hasn't changed much
either.

Don't know.

-tk

On Fri, Nov 15, 2019 at 7:51 AM p q <peterquinn...@gmail.com> wrote:

> I bet the prerequisites are a different version than on the older system.
>
> On Fri, Nov 15, 2019 at 7:33 AM Thomas Keffer <tkef...@gmail.com> wrote:
>
>> This is a bug that was fixed in V3.6.0. See issue #111
>> <https://github.com/weewx/weewx/issues/111> for the fix.
>>
>> Don't know why the bug didn't affect you with v3.5.
>>
>> -tk
>>
>> On Fri, Nov 15, 2019 at 7:23 AM Chris Thompstone <
>> chris.thompst...@gmail.com> wrote:
>>
>>> OK,
>>> thought it was all OK, but I get this error when I run weewx manually:
>>>
>>> Traceback (most recent call last):
>>>   File "/home/weewx/bin/weewx/reportengine.py", line 140, in run
>>>     obj.start()
>>>   File "/home/weewx/bin/weewx/reportengine.py", line 170, in start
>>>     self.run()
>>>   File "/home/weewx/bin/weewx/imagegenerator.py", line 31, in run
>>>     self.genImages(self.gen_ts)
>>>   File "/home/weewx/bin/weewx/imagegenerator.py", line 218, in genImages
>>>     image = plot.render()
>>>   File "/home/weewx/bin/weeplot/genplot.py", line 178, in render
>>>     self._renderTopBand(draw)
>>>   File "/home/weewx/bin/weeplot/genplot.py", line 383, in _renderTopBand
>>>     font=unit_label_font)
>>>   File "/home/weewx/bin/weeplot/genplot.py", line 578, in text
>>>     return ImageDraw.ImageDraw.text(self, position, string, **options)
>>>   File "/usr/lib/python2.7/dist-packages/PIL/ImageDraw.py", line 282, in
>>> text
>>>     self.draw.draw_bitmap(xy, mask, ink)
>>> TypeError: coordinate list must contain exactly 1 coordinate
>>> Traceback (most recent call last):
>>>   File "/home/weewx/bin/weewx/reportengine.py", line 140, in run
>>>     obj.start()
>>>   File "/home/weewx/bin/weewx/reportengine.py", line 170, in start
>>>     self.run()
>>>   File "/home/weewx/bin/weewx/imagegenerator.py", line 31, in run
>>>     self.genImages(self.gen_ts)
>>>   File "/home/weewx/bin/weewx/imagegenerator.py", line 218, in genImages
>>>     image = plot.render()
>>>   File "/home/weewx/bin/weeplot/genplot.py", line 178, in render
>>>     self._renderTopBand(draw)
>>>   File "/home/weewx/bin/weeplot/genplot.py", line 383, in _renderTopBand
>>>     font=unit_label_font)
>>>   File "/home/weewx/bin/weeplot/genplot.py", line 578, in text
>>>     return ImageDraw.ImageDraw.text(self, position, string, **options)
>>>   File "/usr/lib/python2.7/dist-packages/PIL/ImageDraw.py", line 282, in
>>> text
>>>     self.draw.draw_bitmap(xy, mask, ink)
>>> TypeError: coordinate list must contain exactly 1 coordinate
>>>
>>> any ideas?
>>> Thanks
>>>
>>> On Friday, 15 November 2019 13:22:53 UTC, Chris Thompstone wrote:
>>>>
>>>> OK thanks will give that a try,
>>>> Chris
>>>>
>>>> On Friday, 15 November 2019 13:20:21 UTC, Thomas Keffer wrote:
>>>>>
>>>>> You will have to install the prerequisites on your new machine but,
>>>>> other than that, a simple copy of the weewx files will work. If you
>>>>> installed using the setup.py method, just copy over the /home/weewx tree.
>>>>>
>>>>> -tk
>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>> 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/01dc81f8-f98b-46dd-a4b4-702b405cf52f%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/01dc81f8-f98b-46dd-a4b4-702b405cf52f%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 weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEADKzG4heQCcDu6ZhhZbeJDP8P7x7_xwtynxhPEsV-Pbw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEADKzG4heQCcDu6ZhhZbeJDP8P7x7_xwtynxhPEsV-Pbw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Peter Quinn
> (415)794-2264
>
> --
> 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/CAA1SM22RwYeq_jwJF%3DFNMXQkmf2EPsS-9WuZMfHLBQjgMy%2BuSg%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAA1SM22RwYeq_jwJF%3DFNMXQkmf2EPsS-9WuZMfHLBQjgMy%2BuSg%40mail.gmail.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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAYzey8gr%2B6iDN%3DzPs2c56zfWvHihQJvOA0cw4i8Cu%3DzQ%40mail.gmail.com.

Reply via email to