{"action":"created","issue":{"url":"https://api.github.com/repos/OpenTreeOfLife/opentree/issues/630","labels_url":"https://api.github.com/repos/OpenTreeOfLife/opentree/issues/630/labels{/name}","comments_url":"https://api.github.com/repos/OpenTreeOfLife/opentree/issues/630/comments","events_url":"https://api.github.com/repos/OpenTreeOfLife/opentree/issues/630/events","html_url":"https://github.com/OpenTreeOfLife/opentree/issues/630","id":72337636,"number":630,"title":"Curator install fails due to some kind of ncl problem","user":{"login":"jar398","id":2035858,"avatar_url":"https://avatars.githubusercontent.com/u/2035858?v=3","gravatar_id":"","url":"https://api.github.com/users/jar398","html_url":"https://github.com/jar398","followers_url":"https://api.github.com/users/jar398/followers","following_url":"https://api.github.com/users/jar398/following{/other_user}","gists_url":"https://api.github.com/users/jar398/gists{/gist_id}","starred_url":"https://api.github.com/users/jar398/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jar398/subscriptions","organizations_url":"https://api.github.com/users/jar398/orgs","repos_url":"https://api.github.com/users/jar398/repos","events_url":"https://api.github.com/users/jar398/events{/privacy}","received_events_url":"https://api.github.com/users/jar398/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-01T02:33:54Z","updated_at":"2015-05-01T12:37:58Z","closed_at":null,"body":"Not sure what repo to report this to, maybe ncl or peyotl is more appropriate? This is likely to be a deployment dependency issue.\r\n\r\n    ...\r\n    make[2]: Leaving directory '/home/opentree/repo/opentree/curator/build-ncl-static'\r\n    make[1]: Leaving directory '/home/opentree/repo/opentree/curator/build-ncl-static'\r\n    Apache / web2py restart required (due to app configuration)\r\n    + make install\r\n    + cd ..\r\n    + grep ^\\[external\\] private/config\r\n    + echo [external]\r\n    + echo dir=/home/opentree/repo/opentree/curator/private/scratch\r\n    + echo 2nexml=/home/opentree/repo/opentree/curator/private/bin/NCLconverter\r\n    ERROR:root:code for hash md5 was not found.\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 147, in <module>\r\n        globals()[__func_name] = __get_hash(__func_name)\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 97, in __get_builtin_constructor\r\n        raise ValueError('unsupported hash type ' + name)\r\n    ValueError: unsupported hash type md5\r\n    ERROR:root:code for hash sha1 was not found.\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 147, in <module>\r\n        globals()[__func_name] = __get_hash(__func_name)\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 97, in __get_builtin_constructor\r\n        raise ValueError('unsupported hash type ' + name)\r\n    ValueError: unsupported hash type sha1\r\n    ERROR:root:code for hash sha224 was not found.\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 147, in <module>\r\n        globals()[__func_name] = __get_hash(__func_name)\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 97, in __get_builtin_constructor\r\n        raise ValueError('unsupported hash type ' + name)\r\n    ValueError: unsupported hash type sha224\r\n    ERROR:root:code for hash sha256 was not found.\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 147, in <module>\r\n        globals()[__func_name] = __get_hash(__func_name)\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 97, in __get_builtin_constructor\r\n        raise ValueError('unsupported hash type ' + name)\r\n    ValueError: unsupported hash type sha256\r\n    ERROR:root:code for hash sha384 was not found.\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 147, in <module>\r\n        globals()[__func_name] = __get_hash(__func_name)\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 97, in __get_builtin_constructor\r\n        raise ValueError('unsupported hash type ' + name)\r\n    ValueError: unsupported hash type sha384\r\n    ERROR:root:code for hash sha512 was not found.\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 147, in <module>\r\n        globals()[__func_name] = __get_hash(__func_name)\r\n      File \"/usr/lib/python2.7/hashlib.py\", line 97, in __get_builtin_constructor\r\n        raise ValueError('unsupported hash type ' + name)\r\n    ValueError: unsupported hash type sha512\r\n    Traceback (most recent call last):\r\n      File \"/home/opentree/venv/bin/pip\", line 9, in <module>\r\n        load_entry_point('pip==1.1', 'console_scripts', 'pip')()\r\n      File \"/home/opentree/venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py\", line 337, in load_entry_point\r\n        return get_distribution(dist).load_entry_point(group, name)\r\n      File \"/home/opentree/venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py\", line 2279, in load_entry_point\r\n        return ep.load()\r\n      File \"/home/opentree/venv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py\", line 1989, in load\r\n        entry = __import__(self.module_name, globals(),globals(), ['__name__'])\r\n      File \"/home/opentree/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/__init__.py\", line 10, in <module>\r\n        from pip.backwardcompat import walk_packages, console_to_str\r\n      File \"/home/opentree/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/backwardcompat.py\", line 18, in <module>\r\n        import md5 as md5_module\r\n      File \"/usr/lib/python2.7/md5.py\", line 10, in <module>\r\n        from hashlib import md5\r\n    ImportError: cannot import name md5\r\n"},"comment":{"url":"https://api.github.com/repos/OpenTreeOfLife/opentree/issues/comments/98125043","html_url":"https://github.com/OpenTreeOfLife/opentree/issues/630#issuecomment-98125043","issue_url":"https://api.github.com/repos/OpenTreeOfLife/opentree/issues/630","id":98125043,"user":{"login":"mtholder","id":136067,"avatar_url":"https://avatars.githubusercontent.com/u/136067?v=3","gravatar_id":"","url":"https://api.github.com/users/mtholder","html_url":"https://github.com/mtholder","followers_url":"https://api.github.com/users/mtholder/followers","following_url":"https://api.github.com/users/mtholder/following{/other_user}","gists_url":"https://api.github.com/users/mtholder/gists{/gist_id}","starred_url":"https://api.github.com/users/mtholder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtholder/subscriptions","organizations_url":"https://api.github.com/users/mtholder/orgs","repos_url":"https://api.github.com/users/mtholder/repos","events_url":"https://api.github.com/users/mtholder/events{/privacy}","received_events_url":"https://api.github.com/users/mtholder/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T12:37:58Z","updated_at":"2015-05-01T12:37:58Z","body":"I think that it is probably failing at https://github.com/OpenTreeOfLife/opentree/blob/master/deploy/setup/install-web2py-apps.sh#L136\r\n\r\nthe echo's are the very end of the install-ncl.sh script. and this looks like a pip issue (NCL does not use python for anything except testing, and does not use pip).\r\n\r\nRecreating the virtualenv might be needed (virtualenv installs pip)."}}