SysFera / vishnu

Modular and high-level middleware for tasks, files and information management in heterogeneous and distributed HPC environments
http://sysfera.github.com/vishnu.html
Other
4 stars 12 forks source link

vishnu_list_local_accounts: locale::facet::_S_create_c_locale name not valid #349

Closed samkos closed 11 years ago

samkos commented 11 years ago

on a debian linux machine, any command line vishnu instruction comes back with the errot

vishnu_list_local_accounts: locale::facet::_S_create_c_locale name not valid

SK

bdepardo commented 11 years ago

Could you please give more details about your configuration:

Could you also give us the result of the 'env' command please?

bdepardo commented 11 years ago

This seems to come from Boost : https://svn.boost.org/trac/boost/ticket/4688

keoo commented 11 years ago

Please see the admin manual, there is a note about it, need to export the LANG=C

samkos commented 11 years ago

an export LANG=C did not solve the issue

linux version is Linux version 2.6.32-5-amd64 (Debian 2.6.32-46) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun Sep 23 10:07:46 UTC 2012

I am using boost 1.48

and here's my env

LC_PAPER=fr_FR.UTF-8 MANPATH=/home/vishnu/local3/vishnu/logilab/man:: LC_ADDRESS=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 TERM=xterm SHELL=/bin/bash SSH_CLIENT=82.242.12.165 60747 22 LC_NUMERIC=fr_FR.UTF-8 OMNIORB4_DIR=/home/vishnu/local3 VISHNU_CONF=/home/vishnu/.vishnu/logilab SSH_TTY=/dev/pts/0 USER=vishnu LD_LIBRARY_PATH=/home/vishnu/local3/vishnu/logilab/lib:/home/vishnu/local3/lib: LSCOLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:_.xspf=00;36: LC_TELEPHONE=fr_FR.UTF-8 BUILD_PATH=/home/vishnu/INSTALL/BUILD MAIL=/var/mail/vishnu PATH=/home/vishnu/local3/vishnu/logilab/bin:/home/vishnu/local3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games SRC_VISHNU=/home/vishnu/VISHNU_GITHUB VISHNU_VERSION=logilab LC_IDENTIFICATION=fr_FR.UTF-8 PWD=/home/vishnu SRC_PATH=/home/vishnu/INSTALL/SOFTS LANG=C LC_MEASUREMENT=fr_FR.UTF-8 SYSFERA_GIT=/home/vishnu/SYSFERA VISHNU_CONFIG_FILE=/home/vishnu/.vishnu/logilab/client.cfg SHLVL=1 HOME=/home/vishnu LANGUAGE=en_US:en LOG_PATH=/home/vishnu/LOGS_logilab INSTALL_PATH=/home/vishnu/local3 PYTHONPATH=/home/vishnu/local3/vishnu/logilab/lib/:/home/vishnu/local3/vishnu/logilab/lib/swig_output:.: LOGNAME=vishnu SSH_CONNECTION=82.242.12.165 60747 192.168.2.2 22 PGDATA=/home/vishnu/local3/pgsql/data VISHNU_GIT_TAG=3 LC_TIME=fr_FR.UTF-8 LC_NAME=frFR.UTF-8 =/usr/bin/env

samkos commented 11 years ago

OK, clue about boost was good : the problem has been solved by applying the patch https://svn.boost.org/trac/boost/attachment/ticket/4688/boost_filesystem.2.patch to boost sources, following the instructions given at https://svn.boost.org/trac/boost/ticket/4688

Thanks!