You are not logged in.

#1 2010-12-28 10:20:03

jb234
Member
From: Norway
Registered: 2009-06-22
Posts: 25
Website

encfs no longer works

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

#2 2010-12-28 10:28:34

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: encfs no longer works

Try running "LC_ALL=C encfs" to see if it is a locale issue.

Offline

#3 2010-12-28 11:14:14

jb234
Member
From: Norway
Registered: 2009-06-22
Posts: 25
Website

Re: encfs no longer works

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

#4 2010-12-28 21:49:11

jb234
Member
From: Norway
Registered: 2009-06-22
Posts: 25
Website

Re: encfs no longer works

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

Board footer

Powered by FluxBB