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.