Bit more info: sudo journalctl -f | grep locale Oct 25 14:03:15 moonbi weectl[39599]: DEBUG weewx.reportengine: Running generators for report 'StandardReport' in directory '/opt/weewx/weewx-data/skins/Bootstrap' with locale 'en_AU.UTF-8' Oct 25 14:03:21 moonbi weectl[39599]: DEBUG user.historygenerator: locale: No historygenerator.py specific labels found Oct 25 14:03:22 moonbi weectl[39599]: ERROR weewx.cheetahgenerator: **** Reason: cannot find 'locale' Oct 25 14:03:22 moonbi weectl[39599]: ERROR weewx.cheetahgenerator: **** Reason: cannot find 'locale' Oct 25 14:03:22 moonbi weectl[39599]: ERROR weewx.cheetahgenerator: **** Reason: cannot find 'locale' Oct 25 14:03:22 moonbi weectl[39599]: ERROR weewx.cheetahgenerator: **** Reason: cannot find 'locale' Oct 25 14:03:22 moonbi weectl[39599]: ERROR weewx.cheetahgenerator: **** Reason: cannot find 'locale' Oct 25 14:03:22 moonbi weectl[39599]: ERROR weewx.cheetahgenerator: **** Reason: cannot find 'locale' Oct 25 14:03:22 moonbi weectl[39599]: ERROR weewx.cheetahgenerator: **** Reason: cannot find 'locale' Oct 25 14:03:22 moonbi weectl[39599]: ERROR weewx.cheetahgenerator: **** Reason: cannot find 'locale' Oct 25 14:03:22 moonbi weectl[39599]: ERROR weewx.cheetahgenerator: **** Reason: cannot find 'locale' Oct 25 14:03:22 moonbi weectl[39599]: DEBUG weewx.reportengine: Running generators for report 'SteelSeries' in directory '/opt/weewx/weewx-data/skins/ss' with locale 'en_AU.UTF-8'
On Saturday, 25 October 2025 at 13:41:41 UTC+11 Greg Reive wrote: > But won't that remove weewx and all the pip installs including locale? > > > On Sat, 25 Oct 2025 at 13:24, Pablo Sanchez <[email protected]> > wrote: > >> Assuming you followed the excellent documentation: >> >> First, either delete or rename ~/weewx-venv >> >> Then: >> >> # Create the virtual environment >> python3 -m venv ~/weewx-venv >> --- >> pablo >> >> On October 24, 2025 22:12:02 Greg from Oz <[email protected]> wrote: >> >>> 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 >>> >>> <https://groups.google.com/d/msgid/weewx-user/b7f085ce-7898-466f-ad57-b35380a4f0c4n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> -- >> > You received this message because you are subscribed to a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/weewx-user/wzPwi1gOQtY/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion visit >> https://groups.google.com/d/msgid/weewx-user/19a192de6f0.2848.44b74f35a7a433c111dbfaee4cca1c2d%40hillsandlakes.com >> >> <https://groups.google.com/d/msgid/weewx-user/19a192de6f0.2848.44b74f35a7a433c111dbfaee4cca1c2d%40hillsandlakes.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/e6648ac0-d62a-4707-ab0e-7b158b48a98en%40googlegroups.com.
