{"action":"created","issue":{"url":"https://api.github.com/repos/bakwc/JamSpell/issues/33","repository_url":"https://api.github.com/repos/bakwc/JamSpell","labels_url":"https://api.github.com/repos/bakwc/JamSpell/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/bakwc/JamSpell/issues/33/comments","events_url":"https://api.github.com/repos/bakwc/JamSpell/issues/33/events","html_url":"https://github.com/bakwc/JamSpell/issues/33","id":329637631,"node_id":"MDU6SXNzdWUzMjk2Mzc2MzE=","number":33,"title":"terminate called after throwing an instance of 'std::runtime_error'   what():  locale::facet::_S_create_c_locale name not valid","user":{"login":"msainz","id":325520,"node_id":"MDQ6VXNlcjMyNTUyMA==","avatar_url":"https://avatars2.githubusercontent.com/u/325520?v=4","gravatar_id":"","url":"https://api.github.com/users/msainz","html_url":"https://github.com/msainz","followers_url":"https://api.github.com/users/msainz/followers","following_url":"https://api.github.com/users/msainz/following{/other_user}","gists_url":"https://api.github.com/users/msainz/gists{/gist_id}","starred_url":"https://api.github.com/users/msainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msainz/subscriptions","organizations_url":"https://api.github.com/users/msainz/orgs","repos_url":"https://api.github.com/users/msainz/repos","events_url":"https://api.github.com/users/msainz/events{/privacy}","received_events_url":"https://api.github.com/users/msainz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-05T21:48:50Z","updated_at":"2018-06-08T06:31:52Z","closed_at":"2018-06-08T06:31:52Z","author_association":"NONE","body":"```\r\n(base) root@84b27fa8af50:/usr/app# git clone https://github.com/bakwc/JamSpell.git\r\nCloning into 'JamSpell'...\r\nremote: Counting objects: 1010, done.\r\nremote: Compressing objects: 100% (52/52), done.\r\nremote: Total 1010 (delta 42), reused 79 (delta 38), pack-reused 913\r\nReceiving objects: 100% (1010/1010), 676.87 KiB | 1.19 MiB/s, done.\r\nResolving deltas: 100% (621/621), done.\r\n(base) root@84b27fa8af50:/usr/app# cd JamSpell\r\n(base) root@84b27fa8af50:/usr/app/JamSpell# mkdir build\r\n(base) root@84b27fa8af50:/usr/app/JamSpell# cd build\r\n(base) root@84b27fa8af50:/usr/app/JamSpell/build# cmake ..\r\n-- The C compiler identification is GNU 6.3.0\r\n-- The CXX compiler identification is GNU 6.3.0\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Could NOT find GTest (missing:  GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)\r\n-- Looking for pthread.h\r\n-- Looking for pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - not found\r\n-- Looking for pthread_create in pthreads\r\n-- Looking for pthread_create in pthreads - not found\r\n-- Looking for pthread_create in pthread\r\n-- Looking for pthread_create in pthread - found\r\n-- Found Threads: TRUE\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /usr/app/JamSpell/build\r\n(base) root@84b27fa8af50:/usr/app/JamSpell/build# make\r\nScanning dependencies of target cityhash\r\n[  4%] Building CXX object contrib/cityhash/CMakeFiles/cityhash.dir/city.cc.o\r\n[  8%] Linking CXX static library libcityhash.a\r\n[  8%] Built target cityhash\r\nScanning dependencies of target phf\r\n[ 12%] Building CXX object contrib/phf/CMakeFiles/phf.dir/phf.cc.o\r\n[ 16%] Linking CXX static library libphf.a\r\n[ 16%] Built target phf\r\nScanning dependencies of target jamspell_lib\r\n[ 20%] Building CXX object jamspell/CMakeFiles/jamspell_lib.dir/spell_corrector.cpp.o\r\n[ 25%] Building CXX object jamspell/CMakeFiles/jamspell_lib.dir/lang_model.cpp.o\r\n[ 29%] Building CXX object jamspell/CMakeFiles/jamspell_lib.dir/utils.cpp.o\r\n[ 33%] Building CXX object jamspell/CMakeFiles/jamspell_lib.dir/perfect_hash.cpp.o\r\n[ 37%] Building CXX object jamspell/CMakeFiles/jamspell_lib.dir/bloom_filter.cpp.o\r\n[ 41%] Linking CXX static library libjamspell_lib.a\r\n[ 41%] Built target jamspell_lib\r\nScanning dependencies of target jamspell\r\n[ 45%] Building CXX object main/CMakeFiles/jamspell.dir/main.cpp.o\r\n[ 50%] Linking CXX executable jamspell\r\n[ 50%] Built target jamspell\r\nScanning dependencies of target handypack\r\n[ 54%] Building CXX object contrib/handypack/CMakeFiles/handypack.dir/handypack.cpp.o\r\n[ 58%] Linking CXX static library libhandypack.a\r\n[ 58%] Built target handypack\r\nScanning dependencies of target bloom\r\n[ 62%] Building CXX object contrib/bloom/CMakeFiles/bloom.dir/bloom_filter.cpp.o\r\n[ 66%] Linking CXX static library libbloom.a\r\n[ 66%] Built target bloom\r\nScanning dependencies of target tsl\r\n[ 70%] Building CXX object contrib/tsl/CMakeFiles/tsl.dir/robin_map.cpp.o\r\n[ 75%] Linking CXX static library libtsl.a\r\n[ 75%] Built target tsl\r\nScanning dependencies of target httplib\r\n[ 79%] Building CXX object contrib/httplib/CMakeFiles/httplib.dir/httplib.cpp.o\r\n[ 83%] Linking CXX static library libhttplib.a\r\n[ 83%] Built target httplib\r\nScanning dependencies of target nlohmann_json\r\n[ 87%] Building CXX object contrib/nlohmann/CMakeFiles/nlohmann_json.dir/json.cpp.o\r\n[ 91%] Linking CXX static library libnlohmann_json.a\r\n[ 91%] Built target nlohmann_json\r\nScanning dependencies of target web_server\r\n[ 95%] Building CXX object web_server/CMakeFiles/web_server.dir/main.cpp.o\r\n[100%] Linking CXX executable web_server\r\n[100%] Built target web_server\r\n(base) root@84b27fa8af50:/usr/app/JamSpell/build# ls\r\nCMakeCache.txt\tCMakeFiles  Makefile  cmake_install.cmake  contrib  jamspell  main  web_server\r\n(base) root@84b27fa8af50:/usr/app/JamSpell/build# ls jamspell/\r\nCMakeFiles  Makefile  cmake_install.cmake  libjamspell_lib.a\r\n(base) root@84b27fa8af50:/usr/app/JamSpell/build# cd ..\r\n(base) root@84b27fa8af50:/usr/app/JamSpell# ls\r\nCMakeLists.txt\tLICENSE  MANIFEST.in  README.md  build\tclear.sh  contrib  evaluate  jamspell  jamspell.i  main  setup.cfg  setup.py  test_data  test_jamspell.py  tests  web_server\r\n(base) root@84b27fa8af50:/usr/app/JamSpell# python setup.py install\r\nrunning install\r\nrunning build_ext\r\nbuilding '_jamspell' extension\r\nswigging jamspell.i to jamspell_wrap.cpp\r\n/usr/bin/swig3.0 -python -c++ -o jamspell_wrap.cpp jamspell.i\r\ncreating build/temp.linux-x86_64-3.6\r\ncreating build/temp.linux-x86_64-3.6/jamspell\r\ncreating build/temp.linux-x86_64-3.6/contrib\r\ncreating build/temp.linux-x86_64-3.6/contrib/cityhash\r\ncreating build/temp.linux-x86_64-3.6/contrib/phf\r\ngcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -Ijamspell -I/opt/conda/include/python3.6m -c jamspell/lang_model.cpp -o build/temp.linux-x86_64-3.6/jamspell/lang_model.o -std=c++11 -O2\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\ngcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -Ijamspell -I/opt/conda/include/python3.6m -c jamspell/spell_corrector.cpp -o build/temp.linux-x86_64-3.6/jamspell/spell_corrector.o -std=c++11 -O2\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\ngcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -Ijamspell -I/opt/conda/include/python3.6m -c jamspell/utils.cpp -o build/temp.linux-x86_64-3.6/jamspell/utils.o -std=c++11 -O2\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\ngcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -Ijamspell -I/opt/conda/include/python3.6m -c jamspell/perfect_hash.cpp -o build/temp.linux-x86_64-3.6/jamspell/perfect_hash.o -std=c++11 -O2\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\ngcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -Ijamspell -I/opt/conda/include/python3.6m -c jamspell/bloom_filter.cpp -o build/temp.linux-x86_64-3.6/jamspell/bloom_filter.o -std=c++11 -O2\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\ngcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -Ijamspell -I/opt/conda/include/python3.6m -c contrib/cityhash/city.cc -o build/temp.linux-x86_64-3.6/contrib/cityhash/city.o -std=c++11 -O2\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\ngcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -Ijamspell -I/opt/conda/include/python3.6m -c contrib/phf/phf.cc -o build/temp.linux-x86_64-3.6/contrib/phf/phf.o -std=c++11 -O2\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\ngcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -Ijamspell -I/opt/conda/include/python3.6m -c jamspell_wrap.cpp -o build/temp.linux-x86_64-3.6/jamspell_wrap.o -std=c++11 -O2\r\ncc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++\r\ncreating build/lib.linux-x86_64-3.6\r\ng++ -pthread -shared -B /opt/conda/compiler_compat -L/opt/conda/lib -Wl,-rpath=/opt/conda/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/jamspell/lang_model.o build/temp.linux-x86_64-3.6/jamspell/spell_corrector.o build/temp.linux-x86_64-3.6/jamspell/utils.o build/temp.linux-x86_64-3.6/jamspell/perfect_hash.o build/temp.linux-x86_64-3.6/jamspell/bloom_filter.o build/temp.linux-x86_64-3.6/contrib/cityhash/city.o build/temp.linux-x86_64-3.6/contrib/phf/phf.o build/temp.linux-x86_64-3.6/jamspell_wrap.o -o build/lib.linux-x86_64-3.6/_jamspell.cpython-36m-x86_64-linux-gnu.so\r\nrunning bdist_egg\r\nrunning egg_info\r\ncreating jamspell.egg-info\r\nwriting jamspell.egg-info/PKG-INFO\r\nwriting dependency_links to jamspell.egg-info/dependency_links.txt\r\nwriting top-level names to jamspell.egg-info/top_level.txt\r\nwriting manifest file 'jamspell.egg-info/SOURCES.txt'\r\nreading manifest file 'jamspell.egg-info/SOURCES.txt'\r\nreading manifest template 'MANIFEST.in'\r\nwriting manifest file 'jamspell.egg-info/SOURCES.txt'\r\ninstalling library code to build/bdist.linux-x86_64/egg\r\nrunning install_lib\r\nrunning build_py\r\ncopying jamspell.py -> build/lib.linux-x86_64-3.6\r\ncreating build/bdist.linux-x86_64\r\ncreating build/bdist.linux-x86_64/egg\r\ncopying build/lib.linux-x86_64-3.6/_jamspell.cpython-36m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg\r\ncopying build/lib.linux-x86_64-3.6/jamspell.py -> build/bdist.linux-x86_64/egg\r\nbyte-compiling build/bdist.linux-x86_64/egg/jamspell.py to jamspell.cpython-36.pyc\r\ncreating stub loader for _jamspell.cpython-36m-x86_64-linux-gnu.so\r\nbyte-compiling build/bdist.linux-x86_64/egg/_jamspell.py to _jamspell.cpython-36.pyc\r\ncreating build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying jamspell.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying jamspell.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying jamspell.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying jamspell.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO\r\ncopying jamspell.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\r\nwriting build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt\r\ncreating dist\r\ncreating 'dist/jamspell-0.0.11-py3.6-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it\r\nremoving 'build/bdist.linux-x86_64/egg' (and everything under it)\r\nCreating /opt/conda/lib/python3.6/site-packages/site.py\r\nProcessing jamspell-0.0.11-py3.6-linux-x86_64.egg\r\ncreating /opt/conda/lib/python3.6/site-packages/jamspell-0.0.11-py3.6-linux-x86_64.egg\r\nExtracting jamspell-0.0.11-py3.6-linux-x86_64.egg to /opt/conda/lib/python3.6/site-packages\r\nAdding jamspell 0.0.11 to easy-install.pth file\r\n\r\nInstalled /opt/conda/lib/python3.6/site-packages/jamspell-0.0.11-py3.6-linux-x86_64.egg\r\nProcessing dependencies for jamspell==0.0.11\r\nFinished processing dependencies for jamspell==0.0.11\r\n(base) root@84b27fa8af50:/usr/app/JamSpell# ipython\r\niPython 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 18:10:19)\r\nType 'copyright', 'credits' or 'license' for more information\r\nIPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help.\r\n\r\nIn [1]: import jamspell\r\nterminate called after throwing an instance of 'std::runtime_error'\r\n  what():  locale::facet::_S_create_c_locale name not valid\r\nAborted\r\n```"},"comment":{"url":"https://api.github.com/repos/bakwc/JamSpell/issues/comments/395661965","html_url":"https://github.com/bakwc/JamSpell/issues/33#issuecomment-395661965","issue_url":"https://api.github.com/repos/bakwc/JamSpell/issues/33","id":395661965,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTY2MTk2NQ==","user":{"login":"bakwc","id":1684011,"node_id":"MDQ6VXNlcjE2ODQwMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1684011?v=4","gravatar_id":"","url":"https://api.github.com/users/bakwc","html_url":"https://github.com/bakwc","followers_url":"https://api.github.com/users/bakwc/followers","following_url":"https://api.github.com/users/bakwc/following{/other_user}","gists_url":"https://api.github.com/users/bakwc/gists{/gist_id}","starred_url":"https://api.github.com/users/bakwc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakwc/subscriptions","organizations_url":"https://api.github.com/users/bakwc/orgs","repos_url":"https://api.github.com/users/bakwc/repos","events_url":"https://api.github.com/users/bakwc/events{/privacy}","received_events_url":"https://api.github.com/users/bakwc/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T06:31:52Z","updated_at":"2018-06-08T06:31:52Z","author_association":"OWNER","body":"Dupicates #17 "}}
{"actor":{"display_login":"bakwc"}}