Hi,
I migrated to python3 environment and then did a bench update --reset.
Now whenever I log in I am blocked by a pop up error:
‘ascii’ codec can’t decode byte 0xd0 in position 681987: ordinal not in range(128):
I am quite confused as what to do next, also unsure if I can revert to my old environment.
Please help me fix this.
Thanks
Nitin
sethu
November 7, 2019, 5:35am
4
@NitinAgarwal @johnskywalker Did you resolved this error?
And sorry for mentioning.
sethu
November 7, 2019, 9:43am
5
Any suggestion??? anybody???
Hi
I Restored my environment from backup
One option that works for me is to:
Reconfigure the locales
as root
dpkg-reconfigure locales
Make sure you choose UTF8 locales, such as en_US.UTF8
Add these to the following file
sudo nano /etc/default/locale
Add these lines (if they exist, make sure they have the values below)
LANG=en_US.UTF-8
LANGUAGE=“en_US.UTF-8”
LC_CTYPE=“en_US.UTF-8”
LC_NUMERIC=“en_US.UTF-8”
LC_TIME=“en_US.UTF-8”
LC_COLLATE=“en_US.UTF-8”
LC_MONETARY=“en_US.UTF-8”
LC_MESSAGES=“en_US.UTF-8”
LC_PAPER=“en_US.UTF-8”
LC_NAME=“en_US.UTF-8”
LC_ADDRESS=“en_US.UTF-8”
LC_TELEPHONE=“en_US.UTF-8”
LC_MEASUREMENT=“en_US.UTF-8”
LC_IDENTIFICATION=“en_US.UTF-8”
LC_ALL=“en_US.UTF-8”
Reboot server
As root
reboot