Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heroku error #11

Open
nk932714 opened this issue Oct 5, 2018 · 0 comments
Open

heroku error #11

nk932714 opened this issue Oct 5, 2018 · 0 comments

Comments

@nk932714
Copy link

nk932714 commented Oct 5, 2018

please check the heroku logs,


-----> Installing python-3.6.6

-----> Installing pip

-----> Installing SQLite3

-----> Installing requirements with pip

       Collecting amqp==1.4.9 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 1))

         Downloading https://files.pythonhosted.org/packages/ed/09/314d2788aba0aa91f2578071a6484f87a615172a98c309c2aad3433da90b/amqp-1.4.9-py2.py3-none-any.whl (51kB)

       Collecting anyjson==0.3.3 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 2))

         Downloading https://files.pythonhosted.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz

       Collecting billiard==3.3.0.23 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 3))

         Downloading https://files.pythonhosted.org/packages/64/a6/d7b6fb7bd0a4680a41f1d4b27061c7b768c673070ba8ac116f865de4e7ca/billiard-3.3.0.23.tar.gz (151kB)

       Collecting celery==3.1.23 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 4))

         Downloading https://files.pythonhosted.org/packages/de/df/59f5df67082ef46b86bc754b82f8cf187b835eea8a56ea8907813e75ad6d/celery-3.1.23-py2.py3-none-any.whl (520kB)

       Collecting Django==1.9.2 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 5))

         Downloading https://files.pythonhosted.org/packages/26/49/c51f94a3940b3dee47f5a4a423fe50df7b9120bccda424f092269c083898/Django-1.9.2-py2.py3-none-any.whl (6.6MB)

       Collecting django-celery==3.1.17 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 6))

         Downloading https://files.pythonhosted.org/packages/56/cc/6b9731091887dcb1c76ef48521e580bb2b0f469e6f4934072aac75a478f3/django-celery-3.1.17.tar.gz (79kB)

       Collecting kombu==3.0.35 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 7))

         Downloading https://files.pythonhosted.org/packages/34/e6/a81b9cbcb107fc45af2d77b9f4b9745448be42b9952cc4c974f69a9239e7/kombu-3.0.35-py2.py3-none-any.whl (240kB)

       Collecting pytz==2016.6.1 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 8))

         Downloading https://files.pythonhosted.org/packages/ba/c7/3d54cad4fb6cf7bf375d39771e67680ec779a541c68459210fcfdc3ba952/pytz-2016.6.1-py2.py3-none-any.whl (481kB)

       Collecting requests==2.11.0 (from -r /tmp/build_15be41c7cc8b487700c45537806cb028/requirements.txt (line 9))

         Downloading https://files.pythonhosted.org/packages/f8/90/42d5e0d9b5c4c3629a3d99823bbc3748fb85616f0f7a45e79ba7908d4642/requests-2.11.0-py2.py3-none-any.whl (514kB)

       Installing collected packages: amqp, anyjson, billiard, kombu, pytz, celery, Django, django-celery, requests

         Running setup.py install for anyjson: started

           Running setup.py install for anyjson: finished with status 'done'

         Running setup.py install for billiard: started

           Running setup.py install for billiard: finished with status 'done'

         Running setup.py install for django-celery: started

           Running setup.py install for django-celery: finished with status 'done'

       Successfully installed Django-1.9.2 amqp-1.4.9 anyjson-0.3.3 billiard-3.3.0.23 celery-3.1.23 django-celery-3.1.17 kombu-3.0.35 pytz-2016.6.1 requests-2.11.0

-----> $ python manage.py collectstatic --noinput

       Traceback (most recent call last):

         File "manage.py", line 10, in <module>

           execute_from_command_line(sys.argv)

         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line

           utility.execute()

         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 345, in execute

           self.fetch_command(subcommand).run_from_argv(self.argv)

         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 195, in fetch_command

           klass = load_command_class(app_name, subcommand)

         File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 40, in load_command_class

           return module.Command()

         File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 32, in __init__

           self.storage.path('')

         File "/app/.heroku/python/lib/python3.6/site-packages/django/contrib/staticfiles/storage.py", line 48, in path

           raise ImproperlyConfigured("You're using the staticfiles app "

       django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.

 !     Error while running '$ python manage.py collectstatic --noinput'.

       See traceback above for details.

       You may need to update application code to resolve this error.

       Or, you can disable collectstatic for this application:

          $ heroku config:set DISABLE_COLLECTSTATIC=1

       https://devcenter.heroku.com/articles/django-assets

 !     Push rejected, failed to compile Python app.

 !     Push failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant