Last active
July 27, 2019 18:03
-
-
Save peacock0803sz/b00dc3844028795e3ea09b9cc530aefe to your computer and use it in GitHub Desktop.
django-logs
This file contains hidden or 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
| Installing initially failed dependencies… | |
| [pipenv.exceptions.InstallError]: File "/home/peacock/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/pipenv/core.py", line 2611, in do_sync | |
| [pipenv.exceptions.InstallError]: system=system, | |
| [pipenv.exceptions.InstallError]: File "/home/peacock/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/pipenv/core.py", line 1253, in do_init | |
| [pipenv.exceptions.InstallError]: pypi_mirror=pypi_mirror, | |
| [pipenv.exceptions.InstallError]: File "/home/peacock/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/pipenv/core.py", line 859, in do_install_dependencies | |
| [pipenv.exceptions.InstallError]: retry_list, procs, failed_deps_queue, requirements_dir, **install_kwargs | |
| [pipenv.exceptions.InstallError]: File "/home/peacock/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/pipenv/core.py", line 763, in batch_install | |
| [pipenv.exceptions.InstallError]: _cleanup_procs(procs, not blocking, failed_deps_queue, retry=retry) | |
| [pipenv.exceptions.InstallError]: File "/home/peacock/.anyenv/envs/pyenv/versions/3.7.4/lib/python3.7/site-packages/pipenv/core.py", line 681, in _cleanup_procs | |
| [pipenv.exceptions.InstallError]: raise exceptions.InstallError(c.dep.name, extra=err_lines) | |
| [pipenv.exceptions.InstallError]: ['Collecting psycopg2==2.8.3 (from -r /tmp/pipenv-1_mkw6bq-requirements/pipenv-g_ohr3qr-requirement.txt (line 1))', ' Using cached https://files.pythonhosted.org/packages/5c/1c/6997288da181277a0c29bc39a5f9143ff20b8c99f2a7d059cfb55163e165/psycopg2-2.8.3.tar.gz'] | |
| [pipenv.exceptions.InstallError]: ['ERROR: Command errored out with exit status 1:', ' command: /home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/bin/python -c \'import sys, setuptools, tokenize; sys.argv[0] = \'"\'"\'/tmp/pip-install-umg5lma0/psycopg2/setup.py\'"\'"\'; __file__=\'"\'"\'/tmp/pip-install-umg5lma0/psycopg2/setup.py\'"\'"\';f=getattr(tokenize, \'"\'"\'open\'"\'"\', open)(__file__);code=f.read().replace(\'"\'"\'\\r\\n\'"\'"\', \'"\'"\'\\n\'"\'"\');f.close();exec(compile(code, __file__, \'"\'"\'exec\'"\'"\'))\' egg_info --egg-base pip-egg-info', ' cwd: /tmp/pip-install-umg5lma0/psycopg2/', ' Complete output (23 lines):', ' running egg_info', ' creating pip-egg-info/psycopg2.egg-info', ' writing pip-egg-info/psycopg2.egg-info/PKG-INFO', ' writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt', ' writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt', " writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'", ' ', ' Error: pg_config executable not found.', ' ', ' pg_config is required to build psycopg2 from source. Please add the directory', ' containing pg_config to the $PATH or specify the full executable path with the', ' option:', ' ', ' python setup.py build_ext --pg-config /path/to/pg_config build ...', ' ', " or with the pg_config option in 'setup.cfg'.", ' ', ' If you prefer to avoid building psycopg2 from source, please install the PyPI', " 'psycopg2-binary' package instead.", ' ', " For further information please check the 'doc/src/install.rst' file (also at", ' <http://initd.org/psycopg/docs/install.html>).', ' ', ' ----------------------------------------', 'ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.'] | |
| ERROR: ERROR: Package installation failed... |
This file contains hidden or 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
| 019-07-27T09:02:08.137372+00:00 heroku[web.1]: State changed from crashed to starting | |
| 2019-07-27T09:02:07.894905+00:00 app[api]: Release v9 created by user [email protected] | |
| 2019-07-27T09:02:07.894905+00:00 app[api]: Deploy de30941c by user [email protected] | |
| 2019-07-27T09:02:14.380503+00:00 heroku[web.1]: Starting process with command `gunicorn mysite.wsgi --log-file -` | |
| 2019-07-27T09:02:17.098401+00:00 heroku[web.1]: State changed from starting to crashed | |
| 2019-07-27T09:02:16.793804+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [4] [INFO] Starting gunicorn 19.9.0 | |
| 2019-07-27T09:02:16.795115+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [4] [INFO] Listening at: http://0.0.0.0:47922 (4) | |
| 2019-07-27T09:02:16.795359+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [4] [INFO] Using worker: sync | |
| 2019-07-27T09:02:16.802447+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [10] [INFO] Booting worker with pid: 10 | |
| 2019-07-27T09:02:16.812456+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [10] [ERROR] Exception in worker process | |
| 2019-07-27T09:02:16.812460+00:00 app[web.1]: Traceback (most recent call last): | |
| 2019-07-27T09:02:16.812462+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker | |
| 2019-07-27T09:02:16.812465+00:00 app[web.1]: worker.init_process() | |
| 2019-07-27T09:02:16.812467+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/base.py", line 129, in init_process | |
| 2019-07-27T09:02:16.812469+00:00 app[web.1]: self.load_wsgi() | |
| 2019-07-27T09:02:16.812471+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi | |
| 2019-07-27T09:02:16.812473+00:00 app[web.1]: self.wsgi = self.app.wsgi() | |
| 2019-07-27T09:02:16.812475+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi | |
| 2019-07-27T09:02:16.812477+00:00 app[web.1]: self.callable = self.load() | |
| 2019-07-27T09:02:16.812480+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load | |
| 2019-07-27T09:02:16.812482+00:00 app[web.1]: return self.load_wsgiapp() | |
| 2019-07-27T09:02:16.812484+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp | |
| 2019-07-27T09:02:16.812485+00:00 app[web.1]: return util.import_app(self.app_uri) | |
| 2019-07-27T09:02:16.812487+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/util.py", line 350, in import_app | |
| 2019-07-27T09:02:16.812489+00:00 app[web.1]: __import__(module) | |
| 2019-07-27T09:02:16.812492+00:00 app[web.1]: ModuleNotFoundError: No module named 'mysite.wsgi' | |
| 2019-07-27T09:02:16.812661+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [10] [INFO] Worker exiting (pid: 10) | |
| 2019-07-27T09:02:16.846276+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [11] [INFO] Booting worker with pid: 11 | |
| 2019-07-27T09:02:16.859785+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [11] [ERROR] Exception in worker process | |
| 2019-07-27T09:02:16.859789+00:00 app[web.1]: Traceback (most recent call last): | |
| 2019-07-27T09:02:16.859792+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker | |
| 2019-07-27T09:02:16.859794+00:00 app[web.1]: worker.init_process() | |
| 2019-07-27T09:02:16.859796+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/base.py", line 129, in init_process | |
| 2019-07-27T09:02:16.859798+00:00 app[web.1]: self.load_wsgi() | |
| 2019-07-27T09:02:16.859800+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi | |
| 2019-07-27T09:02:16.859802+00:00 app[web.1]: self.wsgi = self.app.wsgi() | |
| 2019-07-27T09:02:16.859805+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi | |
| 2019-07-27T09:02:16.859806+00:00 app[web.1]: self.callable = self.load() | |
| 2019-07-27T09:02:16.859809+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 52, in load | |
| 2019-07-27T09:02:16.859811+00:00 app[web.1]: return self.load_wsgiapp() | |
| 2019-07-27T09:02:16.859813+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp | |
| 2019-07-27T09:02:16.859815+00:00 app[web.1]: return util.import_app(self.app_uri) | |
| 2019-07-27T09:02:16.859817+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.7/site-packages/gunicorn/util.py", line 350, in import_app | |
| 2019-07-27T09:02:16.859819+00:00 app[web.1]: __import__(module) | |
| 2019-07-27T09:02:16.859821+00:00 app[web.1]: ModuleNotFoundError: No module named 'mysite.wsgi' | |
| 2019-07-27T09:02:16.863001+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [11] [INFO] Worker exiting (pid: 11) | |
| 2019-07-27T09:02:16.975273+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [4] [INFO] Shutting down: Master | |
| 2019-07-27T09:02:16.975438+00:00 app[web.1]: [2019-07-27 09:02:16 +0000] [4] [INFO] Reason: Worker failed to boot. | |
| 2019-07-27T09:02:17.075548+00:00 heroku[web.1]: Process exited with status 3 | |
| 2019-07-27T09:02:19.000000+00:00 app[api]: Build succeeded | |
| 2019-07-27T09:02:30.874554+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=peacock-django-study.herokuapp.com request_id=2a2ee514-2e09-474c-83fc-528453fd456b fwd="203.152.213.161" dyno= connect= service= status=503 bytes= protocol=https | |
| 2019-07-27T09:02:32.523085+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=peacock-django-study.herokuapp.com request_id=0ca33487-1116-4678-a9b4-9d7b43b8ded2 fwd="203.152.213.161" dyno= connect= service= status=503 bytes= protocol=https |
This file contains hidden or 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
| Traceback (most recent call last): | |
| File "manage.py", line 21, in <module> | |
| main() | |
| File "manage.py", line 17, in main | |
| execute_from_command_line(sys.argv) | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
| utility.execute() | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute | |
| self.fetch_command(subcommand).run_from_argv(self.argv) | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv | |
| self.execute(*args, **cmd_options) | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute | |
| output = self.handle(*args, **options) | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped | |
| res = handle_func(*args, **kwargs) | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 87, in handle | |
| executor = MigrationExecutor(connection, self.migration_progress_callback) | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__ | |
| self.loader = MigrationLoader(self.connection) | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__ | |
| self.build_graph() | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph | |
| self.applied_migrations = recorder.applied_migrations() | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 73, in applied_migrations | |
| if self.has_table(): | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table | |
| return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()) | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/db/backends/base/base.py", line 256, in cursor | |
| return self._cursor() | |
| File "/home/peacock/.local/share/virtualenvs/django-study-AQSv2gCz/lib/python3.7/site-packages/django/db/backends/dummy/base.py", line 20, in complain | |
| raise ImproperlyConfigured("settings.DATABASES is improperly configured. " | |
| django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
heroku(production)