Just realised, did some googling, testing now.....

I think maybe it's to do with the newer python librarys I would have 
installed when setting up the pi

Cheers

On Friday, 15 November 2019 15:33:38 UTC, Thomas Keffer 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 <[email protected] 
> <javascript:>> 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 [email protected] <javascript:>.
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5e120cd0-18dd-4236-8239-58cca842740b%40googlegroups.com.

Reply via email to