{"action":"created","issue":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1945","repository_url":"https://api.github.com/repos/hpcugent/easybuild-framework","labels_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1945/labels{/name}","comments_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1945/comments","events_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1945/events","html_url":"https://github.com/hpcugent/easybuild-framework/issues/1945","id":181144057,"number":1945,"title":"Bootstrapping 2.9.0 fails","user":{"login":"andreas-h","id":358378,"avatar_url":"https://avatars.githubusercontent.com/u/358378?v=3","gravatar_id":"","url":"https://api.github.com/users/andreas-h","html_url":"https://github.com/andreas-h","followers_url":"https://api.github.com/users/andreas-h/followers","following_url":"https://api.github.com/users/andreas-h/following{/other_user}","gists_url":"https://api.github.com/users/andreas-h/gists{/gist_id}","starred_url":"https://api.github.com/users/andreas-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreas-h/subscriptions","organizations_url":"https://api.github.com/users/andreas-h/orgs","repos_url":"https://api.github.com/users/andreas-h/repos","events_url":"https://api.github.com/users/andreas-h/events{/privacy}","received_events_url":"https://api.github.com/users/andreas-h/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-05T12:51:40Z","updated_at":"2016-10-05T13:01:52Z","closed_at":null,"body":"I'm having trouble bootstrapping 2.9.0 on my SLSE box:\r\n\r\n    $ python --version\r\n    Python 2.7.9\r\n    $ python -c 'import setuptools; print(setuptools.__version__)'\r\n    26.1.1\r\n\r\n    $ export EASYBUILD_PREFIX=$HOME/eb\r\n\r\n    $ curl -O https://raw.githubusercontent.com/hpcugent/easybuild-framework/develop/easybuild/scripts/bootstrap_eb.py\r\n\r\n    $ python bootstrap_eb.py $EASYBUILD_PREFIX\r\n    [[INFO]] Installation prefix /home/hilboll/eb\r\n    [[INFO]] Found module command 'modulecmd' (EnvironmentModulesC), so using it.\r\n    [[INFO]] \r\n    \r\n    +++ STAGE 0: installing distribute via included (patched) distribute_setup.py...\r\n    \r\n    \r\n    Downloading http://hpcugent.github.io/easybuild/files/distribute-0.6.49-patched1.tar.gz\r\n    Extracting in /tmp/hilboll/tmp4MKkia\r\n    Now working in /tmp/hilboll/tmp4MKkia/distribute-0.6.49\r\n    Installing Distribute\r\n    [[INFO]] \r\n    \r\n    +++ STAGE 1: installing EasyBuild in temporary dir with easy_install...\r\n    \r\n    \r\n    [[INFO]] installing EasyBuild with 'easy_install --quiet --upgrade --prefix=/tmp/hilboll/tmp1pNJ2S/eb_stage1 easybuild'\r\n    Installing with setuptools.setup...\r\n    Installing version 2.9.0\r\n    warning: install_lib: 'build/lib' does not exist -- no Python modules to install\r\n    \r\n    zip_safe flag not set; analyzing archive contents...\r\n    Installing with setuptools.setup...\r\n    Installing version 2.9.0 (API version 2)\r\n    Installing with setuptools.setup...\r\n    Installing version 2.9.0 (required versions: API >= 2)\r\n    Installing with setuptools.setup...\r\n    Installing version 2.9.0 (required versions: API >= 2, easyblocks >= 2.9)\r\n    warning: install_lib: 'build/lib' does not exist -- no Python modules to install\r\n    \r\n    INFO: This is (based on) vsc.install.shared_setup 0.10.14\r\n    INFO: run_tests from base dir /tmp/hilboll/easy_install-bh2Ko2/vsc-base-2.5.4 (using executable /tmp/hilboll/easy_install-bh2Ko2/vsc-base-2.5.4/setup.py)\r\n    WARN: cleanup lib/vsc_base.egg-info\r\n    INFO: initial packages list: ['vsc', 'vsc.utils']\r\n    INFO: generated list: ['vsc', 'vsc.utils']\r\n    INFO: generated packages list: ['vsc', 'vsc.utils']\r\n    INFO: makesetupcfg set to True, (re)creating setup.cfg\r\n    INFO: found license /tmp/hilboll/easy_install-bh2Ko2/vsc-base-2.5.4/LICENSE with md5sum 5f30f0716dfdd0d91eb439ebec522ec2\r\n    INFO: Found license name LGPLv2+ and classifier License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)\r\n    INFO: setting license LGPLv2+\r\n    INFO: No name defined, trying to determine it\r\n    INFO: found match url https://github.com/hpcugent/vsc-base in /tmp/hilboll/easy_install-bh2Ko2/vsc-base-2.5.4/PKG-INFO\r\n    INFO: found match name vsc-base in /tmp/hilboll/easy_install-bh2Ko2/vsc-base-2.5.4/PKG-INFO\r\n    INFO: Removing None download_url\r\n    INFO: get_name_url returns {'url': 'https://github.com/hpcugent/vsc-base', 'name': 'vsc-base'}\r\n    INFO: using long_description Common tools used within our organization. Originally created by the HPC team of Ghent University (http://ugent.be/hpc).\r\n    INFO: generated list: ['bin/optcomplete.bash', 'bin/logdaemon.py', 'bin/startlogdaemon.sh']\r\n    INFO: generated scripts list: ['bin/optcomplete.bash', 'bin/logdaemon.py', 'bin/startlogdaemon.sh']\r\n    INFO: adding prospector to tests_require\r\n    WARN: zip_safe flag not set; analyzing archive contents...\r\n    WARN: vsc.utils.fancylogger: module MAY be using inspect.stack\r\n    WARN: vsc.utils.exceptions: module MAY be using inspect.getouterframes\r\n    WARN: vsc.utils.generaloption: module MAY be using inspect.stack\r\n    [[INFO]] running post install command 'easy_install --upgrade --prefix=/tmp/hilboll/tmp1pNJ2S/eb_stage1 vsc-base'\r\n    INFO: Searching for vsc-base\r\n    INFO: Reading http://pypi.python.org/simple/vsc-base/\r\n    INFO: Best match: vsc-base 2.5.4\r\n    INFO: Processing vsc_base-2.5.4-py2.7.egg\r\n    INFO: vsc-base 2.5.4 is already the active version in easy-install.pth\r\n    INFO: Installing startlogdaemon script to /tmp/hilboll/tmp1pNJ2S/eb_stage1/bin\r\n    INFO: Installing optcomplete.bash script to /tmp/hilboll/tmp1pNJ2S/eb_stage1/bin\r\n    INFO: Installing logdaemon script to /tmp/hilboll/tmp1pNJ2S/eb_stage1/bin\r\n    INFO: \r\n    Using /tmp/hilboll/tmp1pNJ2S/eb_stage1/lib/python2.7/site-packages/vsc_base-2.5.4-py2.7.egg\r\n    INFO: Processing dependencies for vsc-base\r\n    INFO: Finished processing dependencies for vsc-base\r\n    [[INFO]] \r\n    \r\n    +++ STAGE 2: installing EasyBuild in /home/hilboll/eb with EasyBuild from stage 1...\r\n    \r\n    \r\n    Traceback (most recent call last):\r\n      File \"bootstrap_eb.py\", line 793, in <module>\r\n        main()\r\n      File \"bootstrap_eb.py\", line 596, in main\r\n        stage2(tmpdir, templates, install_path, distribute_egg_dir, sourcepath)\r\n      File \"bootstrap_eb.py\", line 513, in stage2\r\n        from easybuild.main import main as easybuild_main\r\n      File \"/tmp/hilboll/tmp1pNJ2S/eb_stage1/lib/python2.7/site-packages/easybuild_framework-2.9.0-py2.7.egg/easybuild/main.py\", line 47, in <module>\r\n        from easybuild.tools.build_log import EasyBuildError, init_logging, print_msg, print_error, stop_logging\r\n      File \"/tmp/hilboll/tmp1pNJ2S/eb_stage1/lib/python2.7/site-packages/easybuild_framework-2.9.0-py2.7.egg/easybuild/tools/build_log.py\", line 200, in <module>\r\n        def init_logging(logfile, logtostdout=False, silent=False, colorize=fancylogger.Colorize.AUTO):\r\n    AttributeError: 'module' object has no attribute 'Colorize'\r\n"},"comment":{"url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/comments/251667569","html_url":"https://github.com/hpcugent/easybuild-framework/issues/1945#issuecomment-251667569","issue_url":"https://api.github.com/repos/hpcugent/easybuild-framework/issues/1945","id":251667569,"user":{"login":"boegel","id":620876,"avatar_url":"https://avatars.githubusercontent.com/u/620876?v=3","gravatar_id":"","url":"https://api.github.com/users/boegel","html_url":"https://github.com/boegel","followers_url":"https://api.github.com/users/boegel/followers","following_url":"https://api.github.com/users/boegel/following{/other_user}","gists_url":"https://api.github.com/users/boegel/gists{/gist_id}","starred_url":"https://api.github.com/users/boegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boegel/subscriptions","organizations_url":"https://api.github.com/users/boegel/orgs","repos_url":"https://api.github.com/users/boegel/repos","events_url":"https://api.github.com/users/boegel/events{/privacy}","received_events_url":"https://api.github.com/users/boegel/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T13:01:52Z","updated_at":"2016-10-05T13:01:52Z","body":"@andreas-h it seems like you have an old version of `vsc-base` installed that is picked up, over the one that was installed in 'stage 1' of the bootstrap procedure...\r\n\r\nPython is pretty nasty this way, taking control of `$PYTHONPATH` is not sufficient to be in control.\r\n\r\nCan you check what this prints?\r\n\r\n```shell\r\n$ python -c \"import vsc; print vsc.__file__\"\r\n$ python -c \"import vsc.fancylogger; print vsc.fancylogger.__file__\"\r\n```"}}
{"actor":{"display_login":"boegel"}}