Hi Michael, You are right. weewx has been installed several years ago... and i did not touch it very much. Yes, this was working before with the old Bootstrap under Raspberry pi Debian 7.11 / Python 2.7.3 and weewx 3.9.2
I've installed "apt install python3-ephem" but I still have the error. What di I missed? Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Bootstrap/history.html.tmpl failed. Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Bootstrap/history.html.tmpl Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'next_solstice' while searching for 'almanac.next_solstice.raw' Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Bootstrap/stats.html.tmpl failed. Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Bootstrap/stats.html.tmpl Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'next_solstice' while searching for 'almanac.next_solstice.raw' Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Bootstrap/day.html.tmpl failed. Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Bootstrap/day.html.tmpl Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'next_solstice' while searching for 'almanac.next_solstice.raw' Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Bootstrap/week.html.tmpl failed. Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Bootstrap/week.html.tmpl Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'next_solstice' while searching for 'almanac.next_solstice.raw' Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Bootstrap/month.html.tmpl failed. Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Bootstrap/month.html.tmpl Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'next_solstice' while searching for 'almanac.next_solstice.raw' Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Bootstrap/year.html.tmpl failed. Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Bootstrap/year.html.tmpl Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'next_solstice' while searching for 'almanac.next_solstice.raw' Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Bootstrap/index.html.tmpl failed. Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Bootstrap/index.html.tmpl Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'next_solstice' while searching for 'almanac.next_solstice.raw' Jul 13 16:15:40 weewx4-raspi weewx[12307] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template Jul 13 16:15:40 weewx4-raspi weewx[12307] INFO weewx.cheetahgenerator: Generated 2 files for report Bootstrap in 3.62 seconds (...) Yves, YMartin.com/meteo Le jeudi 13 juillet 2023 à 15 h 44 min 24 s UTC-4, [email protected] a écrit : > Do they work with another skin? For the almanac, my best guess is that > these are not weewx almanac values and you don't have ephem installed (the > latter is a very educated guess, since your charts don't show dayNight > background and I highly doubt you turned this feature off) I have ephem > installed, I just tested $almanac.next_equinox , it works. > > for $time_since_last_rain: is this a standard feature? Anyway, Bootstrap > skin will not interfere. My best guess here, you didn't install > https://github.com/vinceskahan/vds-weewx-lastrain-extension. > > Yves Martin schrieb am Donnerstag, 13. Juli 2023 um 21:09:17 UTC+2: > >> Hi, >> >> When I upgrade weewx from 3.7 to 4.10, I wanted to keep some useful >> features, but I discovered they are not supported here. Here is the code >> I've added in /etc/weewx/skins/Boutstrap/livegauge.html.inc >> >> (...) >> <tr> >> #if $almanac.next_solstice.raw < >> $almanac.next_equinox.raw >> <td">$gettext("Solstice")</td> >> <td>$almanac.next_solstice</td> >> #else >> <td>$gettext("Equinox")</td> >> <td>$almanac.next_equinox</td> >> #end if >> <tr/> >> <tr> >> #if $almanac.next_equinox.raw < >> $almanac.next_solstice.raw >> <td>$gettext("Solstice")</td> >> <td>$almanac.next_solstice</td> >> #else >> <td>$gettext("Equinox")</td> >> <td>$almanac.next_equinox</td> >> #end if >> </tr> >> <tr> >> <td>$gettext("Cumulative rain")</td> >> <td>$time_since_last_rain</td> >> </tr> >> (...) >> >> Unfortunately, these variable are not supported. >> Did I forget something? >> >> Yves, >> YMartin.com/meteo >> > -- 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/20970a65-68f2-4ded-9f53-37a4d9161b13n%40googlegroups.com.
