[weewx-user] Caught unrecoverable exception in generator ImageGenerator

2019-09-10 Thread gjr80
Hi,

Would help to see more of the log in the lead up to the error (so we know which 
skin caused the error). Can you also post the [StdReport] section of weewx.conf 
(you can use wee_debug (http://weewx.com/docs/utilities.htm#wee_debug_utility) 
for this if you want) but make sure you check for any sensitive info before 
posting. Would also like to see the skin.conf for the offending skin but we 
don’t know which skin it is at the moment (unless of course you have only one).

Gary

-- 
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/20a92ba7-f490-4512-947c-12a4b079cf98%40googlegroups.com.


[weewx-user] Caught unrecoverable exception in generator ImageGenerator

2019-09-10 Thread Joachim Puttkammer
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.