locale -a C C.utf8 en_AU.utf8 en_US.utf8 POSIX No, it is there. It is probably not in the pip environment? I am not a programmer. :)
On Saturday, 25 October 2025 at 12:39:51 UTC+11 Greg from Oz wrote: > I forgot to say I am running weewx 5.2.0 in a venv environment. > > On Saturday, 25 October 2025 at 12:33:33 UTC+11 Greg from Oz wrote: > >> Hi, >> I have spent a few days trying to work this out. >> I might have to reinstall a fresh weewx system but I want to avoid that >> if possible. >> >> What I have done is installed the fuzzy-archer skin and have that running >> (sort of) as it updates the website with the weather data but it comes up >> with this error. >> >> Oct 25 12:21:58 moonbi weectl[19313]: ERROR weewx.cheetahgenerator: >> Evaluation of template >> /opt/weewx/weewx-data/skins/Bootstrap/history.html.tmpl failed. >> Oct 25 12:21:58 moonbi weectl[19313]: ERROR weewx.cheetahgenerator: **** >> Ignoring template /opt/weewx/weewx-data/skins/Bootstrap/history.html.tmpl >> Oct 25 12:21:58 moonbi weectl[19313]: ERROR weewx.cheetahgenerator: **** >> Reason: cannot find 'locale' >> Oct 25 12:21:58 moonbi weectl[19313]: ERROR weewx.cheetahgenerator: **** >> To debug, try inserting '#errorCatcher Echo' at top of template >> Oct 25 12:21:58 moonbi weectl[19313]: ERROR weewx.cheetahgenerator: >> Evaluation of template >> /opt/weewx/weewx-data/skins/Bootstrap/about.html.tmpl failed. >> Oct 25 12:21:58 moonbi weectl[19313]: ERROR weewx.cheetahgenerator: **** >> Ignoring template /opt/weewx/weewx-data/skins/Bootstrap/about.html.tmpl >> Oct 25 12:21:58 moonbi weectl[19313]: ERROR weewx.cheetahgenerator: **** >> Reason: cannot find 'locale' >> >> I have tried to change the lang/en.conf file in the Bootstrap directory. >> Failed. >> Change the locale on the server. Failed. >> Added Environment=LANG=en_AU.utf8 to systemd weewx service. Failed. >> Looked at weewx documentation. Tried a few things there. Failed. >> >> I just cannot work out why it is doing this error. >> >> I want to change menus on the web page but because of this locale problem >> it won't let me do that either. >> >> Anyone have any ideas about this one? >> Thanks in advance. I hope it is something simple. >> >> -- 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 visit https://groups.google.com/d/msgid/weewx-user/f60e0bd3-3cfc-4cdc-a8ac-882b90e9b0a4n%40googlegroups.com.
