Hello
I have updated my weave server to the last revision (using hg).
The generateSSHAPassword function contains the following code :
if (setlocale(LC_CTYPE, "UTF8", "en_US.UTF-8") == false)
throw new Exception("Database Unavailable", 503);
I think it works only on macos.
On my linux system (debian testing) the locale code is : xx_XX.utf8
and I don't use the en_US locale.
So the error is triggered. I just set the fr_FR.utf8 locale and it's
working again.
I try to find a way to correct the problem but i don't understand why
the setlocale is needed. Maybe a setlocal(LC_TYPE, 'C') is working.
Regards,
Steeve
--
Subscription settings:
http://groups.google.com/group/mozilla-labs-weave-server-users/subscribe?hl=en