Am 09.01.2014 13:24, schrieb Olaf Radicke:
Olaf Radicke <[email protected]> hat am 9. Januar 2014 um 13:06
geschrieben:
If i get the Error
locale::facet::_S_create_c_locale name not valid
and in the log
WARN tntnet.worker - http-Error: 500 locale::facet::_S_create_c_locale name
not
valid
...what does this mean???
Okay, I found the solution:
export LANG="C"
(https://github.com/cityindex/wordpress-development-flow/pull/7)
But I still don't understand the problem.
bye
Olaf
This happens, when the LANG variable is set to a unknown value. The
problem can be reproduced easily with a little C++ program:
#include <iostream>
#include <locale>
int main(int argc, char* argv[])
{
try
{
std::locale l("");
std::cout << l.name() << std::endl;
}
catch (const std::exception& e)
{
std::cerr << e.what() << std::endl;
}
}
This std::locale l("") creates a locale with the default locale of the
environment. Normally it is set by the LANG variable. If you run the
program above with LANG set to e.g. "foo", it will output exactly the
error message, tntnet warns about.
Tommi
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general