Hello,
I receive the following error message ( tail -f /var/log/weewx.log /
Raspberry )
reportengine: Caught unrecoverable exception in generator
'weewx.imagegenerator.ImageGenerator'
math domain error
Traceback (most recent call last):
File "/usr/share/weewx/weewx/reportengine.py", line 204, in
run
obj.start()
File "/usr/share/weewx/weewx/reportengine.py", line 300, in
start
self.run()
File "/usr/share/weewx/weewx/imagegenerator.py", line 33,
in run
self.genImages(self.gen_ts)
File "/usr/share/weewx/weewx/imagegenerator.py", line 256,
in genImages
image = plot.render()
File "/usr/share/weewx/weeplot/genplot.py", line 213, in
render
self._calcYScaling()
File "/usr/share/weewx/weeplot/genplot.py", line 518, in
_calcYScaling
self.yscale = weeplot.utilities.scale(ymin, ymax,
self.yscale, nsteps=self.y_nticks)
File "/usr/share/weewx/weeplot/utilities.py", line 113, in
scale
mag = math.floor(math.log10(steps))
ValueError: math domain error
Generator terminated
and I have no idea how to fix it.
Joachim
--
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/c9020e38-1fb0-4d10-838d-901b0ecc3a0c%40googlegroups.com.