{"action":"opened","issue":{"url":"https://api.github.com/repos/lsst-dm/shared-stack/issues/1","repository_url":"https://api.github.com/repos/lsst-dm/shared-stack","labels_url":"https://api.github.com/repos/lsst-dm/shared-stack/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/lsst-dm/shared-stack/issues/1/comments","events_url":"https://api.github.com/repos/lsst-dm/shared-stack/issues/1/events","html_url":"https://github.com/lsst-dm/shared-stack/issues/1","id":177360732,"number":1,"title":"Pb with eups when launching shared-stack","user":{"login":"ChristianArnault","id":1872702,"avatar_url":"https://avatars.githubusercontent.com/u/1872702?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristianArnault","html_url":"https://github.com/ChristianArnault","followers_url":"https://api.github.com/users/ChristianArnault/followers","following_url":"https://api.github.com/users/ChristianArnault/following{/other_user}","gists_url":"https://api.github.com/users/ChristianArnault/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianArnault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianArnault/subscriptions","organizations_url":"https://api.github.com/users/ChristianArnault/orgs","repos_url":"https://api.github.com/users/ChristianArnault/repos","events_url":"https://api.github.com/users/ChristianArnault/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianArnault/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-16T07:24:35Z","updated_at":"2016-09-16T07:24:35Z","closed_at":null,"body":"Hi \r\nI have successfully installed lsstsw in some directory (CCIN2P3) using this procedure:\r\n\r\n    _# setup the proper CC compiler\r\n    export PATH=/opt/rh/devtoolset-3/root/usr/bin:${PATH}\r\n    export WEEKLIES=/sps/lsst/dev/lsstprod/weeklies\r\n    cd $WEEKLIES\r\n    git clone https://github.com/lsst/lsstsw.git\r\n    cd lsstsw\r\n    ./bin/deploy\r\n    export LSSTSW=$WEEKLIES/lsstsw \r\n    export EUPS_PATH=$LSSTSW/stack\r\n    . $LSSTSW/bin/setup.sh\r\n    rebuild lsst_apps\r\n    eups list_\r\n    ...\r\n\r\nThen I git-cloned shared-stack, installed lxml and patched the ROOT value inside the script\r\n\r\nit fails:\r\n\r\n    /sps/lsst/dev/lsstprod/weeklies/lsstsw/miniconda/bin/python: can't open file '/sps/lsst/dev/lsstprod  /weeklies/lsstsw/stack/eups/bin/eups_impl.py': [Errno 2] No such file or directory\r\n    Failed process output:\r\n    \r\n    Traceback (most recent call last):\r\n      File \"shared_stack.py\", line 595, in <module>\r\n        main()\r\n      File \"shared_stack.py\", line 561, in main\r\n        sm = StackManager(ROOT, userdata=userdata)\r\n      File \"shared_stack.py\", line 324, in __init__\r\n        self._refresh_products()\r\n      File \"shared_stack.py\", line 335, in _refresh_products\r\n        for line in self._run_cmd(\"list\", \"--raw\").strip().split('\\n'):\r\n      File \"shared_stack.py\", line 369, in _run_cmd\r\n        universal_newlines=True)\r\n      File \"shared_stack.py\", line 547, in _check_output\r\n        raise subprocess.CalledProcessError(retcode, cmd)\r\n    subprocess.CalledProcessError: Command '['eups', '--nolocks', 'list', '--raw']' returned non-zero exit      status 2\r\n\r\nbut if I run the eups command from my shell everything is OK\r\n\r\n    eups --nolocks list --raw\r\n    GalSim|tag:lsstprod|lsstprod\r\n    afw|12.1.rc1-2-gabcc786|b2270\r\n    afwdata|12.0+7|b2270\r\n    apr|1.5.2|b2270\r\n    apr_util|1.5.4|b2270\r\n    astrometry_net|0.50.lsst3+2|b2270\r\n    astrometry_net_data|10.0+84|b2270\r\n    astrometry_net_data|tag:lsstprod|lsstprod\r\n    astropy|0.0.1.lsst2+1|b2270 \r\n    base|12.1.rc1|b227 0 \r\n    boost|1.60.lsst1|b22 70\r\n    cfitsio|3360.lsst4|b2270\r\n    coadd_chisquared|12.1.rc1-1-g5c1385a|b2270\r\n    coadd_utils|12.1.rc1-1-g3d31b68+4|b2270 \r\n    daf_base|12.1.rc1-1-g6e07e07|b2270 \r\n    daf_butlerUtils|12.1.rc1-1-gb66ffbb+2|b2270 \r\n    daf_persistence|12.1.rc1-3-g8c1bd6c|b2270\r\n    display_ds9|12.1.rc1+3|b2270\r\n    doxygen|1.8.5.lsst1|b2270\r\n    ...\r\n\r\nAny idea?\r\n\r\nChristian Arnault"}}
{"actor":{"display_login":"ChristianArnault"}}