Thanks. I was able to reproduce the bug. Let me work on a fix. On Mon, Oct 28, 2019 at 5:37 AM Tomáš Filo <[email protected]> wrote:
> This si new log: > > Oct 28 13:35:37 meteo weewx[2622]: wmr200: MainThread: D Queuing live > packet rx:4244 live_queue_len:1 > Oct 28 13:35:37 meteo wee_reports[4059]: reportengine: Running reports for > latest time in the database. > Oct 28 13:35:37 meteo wee_reports[4059]: reportengine: Running report > 'StandardReport' > Oct 28 13:35:38 meteo wee_reports[4059]: reportengine: Found configuration > file /etc/weewx/skins/Bootstrap/skin.conf for report 'StandardReport' > Oct 28 13:35:38 meteo weewx[2622]: wmr200: MainThread: D genLoop() > Yielding live queued packet id:4513 > Oct 28 13:35:38 meteo wee_reports[4059]: cheetahgenerator: using search > list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', > 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', > 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', > 'user.stats.MyStats'] > Oct 28 13:35:38 meteo wee_reports[4059]: manager: Daily summary version is > 2.0 > Oct 28 13:35:41 meteo wee_reports[4059]: cheetahgenerator: Generated 7 > files for report StandardReport in 3.64 seconds > Oct 28 13:35:41 meteo wee_reports[4059]: manager: Daily summary version is > 2.0 > Oct 28 13:35:42 meteo wee_reports[4059]: fmn=0.0; fmx=0.0; prescale=[0.0, > None, 1.0]; nsteps=10 > Oct 28 13:35:42 meteo wee_reports[4059]: reportengine: Caught > unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator' > Oct 28 13:35:42 meteo wee_reports[4059]: **** math domain error > Oct 28 13:35:42 meteo wee_reports[4059]: **** Traceback (most > recent call last): > Oct 28 13:35:42 meteo wee_reports[4059]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 204, in run > Oct 28 13:35:42 meteo wee_reports[4059]: **** obj.start() > Oct 28 13:35:42 meteo wee_reports[4059]: **** File > "/usr/share/weewx/weewx/reportengine.py", line 300, in start > Oct 28 13:35:42 meteo wee_reports[4059]: **** self.run() > Oct 28 13:35:42 meteo wee_reports[4059]: **** File > "/usr/share/weewx/weewx/imagegenerator.py", line 33, in run > Oct 28 13:35:42 meteo wee_reports[4059]: **** > self.genImages(self.gen_ts) > Oct 28 13:35:42 meteo wee_reports[4059]: **** File > "/usr/share/weewx/weewx/imagegenerator.py", line 256, in genImages > Oct 28 13:35:42 meteo wee_reports[4059]: **** image = > plot.render() > Oct 28 13:35:42 meteo wee_reports[4059]: **** File > "/usr/share/weewx/weeplot/genplot.py", line 213, in render > Oct 28 13:35:42 meteo wee_reports[4059]: **** > self._calcYScaling() > Oct 28 13:35:42 meteo wee_reports[4059]: **** File > "/usr/share/weewx/weeplot/genplot.py", line 518, in _calcYScaling > Oct 28 13:35:42 meteo wee_reports[4059]: **** self.yscale = > weeplot.utilities.scale(ymin, ymax, self.yscale, nsteps=self.y_nticks) > Oct 28 13:35:42 meteo wee_reports[4059]: **** File > "/usr/share/weewx/weeplot/utilities.py", line 114, in scale > Oct 28 13:35:42 meteo wee_reports[4059]: **** mag = > math.floor(math.log10(steps)) > Oct 28 13:35:42 meteo wee_reports[4059]: **** ValueError: math > domain error > Oct 28 13:35:42 meteo wee_reports[4059]: **** Generator terminated > Oct 28 13:35:42 meteo wee_reports[4059]: copygenerator: copied 18 files to > /usr/share/nginx/www > Oct 28 13:35:43 meteo weewx[2622]: wmr200: MainThread: D Queuing live > packet rx:4245 live_queue_len:1 > Oct 28 13:35:44 meteo weewx[2622]: wmr200: MainThread: D genLoop() > Yielding live queued packet id:4514 > Oct 28 13:35:46 meteo weewx[2622]: wmr200: MainThread: D adjust_rain > rain_total:4.75 Rain.rain_total_last:4.75 rain_interval:0.00 > Oct 28 13:35:46 meteo weewx[2622]: wmr200: MainThread: D Queuing live > packet rx:4246 live_queue_len:1 > Oct 28 13:35:47 meteo weewx[2622]: wmr200: MainThread: D genLoop() > Yielding live queued packet id:4515 > Oct 28 13:35:51 meteo weewx[2622]: wmr200: MainThread: D Queuing live > packet rx:4247 live_queue_len:1 > Oct 28 13:35:52 meteo weewx[2622]: wmr200: MainThread: D genLoop() > Yielding live queued packet id:4516 > Oct 28 13:35:53 meteo weewx[2622]: wmr200: MainThread: D Queuing live > packet rx:4248 live_queue_len:1 > Oct 28 13:35:54 meteo weewx[2622]: wmr200: MainThread: D genLoop() > Yielding live queued packet id:4517 > > S pozdravom Tomáš Filo > [email protected] > > > po 28. 10. 2019 o 13:26 Thomas Keffer <[email protected]> napísal(a): > >> OK, I think we're going to have to instrument the function. Please >> temporarily replace your copy of /usr/share/weewx/weeplot/utilities.py >> with the attached. >> >> Then try running wee_reports again, then post the log. >> >> -tk >> >> On Mon, Oct 28, 2019 at 5:09 AM Tomáš Filo <[email protected]> wrote: >> >>> Hello, thanks for reply. I tried with time after 9:10, at 9:10 and >>> before 9:10 all with same results. The gap in data is only because around >>> 9:10 I restarted computer with weewx. But gap in data never created this >>> kind of error beforeso I don't know if it can be this case. >>> >>> *root@meteo:/usr/share/nginx/www# wee_reports 1572260200 --config >>> /etc/weewx/weewx.conf* >>> Using configuration file /etc/weewx/weewx.conf >>> Generating for requested time 2019-10-28 11:56:40 CET (1572260200) >>> 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 >>> *root@meteo:/usr/share/nginx/www# wee_reports 1572250200 --config >>> /etc/weewx/weewx.conf* >>> Using configuration file /etc/weewx/weewx.conf >>> Generating for requested time 2019-10-28 09:10:00 CET (1572250200) >>> 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 >>> *root@meteo:/usr/share/nginx/www# wee_reports 1572240200 --config >>> /etc/weewx/weewx.conf* >>> Using configuration file /etc/weewx/weewx.conf >>> Generating for requested time 2019-10-28 06:23:20 CET (1572240200) >>> 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 >>> root@meteo:/usr/share/nginx/www# >>> >>> S pozdravom Tomáš Filo >>> [email protected] >>> >>> >>> po 28. 10. 2019 o 12:40 Thomas Keffer <[email protected]> napísal(a): >>> >>>> I notice that the error occurred at a time when there was no database >>>> record: 28 October, 09:10. That should result in an error "generate time >>>> not in database" and the templates skipped. >>>> >>>> Let's see if that has anything to do with the error. Could you try >>>> running wee_reports for that record, and then again for a record near then? >>>> >>>> -tk >>>> >>>> On Mon, Oct 28, 2019 at 1:39 AM Tomáš Filo <[email protected]> wrote: >>>> >>>>> Hello, >>>>> >>>>> Since 21.10.2019 my UV plot is not generating. >>>>> >>>>> I am getting error atached in *weewx.err* file. I also attached >>>>> skin.conf and weewx.debug file. And I selected UV column from database >>>>> from >>>>> 20.10.2019 in archive.txt file. If you can help me to point me right >>>>> direction how to fix this issue I will be very glad. >>>>> >>>>> *I have problem to generate plots for historical months 12.2014, >>>>> 1.2015, 2.2015 (rain, wind direction, UV), This problem in historical >>>>> data >>>>> occures since I updated to 3.9.0 if I am not mistaken. Historical plots I >>>>> generate using wee_reports utility with timestamp parameter and specific >>>>> skins for generating month and year plots. I can attache error log too but >>>>> my priority is to fix generating of actual plot.* >>>>> >>>>> Thank you. >>>>> >>>>> -- >>>>> 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/c9d905d7-58f5-4a34-add7-22deab9db57f%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/c9d905d7-58f5-4a34-add7-22deab9db57f%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "weewx-user" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/weewx-user/qxsLD0NDgtI/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEDhPemDKG97noJMooULK5nWfLgttujkecpsdLPOhzMF6Q%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEDhPemDKG97noJMooULK5nWfLgttujkecpsdLPOhzMF6Q%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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/CAK9AWtLCGChXWm%3DKRCvV5a5gGabMGjvBySTU04%2BEWZdnoUF-%2Bg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/weewx-user/CAK9AWtLCGChXWm%3DKRCvV5a5gGabMGjvBySTU04%2BEWZdnoUF-%2Bg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/weewx-user/qxsLD0NDgtI/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/CAPq0zECpYJZrk-T%3DyuGrwzz2B%3DLWF-Uuc7_WTbHhjwEO7kXJoQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/weewx-user/CAPq0zECpYJZrk-T%3DyuGrwzz2B%3DLWF-Uuc7_WTbHhjwEO7kXJoQ%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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/CAK9AWtL7-F9DVJTt%2B0fXSf0ockZLfF--Ar5hVd6LO-E-Ue-g_w%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-user/CAK9AWtL7-F9DVJTt%2B0fXSf0ockZLfF--Ar5hVd6LO-E-Ue-g_w%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECQGCz3-Hk30QS5T%3DSJRQJhNWGezQjzdQh3PEWD%3DVftPQ%40mail.gmail.com.
