I’ve got a severe problem and I have no idea how it occurred.
I run fwbackups, which is python application to backup my system of maybe 36TB of data. Normally it runs fine from the KDE menu.
Today I was messing around with the date/time/calender widgit in the system tray.
Then when I ran fwbackups tonight to do a manual backup., I got this message:
Traceback (most recent call last):
File “/usr/share/fwbackups/fwbackups-runapp.pyw”, line 28, in
from fwbackups.const import *
File “/usr/lib/python2.7/site-packages/fwbackups/init.py”, line 47, in
from i18n import encode
File “/usr/lib/python2.7/site-packages/fwbackups/i18n.py”, line 32, in
File “/usr/lib64/python2.7/locale.py”, line 581, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
I have zero idea what this means. The program when run from the menu with run in terminal shows the same error as it does when run directly from the terminal.
I did some research in an attempt to figure out what the problem was, but it’s simply too confusing. I need a step-by-step to determine what is the problem and how I can fix it so python sees the correct locale.
I ran the locale command and I get this:
locale: Cannot set LC_ALL to default locale: No such file or directory
That seems to say that there is a blank entry called LC_ALL which is empty and could be the problem. If that is the case, how can I update the locale settings to get rid of it or change it to something acceptable.
This is a real problem for me as my backups cannot be run until this is resolved.