Created
April 24, 2020 18:32
-
-
Save pjhoberman/8a8ebd9838a9901e1c9929c219549f50 to your computer and use it in GitHub Desktop.
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
2020-04-24T18:29:59.8282181Z ##[group]Run python manage.py migrate | |
2020-04-24T18:29:59.8282493Z [36;1mpython manage.py migrate[0m | |
2020-04-24T18:29:59.8329923Z shell: /bin/bash -e {0} | |
2020-04-24T18:29:59.8330142Z env: | |
2020-04-24T18:29:59.8330822Z SECRET_KEY: *** | |
2020-04-24T18:29:59.8331062Z DB_NAME: *** | |
2020-04-24T18:29:59.8331283Z DB_USER: *** | |
2020-04-24T18:29:59.8331490Z DB_PASSWORD: *** | |
2020-04-24T18:29:59.8331710Z DB_HOST: *** | |
2020-04-24T18:29:59.8331978Z SENDGRID_API_KEY: *** | |
2020-04-24T18:29:59.8332223Z CAPTCHA_SITE_KEY: *** | |
2020-04-24T18:29:59.8332457Z CAPTCHA_SECRET_KEY: *** | |
2020-04-24T18:29:59.8332728Z MEMCACHEDCLOUD_SERVERS: *** | |
2020-04-24T18:29:59.8332963Z MEMCACHEDCLOUD_USERNAME: *** | |
2020-04-24T18:29:59.8333206Z MEMCACHEDCLOUD_PASSWORD: *** | |
2020-04-24T18:29:59.8333440Z pythonLocation: /opt/hostedtoolcache/Python/3.7.6/x64 | |
2020-04-24T18:29:59.8333671Z ##[endgroup] | |
2020-04-24T18:30:00.3556280Z Traceback (most recent call last): | |
2020-04-24T18:30:00.3558644Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute | |
2020-04-24T18:30:00.3559076Z return self.cursor.execute(sql, params) | |
2020-04-24T18:30:00.3559377Z psycopg2.errors.UndefinedTable: relation "listings_category" does not exist | |
2020-04-24T18:30:00.3559674Z LINE 1: ...ory"."slug", "listings_category"."parent_id" FROM "listings_... | |
2020-04-24T18:30:00.3560001Z ^ | |
2020-04-24T18:30:00.3560159Z | |
2020-04-24T18:30:00.3560270Z | |
2020-04-24T18:30:00.3560532Z The above exception was the direct cause of the following exception: | |
2020-04-24T18:30:00.3560701Z | |
2020-04-24T18:30:00.3560920Z Traceback (most recent call last): | |
2020-04-24T18:30:00.3561290Z File "manage.py", line 15, in <module> | |
2020-04-24T18:30:00.3561567Z execute_from_command_line(sys.argv) | |
2020-04-24T18:30:00.3562388Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line | |
2020-04-24T18:30:00.3562723Z utility.execute() | |
2020-04-24T18:30:00.3563374Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/core/management/__init__.py", line 357, in execute | |
2020-04-24T18:30:00.3563664Z django.setup() | |
2020-04-24T18:30:00.3564269Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/__init__.py", line 24, in setup | |
2020-04-24T18:30:00.3564582Z apps.populate(settings.INSTALLED_APPS) | |
2020-04-24T18:30:00.3565200Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/apps/registry.py", line 122, in populate | |
2020-04-24T18:30:00.3565484Z app_config.ready() | |
2020-04-24T18:30:00.3566095Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/contrib/admin/apps.py", line 24, in ready | |
2020-04-24T18:30:00.3566411Z self.module.autodiscover() | |
2020-04-24T18:30:00.3567031Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/contrib/admin/__init__.py", line 26, in autodiscover | |
2020-04-24T18:30:00.3567537Z autodiscover_modules('admin', register_to=site) | |
2020-04-24T18:30:00.3568194Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/utils/module_loading.py", line 47, in autodiscover_modules | |
2020-04-24T18:30:00.3568717Z import_module('%s.%s' % (app_config.name, module_to_search)) | |
2020-04-24T18:30:00.3569100Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/importlib/__init__.py", line 127, in import_module | |
2020-04-24T18:30:00.3569426Z return _bootstrap._gcd_import(name[level:], package, level) | |
2020-04-24T18:30:00.3569746Z File "<frozen importlib._bootstrap>", line 1006, in _gcd_import | |
2020-04-24T18:30:00.3570338Z File "<frozen importlib._bootstrap>", line 983, in _find_and_load | |
2020-04-24T18:30:00.3570698Z File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked | |
2020-04-24T18:30:00.3571152Z File "<frozen importlib._bootstrap>", line 677, in _load_unlocked | |
2020-04-24T18:30:00.3571521Z File "<frozen importlib._bootstrap_external>", line 728, in exec_module | |
2020-04-24T18:30:00.3571887Z File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed | |
2020-04-24T18:30:00.3573052Z File "/home/runner/work/***/***/users/admin.py", line 7, in <module> | |
2020-04-24T18:30:00.3573348Z from .views import reset_user_email | |
2020-04-24T18:30:00.3573726Z File "/home/runner/work/***/***/users/views.py", line 16, in <module> | |
2020-04-24T18:30:00.3574014Z from listings.forms import ManageUploadForm | |
2020-04-24T18:30:00.3574367Z File "/home/runner/work/***/***/listings/forms.py", line 16, in <module> | |
2020-04-24T18:30:00.3574639Z class ProductForm(forms.ModelForm): | |
2020-04-24T18:30:00.3575006Z File "/home/runner/work/***/***/listings/forms.py", line 21, in ProductForm | |
2020-04-24T18:30:00.3575292Z choices = get_category_tree() | |
2020-04-24T18:30:00.3575651Z File "/home/runner/work/***/***/listings/utils.py", line 15, in get_category_tree | |
2020-04-24T18:30:00.3575958Z build_category_tree(top_level_categories, category_tree, flat, counter) | |
2020-04-24T18:30:00.3576436Z File "/home/runner/work/***/***/listings/utils.py", line 26, in build_category_tree | |
2020-04-24T18:30:00.3576729Z for category in categories: | |
2020-04-24T18:30:00.3577481Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/models/query.py", line 274, in __iter__ | |
2020-04-24T18:30:00.3577772Z self._fetch_all() | |
2020-04-24T18:30:00.3578615Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/models/query.py", line 1242, in _fetch_all | |
2020-04-24T18:30:00.3578956Z self._result_cache = list(self._iterable_class(self)) | |
2020-04-24T18:30:00.3579596Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/models/query.py", line 55, in __iter__ | |
2020-04-24T18:30:00.3579951Z results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size) | |
2020-04-24T18:30:00.3580648Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1133, in execute_sql | |
2020-04-24T18:30:00.3580962Z cursor.execute(sql, params) | |
2020-04-24T18:30:00.3581575Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/backends/utils.py", line 99, in execute | |
2020-04-24T18:30:00.3581893Z return super().execute(sql, params) | |
2020-04-24T18:30:00.3582507Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/backends/utils.py", line 67, in execute | |
2020-04-24T18:30:00.3582829Z return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) | |
2020-04-24T18:30:00.3583511Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers | |
2020-04-24T18:30:00.3583847Z return executor(sql, params, many, context) | |
2020-04-24T18:30:00.3585411Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute | |
2020-04-24T18:30:00.3585751Z return self.cursor.execute(sql, params) | |
2020-04-24T18:30:00.3586381Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__ | |
2020-04-24T18:30:00.3586748Z raise dj_exc_value.with_traceback(traceback) from exc_value | |
2020-04-24T18:30:00.3587394Z File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute | |
2020-04-24T18:30:00.3587705Z return self.cursor.execute(sql, params) | |
2020-04-24T18:30:00.3588014Z django.db.utils.ProgrammingError: relation "listings_category" does not exist | |
2020-04-24T18:30:00.3588508Z LINE 1: ...ory"."slug", "listings_category"."parent_id" FROM "listings_... | |
2020-04-24T18:30:00.3588837Z ^ | |
2020-04-24T18:30:00.3588979Z | |
2020-04-24T18:30:00.4154435Z ##[error]Process completed with exit code 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment