You are not logged in.
Pages: 1
Hi,
I now get a strange error when using encfs, it seems to give this error when it starts, and it does not really matter what parameters is given to it.
for example just writing "encfs" on the command line. It also gives this error when given directory parmeters.
The error message is:
]$ encfs
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted
So it has something to do with a locale, is this something that is read from a config file that can be changed?
Any ideas? The installation has been upgraded with pacman, but not rebooted in a while. It has been working previously, when now after reboot this no longer works correctly.
Offline
Try running "LC_ALL=C encfs" to see if it is a locale issue.
Offline
Yes, I am able to get it running when using "LC_ALL=C" infront of the program name.
Encfs seems to be working correctly with this.
So what does this mean and what do I have to do as a more permanent solution? That I have locale is configured wrongly on my machine?
Offline
I got it to work normally and not having to write "LC_ALL=C" infront by:
uncommenting
en_US.UTF-8 UTF-8
en_US ISO-8859-1
in /etc/locale.gen and running sudo locale-gen
It says LOCALE="en_US.UTF-8" in /etc/rc.conf so I guess those has to match.
I have not been fiddling with any of these things manually before it stopped working.
Offline
Pages: 1