Created
April 3, 2016 22:16
-
-
Save Eleonore9/42d62fa4c42180f6deef3026401c4113 to your computer and use it in GitHub Desktop.
[heroku] Error when upgrading prod app form cedar to cedar-14 (no error on the staging app)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remote: -----> Python app detected | |
remote: ERROR:root:code for hash md5 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type md5 | |
remote: ERROR:root:code for hash sha1 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha1 | |
remote: ERROR:root:code for hash sha224 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha224 | |
remote: ERROR:root:code for hash sha256 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha256 | |
remote: ERROR:root:code for hash sha384 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha384 | |
remote: ERROR:root:code for hash sha512 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha512 | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/bin/pip", line 9, in <module> | |
remote: load_entry_point('pip==6.1.1', 'console_scripts', 'pip')() | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 343, in load_entry_point | |
remote: return get_distribution(dist).load_entry_point(group, name) | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 2309, in load_entry_point | |
remote: return ep.load() | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 2015, in load | |
remote: entry = __import__(self.module_name, globals(),globals(), ['__name__']) | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/__init__.py", line 15, in <module> | |
remote: from pip.vcs import git, mercurial, subversion, bazaar # noqa | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/vcs/mercurial.py", line 10, in <module> | |
remote: from pip.download import path_to_url | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/download.py", line 32, in <module> | |
remote: from pip._vendor import requests, six | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/_vendor/__init__.py", line 92, in load_module | |
remote: raise ImportError("No module named '%s'" % (name,)) | |
remote: ImportError: No module named 'pip._vendor.requests' | |
remote: ERROR:root:code for hash md5 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type md5 | |
remote: ERROR:root:code for hash sha1 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha1 | |
remote: ERROR:root:code for hash sha224 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha224 | |
remote: ERROR:root:code for hash sha256 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha256 | |
remote: ERROR:root:code for hash sha384 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha384 | |
remote: ERROR:root:code for hash sha512 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha512 | |
remote: Traceback (most recent call last): | |
remote: File "/app/tmp/buildpacks/python/vendor/pip-pop/pip-diff", line 15, in <module> | |
remote: from pip.req import parse_requirements | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/__init__.py", line 15, in <module> | |
remote: from pip.vcs import git, mercurial, subversion, bazaar # noqa | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/vcs/mercurial.py", line 10, in <module> | |
remote: from pip.download import path_to_url | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/download.py", line 32, in <module> | |
remote: from pip._vendor import requests, six | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/_vendor/__init__.py", line 92, in load_module | |
remote: raise ImportError("No module named '%s'" % (name,)) | |
remote: ImportError: No module named 'pip._vendor.requests' | |
remote: $ pip install -r requirements.txt | |
remote: ERROR:root:code for hash md5 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type md5 | |
remote: ERROR:root:code for hash sha1 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha1 | |
remote: ERROR:root:code for hash sha224 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha224 | |
remote: ERROR:root:code for hash sha256 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha256 | |
remote: ERROR:root:code for hash sha384 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha384 | |
remote: ERROR:root:code for hash sha512 was not found. | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 139, in <module> | |
remote: globals()[__func_name] = __get_hash(__func_name) | |
remote: File "/app/.heroku/python/lib/python2.7/hashlib.py", line 91, in __get_builtin_constructor | |
remote: raise ValueError('unsupported hash type ' + name) | |
remote: ValueError: unsupported hash type sha512 | |
remote: Traceback (most recent call last): | |
remote: File "/app/.heroku/python/bin/pip", line 9, in <module> | |
remote: load_entry_point('pip==6.1.1', 'console_scripts', 'pip')() | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 343, in load_entry_point | |
remote: return get_distribution(dist).load_entry_point(group, name) | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 2309, in load_entry_point | |
remote: return ep.load() | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/distribute-0.6.36-py2.7.egg/pkg_resources.py", line 2015, in load | |
remote: entry = __import__(self.module_name, globals(),globals(), ['__name__']) | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/__init__.py", line 15, in <module> | |
remote: from pip.vcs import git, mercurial, subversion, bazaar # noqa | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/vcs/mercurial.py", line 10, in <module> | |
remote: from pip.download import path_to_url | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/download.py", line 32, in <module> | |
remote: from pip._vendor import requests, six | |
remote: File "/app/.heroku/python/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/_vendor/__init__.py", line 92, in load_module | |
remote: raise ImportError("No module named '%s'" % (name,)) | |
remote: ImportError: No module named 'pip._vendor.requests' | |
remote: | |
remote: ! Push rejected, failed to compile Python app |
This is how I got it working:
$ heroku plugins:install heroku-repo
$ heroku repo:purge_cache -a <my-app-name>
$ git push heroku master
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did you get anywhere with this? im having the same issue