The suffix "long_form" was introduced in WeeWX V4.10.0. You are using V3.9.2.
You should upgrade both your version of Python, and WeeWX. -tk On Sat, Oct 19, 2024 at 7:40 AM [email protected] <[email protected]> wrote: > Thank you Tom my Syslog attached > > On Saturday 19 October 2024 at 13:04:49 UTC+1 Tom Keffer wrote: > >> Impossible to tell without seeing the log. >> >> See the wiki for how to get a useful log >> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#include-the-log> >> . >> >> On Sat, Oct 19, 2024 at 12:08 AM [email protected] <[email protected]> >> wrote: >> >>> I had a problem with my pi 4 and need to reboot it >>> >>> Unfortunately I had a error with the sd card, and it would not boot >>> >>> my last back up was 18 months ago ☹ >>> >>> so I am trying to bring the card or installation up to date with all the >>> tweeks I have made >>> >>> all is not completely lost as I had a daily cron job running that would >>> back my weewx directory up to an external flash drive >>> >>> I am trying to get the last rain extension to run >>> >>> I have copied the lastrain.py to my /home/weewx/bin/user >>> >>> Added this to my skin.conf >>> >>> search_list_extensions = user.lastrain.lastRainTags, >>> user.stats.MyStats, user.time_since.TimeSince, user.colorize_3.Colorize >>> >>> >>> >>> >>> >>> Upated the index.html.tmpl with >>> >>> >>> >>> <tr> >>> >>> <td class="label">$obs.label.last_rain</td> >>> >>> <td >>> class="data">$time_at('rain>0')<br/>$time_since('rain>0').long_form ago</td> >>> >>> </tr> >>> >>> >>> >>> And this is the output >>> >>> >>> last_rain 19/10/24 05:10:00 >>> $time_since('rain>0').long_form ago >>> >>> >>> >>> The other strange thing is the color formatting as gone its all black >>> text. The normal formatting for the cells on the index page is green for >>> the label cell and red for the data value >>> >>> Why is the time since not returning a value >>> >>> >>> >>> Thanks for any advice >>> >>> -- >>> 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/752c958d-69f7-4be6-908f-dbf80ca14104n%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/752c958d-69f7-4be6-908f-dbf80ca14104n%40googlegroups.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/44860770-fbd8-4898-82e8-dfdee3ca4f21n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/44860770-fbd8-4898-82e8-dfdee3ca4f21n%40googlegroups.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/CAPq0zEAoaRga7LNr6S2fpSS8gMTHv_ZgTG%2BXKutfeT_-wUy-pQ%40mail.gmail.com.
