id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 10641,boost::filesystem::path::parent_path() throws run time error locale::facet::_S_create_c_locale name not valid,maxiaoyin@…,Beman Dawes,"I have the following code under ubuntu 12.04 with gcc 4.3.6 . {{{ #include #include using namespace std; namespace fs = boost::filesystem int main(int argc, char** argv) { try { fs::path my_path(""test/test.txt""); cout << ""current path is "" << my_path << endl; cout << ""parent path is "" << my_path.parent_path() << endl; } catch(std::exception& e) { cerr << endl << ""Error during execution: "" << e.what() << endl << endl; return EXIT_FAILURE; } return EXIT_SUCCESS; } }}} I was able to create a path using the string ""test/test.txt"" and print out the path as a string. However, when I was trying to access the parent_path() or stem() or extension() the program will fail and throw locale::facet::_S_create_c_locale name not valid error. output: current path is ""test/test.txt"" Error during execution: locale::facet::_S_create_c_locale name not valid ",Bugs,closed,Boost 1.57.0,filesystem,Boost 1.56.0,Problem,fixed,filesystem,