Sudden error running reports? Any help appreciated

103 views
Skip to first unread message

andyhud...@googlemail.com

unread,
Feb 19, 2022, 10:35:10 AM2/19/22
to weewx-user

Afternoon - weewx has been happily running, i noticed when i run reports i get an error (yet the website seems to be working ok? -  http://www.finchamweather.co.uk/

Any help would be really appreciated:

Using configuration file /etc/weewx/weewx.conf

Generating for all time

Traceback (most recent call last):

  File "/usr/share/weewx/weewx/reportengine.py", line 196, in run

    obj.start()

  File "/usr/share/weewx/weewx/reportengine.py", line 281, in start

    self.run()

  File "/usr/share/weewx/user/belchertown.py", line 2520, in run

    time_length = int(time_length)

ValueError: invalid literal for int() with base 10: 'yesterday'


Andy

andyhud...@googlemail.com

unread,
Feb 19, 2022, 11:04:38 AM2/19/22
to weewx-user
Edit - noting it's not a sudden error, my Yesterday Graph has not updated for 10 days, so i must be something in my graphs.conf ... :)

Andy

Tom Keffer

unread,
Feb 19, 2022, 11:18:35 AM2/19/22
to weewx-user
Option "time_length" is set to the string 'yesterday', instead of a number. 

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/fb81a4c6-39b6-4542-9d23-aff2ec4cefd5n%40googlegroups.com.

andyhud...@googlemail.com

unread,
Feb 20, 2022, 5:28:32 AM2/20/22
to weewx-user
Yep, it was the time in my yesterday graph.conf - much appreciated. I decided to remove the 'yesterday' option and the reports all run fine now.

Thanks again!

Andy

paul...@gmail.com

unread,
Feb 21, 2022, 6:50:03 AM2/21/22
to weewx-user
Hi Andy

If you do want to have a Yesterday graph you can use:

time_length = days_ago
time_ago = 1


Paul
Reply all
Reply to author
Forward
0 new messages