How do I do that? I just did a quick search but it doesn't say how to recreate only to create venv.
Thanks On Saturday, 25 October 2025 at 13:08:14 UTC+11 Pablo Sanchez wrote: > After the install, please remember to recreate venv. ;) > --- > pablo > > On October 24, 2025 21:59:36 Greg from Oz <[email protected]> wrote: > >> I just did: >> pip install locales ( I was trying pip install locale (without the >> s))!!!!!!! Now it tells me when weewx starts I have a locale. >> >> But I am still getting the same error. I have restarted weewx. >> Changed lang/en.conf to use AU but still get the error. >> >> On Saturday, 25 October 2025 at 12:49:19 UTC+11 Pablo Sanchez wrote: >> >>> My bad. >>> >>> Using GAI, it says that it may be due to python3 not having the locale >>> library installed. >>> >>> Try going to chatgpt.com and entering the error string: >>> weewx.cheetahgenerator: **** Reason: cannot find 'locale' >>> >>> Cheers! >>> >>> --- >>> pablo >>> >>> >>> >>> On 2025-10-24 21:42, Greg from Oz wrote: >>> >>> 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 >>> >>> <https://groups.google.com/d/msgid/weewx-user/f60e0bd3-3cfc-4cdc-a8ac-882b90e9b0a4n%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 visit >> https://groups.google.com/d/msgid/weewx-user/dd7529ad-965b-4040-8c49-2568e6f4414fn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/dd7529ad-965b-4040-8c49-2568e6f4414fn%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 visit https://groups.google.com/d/msgid/weewx-user/b7f085ce-7898-466f-ad57-b35380a4f0c4n%40googlegroups.com.
