Tom - my lightsail VM works fine. Ubuntu 22.04.3 LTS all patched up. Note the diagnostic results differ from the (garbled) pi.
$ echo $LANG python3 -c "import locale;print(locale.setlocale(locale.LC_ALL))" python3 -c "import locale;locale.setlocale(locale.LC_ALL,'');print(locale.setlocale(locale.LC_ALL))" C.UTF-8 LC_CTYPE=C.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C C.UTF-8 On Sunday, August 27, 2023 at 2:37:05 PM UTC-7 vince wrote: My m1 mini running latest MacOS worked fine with the test.html.tmpl template. Here are the python diagnostics. $ echo $LANG python3 -c "import locale;print(locale.setlocale(locale.LC_ALL))" python3 -c "import locale;locale.setlocale(locale.LC_ALL,'');print(locale.setlocale(locale.LC_ALL))" en_US.UTF-8 C/en_US.UTF-8/C/C/C/C en_US.UTF-8 My pi4 has the issue still. Here are the diagnostics for the pi. I got the same command results below without activating the venv too. pi@pi4:~$ source ~/weewx-venv/bin/activate (weewx-venv) pi@pi4:~$ echo $LANG python3 -c "import locale;print(locale.setlocale(locale.LC_ALL))" python3 -c "import locale;locale.setlocale(locale.LC_ALL,'');print(locale.setlocale(locale.LC_ALL))" en_US.UTF-8 LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C en_US.UTF-8 -- 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/9752dfa4-6be1-4509-8049-5fe348653496n%40googlegroups.com.
