· 7 years ago · Jun 14, 2018, 10:58 PM
1git push heroku master --force
2Counting objects: 94, done.
3Delta compression using up to 8 threads.
4Compressing objects: 100% (89/89), done.
5Writing objects: 100% (94/94), 1.66 MiB | 115.00 KiB/s, done.
6Total 94 (delta 2), reused 0 (delta 0)
7remote: Compressing source files... done.
8remote: Building source:
9remote:
10remote: -----> Python app detected
11remote: -----> Installing python-3.6.5
12remote: -----> Installing pip
13remote: -----> Installing requirements with pip
14remote: Collecting dj-database-url==0.5.0 (from -r /tmp/build_24b0d6bbd61582c49aa432921079a451/requirements.txt (line 1))
15remote: Downloading https://files.pythonhosted.org/packages/d4/a6/4b8578c1848690d0c307c7c0596af2077536c9ef2a04d42b00fabaa7e49d/dj_database_url-0.5.0-py2.py3-none-any.whl
16remote: Collecting dj-static==0.0.6 (from -r /tmp/build_24b0d6bbd61582c49aa432921079a451/requirements.txt (line 2))
17remote: Downloading https://files.pythonhosted.org/packages/2b/8f/77a4b8ec50c821193bf9682c7896f12fd0418eb3711a7d66796ede59c23b/dj-static-0.0.6.tar.gz
18remote: Collecting Django==2.0.6 (from -r /tmp/build_24b0d6bbd61582c49aa432921079a451/requirements.txt (line 3))
19remote: Downloading https://files.pythonhosted.org/packages/56/0e/afdacb47503b805f3ed213fe732bff05254c8befaa034bbada580be8a0ac/Django-2.0.6-py3-none-any.whl (7.1MB)
20remote: Collecting python-decouple==3.1 (from -r /tmp/build_24b0d6bbd61582c49aa432921079a451/requirements.txt (line 4))
21remote: Downloading https://files.pythonhosted.org/packages/9b/99/ddfbb6362af4ee239a012716b1371aa6d316ff1b9db705bfb182fbc4780f/python-decouple-3.1.tar.gz
22remote: Collecting pytz==2018.4 (from -r /tmp/build_24b0d6bbd61582c49aa432921079a451/requirements.txt (line 5))
23remote: Downloading https://files.pythonhosted.org/packages/dc/83/15f7833b70d3e067ca91467ca245bae0f6fe56ddc7451aa0dc5606b120f2/pytz-2018.4-py2.py3-none-any.whl (510kB)
24remote: Collecting static3==0.7.0 (from -r /tmp/build_24b0d6bbd61582c49aa432921079a451/requirements.txt (line 6))
25remote: Downloading https://files.pythonhosted.org/packages/87/b0/9cf15108b73c4f2ffffe11d237c938f57785f55d3693d822d565432cb680/static3-0.7.0.tar.gz
26remote: Collecting gunicorn==19.8.1 (from -r /tmp/build_24b0d6bbd61582c49aa432921079a451/requirements.txt (line 7))
27remote: Downloading https://files.pythonhosted.org/packages/55/cb/09fe80bddf30be86abfc06ccb1154f97d6c64bb87111de066a5fc9ccb937/gunicorn-19.8.1-py2.py3-none-any.whl (112kB)
28remote: Collecting psycopg2==2.7.4 (from -r /tmp/build_24b0d6bbd61582c49aa432921079a451/requirements.txt (line 8))
29remote: Downloading https://files.pythonhosted.org/packages/92/15/92b5c363243376ce9cb879bbec561bba196694eb663a6937b4cb967e230e/psycopg2-2.7.4-cp36-cp36m-manylinux1_x86_64.whl (2.7MB)
30remote: Installing collected packages: dj-database-url, static3, dj-static, pytz, Django, python-decouple, gunicorn, psycopg2
31remote: Running setup.py install for static3: started
32remote: Running setup.py install for static3: finished with status 'done'
33remote: Running setup.py install for dj-static: started
34remote: Running setup.py install for dj-static: finished with status 'done'
35remote: Running setup.py install for python-decouple: started
36remote: Running setup.py install for python-decouple: finished with status 'done'
37remote: Successfully installed Django-2.0.6 dj-database-url-0.5.0 dj-static-0.0.6 gunicorn-19.8.1 psycopg2-2.7.4 python-decouple-3.1 pytz-2018.4 static3-0.7.0
38remote:
39remote: -----> $ python manage.py collectstatic --noinput
40remote: Traceback (most recent call last):
41remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 197, in fetch_command
42remote: app_name = commands[subcommand]
43remote: KeyError: 'collectstatic'
44remote: During handling of the above exception, another exception occurred:
45remote: Traceback (most recent call last):
46remote: File "manage.py", line 15, in <module>
47remote: execute_from_command_line(sys.argv)
48remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
49remote: utility.execute()
50remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 365, in execute
51remote: self.fetch_command(subcommand).run_from_argv(self.argv)
52remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 204, in fetch_command
53remote: settings.INSTALLED_APPS
54remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/__init__.py", line 56, in __getattr__
55remote: self._setup(name)
56remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/__init__.py", line 43, in _setup
57remote: self._wrapped = Settings(settings_module)
58remote: File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/__init__.py", line 125, in __init__
59remote: raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
60remote: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
61remote:
62remote: ! Error while running '$ python manage.py collectstatic --noinput'.
63remote: See traceback above for details.
64remote:
65remote: You may need to update application code to resolve this error.
66remote: Or, you can disable collectstatic for this application:
67remote:
68remote: $ heroku config:set DISABLE_COLLECTSTATIC=1
69remote:
70remote: https://devcenter.heroku.com/articles/django-assets
71remote: ! Push rejected, failed to compile Python app.
72remote:
73remote: ! Push failed
74remote: Verifying deploy...
75remote:
76remote: ! Push rejected to eventex-antoinepaul.
77remote:
78To https://git.heroku.com/eventex-antoinepaul.git
79 ! [remote rejected] master -> master (pre-receive hook declined)
80error: failed to push some refs to 'https://git.heroku.com/eventex-antoinepaul.git'