Hallo Gary,

Currently I have on 4.5.1
Hartmut
Just a note from me
gjr80 schrieb am Donnerstag, 8. April 2021 um 09:07:38 UTC+2:

> There is nothing in your config files that is wrong, there is a bug in the 
> code that Tom committed. I suggest you revert back to the WeeWX version you 
> were previously using or install v4.5.1. Whilst the master branch is 
> usually fairly stable there are no guarantees, you really should only 
> install from direct from master if you have been told to to deal with a 
> specific issue. The safest approach is to install a released version.
>
> Gary
>
> On Thursday, 8 April 2021 at 16:07:28 UTC+10 [email protected] wrote:
>
>>
>> I did the update in genplot.py, now I get the following error
>>
>> <https://github.com/tkeffer> 
>> tkeffer <https://github.com/weewx/weewx/commits?author=tkeffer> 
>> committed 10 hours ago  bin/weeplot/genplot.py 
>> <https://github.com/weewx/weewx/commit/53e9690a717b9f685c209a60885aa9d5ca0784f6#diff-7d4d677505663d7023a47b6758259211698bf7ab65048f6ae3e8b09c88a30d62>
>>  
>>
>> Apr  8 07:45:58 wetter weewx-weewx[26692] INFO weewx.cheetahgenerator: 
>> Generated 1 files for report MobileReport in 0.04 seconds
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
>> Caught unrecoverable exception in generator 
>> 'weewx.imagegenerator.ImageGenerator'
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****  object of type 'map' has no len()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****  Traceback (most recent call last):
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****    File 
>> "/home/weewx/bin/weewx/reportengine.py", line 196, in run
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****      obj.start()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****    File 
>> "/home/weewx/bin/weewx/reportengine.py", line 281, in start
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****      self.run()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****    File 
>> "/home/weewx/bin/weewx/imagegenerator.py", line 42, in run
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****      self.genImages(self.gen_ts)
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****    File 
>> "/home/weewx/bin/weewx/imagegenerator.py", line 265, in genImages
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****      image = plot.render()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****    File 
>> "/home/weewx/bin/weeplot/genplot.py", line 206, in render
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****      self._renderTopBand(draw)
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****    File 
>> "/home/weewx/bin/weeplot/genplot.py", line 440, in _renderTopBand
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****      ncolors = len(self.chart_line_colors)
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****  TypeError: object of type 'map' has no 
>> len()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:         ****  Generator terminated
>> Apr  8 07:45:58 wetter weewx-weewx[26692] INFO weewx.reportengine: Copied 
>> 0 files to /home/weewx/public_html/mobile
>>
>> in line 48 to 54 
>>
>> self.chart_line_widths = map(int, width_list)
>>
>> I missed something in the settings in weewx.conf or skins.conf
>> I ask for help, the update ran without an error message
>> Thanks Hartmut
>>
>

-- 
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/5b925d99-a9c8-4fca-bdc7-fe2fe0b0be9cn%40googlegroups.com.

Reply via email to