You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.
I followed the quick start at [http://pb-falcon.readthedocs.io/en/latest/quick_start.html#] and it says:
FALCON & FALCON_unzip have been successfully installed into a virtualenv.
To activate the FALCON_unzip environment:
$ source /myPATH/FALCON-unzip/fc_env_180503/bin/activate
However, when I activate the FALCON_unzip environment and type the command fc_run, the following error appears:
[37876]$(u'lfs setstripe -c 12 /home/user')
sh: lfs: command not found
[37876]WARNING: Call u'lfs setstripe -c 12 /home/user' returned 32512.
usage: fc_run [-h] config [logger]
fc_run: error: too few argument
The text was updated successfully, but these errors were encountered:
deflfs_setstripe_maybe(path='.', stripe=12):
path=os.path.abspath(path)
cmd='lfs setstripe -c {:d} {!s}'.format(stripe, path)
try:
capture(cmd)
log.info('Lustre filesystem detected. This lfs stripe ({}) should propagate to subdirs of {!r}.'.format(
stripe, path))
exceptExceptionasexc:
log.info('Apparently {!r} is not in lustre filesystem, which is fine.'.format(
path))
That in turn calls this pypeFLOW function:
defcapture(cmd):
"""Return stdout, fully captured. Wait for subproc to finish. Raise if empty. Raise on non-zero exit-code. """importsubprocessLOG.info('$ {} >'.format(cmd))
output=subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
ifnotoutput:
msg='{!r} failed to produce any output.'.format(cmd)
LOG.warning(msg)
returnoutput
This has no option to hide or capture the stderr (which subprocess.check_output could do), which is why it appears on the terminal even though in the context this is harmless.
Should we open an issue on pypeFLOW to enhance the capture function?
Sorry about the annoying stderr. But it's important internally. We have had trouble when running on Lustre File System without setting the "striping". So we always test for lustre, and if detected, we set the "stripe" to somehing reasonable.
SInce it's an old problem, we can probably capture stderr safely now. We'll make that change fairly soon...
I followed the quick start at [http://pb-falcon.readthedocs.io/en/latest/quick_start.html#] and it says:
FALCON & FALCON_unzip have been successfully installed into a virtualenv.
To activate the FALCON_unzip environment:
$ source /myPATH/FALCON-unzip/fc_env_180503/bin/activate
However, when I activate the FALCON_unzip environment and type the command
fc_run
, the following error appears:[37876]$(u'lfs setstripe -c 12 /home/user')
sh: lfs: command not found
[37876]WARNING: Call u'lfs setstripe -c 12 /home/user' returned 32512.
usage: fc_run [-h] config [logger]
fc_run: error: too few argument
The text was updated successfully, but these errors were encountered: