Traceback (most recent call last):
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
psycopg2.errors.UndefinedTable: relation "corpus_place" does not exist
LINE 1: ...s_place"."country") "corpus_place"."country" FROM "corpus_pl...
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/thiago/temp/macc/manage.py", line 35, in <module>
main()
File "/home/thiago/temp/macc/manage.py", line 31, in main
execute_from_command_line(sys.argv)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
utility.execute()
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
output = self.handle(*args, **options)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/management/base.py", line 96, in wrapped
res = handle_func(*args, **kwargs)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/management/commands/migrate.py", line 97, in handle
self.check(databases=[database])
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/management/base.py", line 475, in check
all_issues = checks.run_checks(
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/checks/registry.py", line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 14, in check_url_config
return check_resolver(resolver)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 24, in check_resolver
return check_method()
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 494, in check
for pattern in self.url_patterns:
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/utils/functional.py", line 57, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 715, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/utils/functional.py", line 57, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 708, in urlconf_module
return import_module(self.urlconf_name)
File "/home/thiago/.pyenv/versions/3.10.9/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/thiago/temp/macc/macc/urls.py", line 27, in <module>
path('catalogue/', include('catalogue.urls', namespace='catalogue')),
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/urls/conf.py", line 38, in include
urlconf_module = import_module(urlconf_module)
File "/home/thiago/.pyenv/versions/3.10.9/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/thiago/temp/macc/catalogue/urls.py", line 3, in <module>
from .views import show, timeline, search_english, search_portuguese
File "/home/thiago/temp/macc/catalogue/views.py", line 6, in <module>
from catalogue.forms import SearchEnglishForm, SearchPortugueseForm
File "/home/thiago/temp/macc/catalogue/forms.py", line 7, in <module>
class SearchEnglishForm(forms.Form):
File "/home/thiago/temp/macc/catalogue/forms.py", line 42, in SearchEnglishForm
choices=list(map(
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/models/query.py", line 394, in __iter__
self._fetch_all()
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1867, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/models/query.py", line 242, in __iter__
return compiler.results_iter(
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1349, in results_iter
results = self.execute_sql(
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
cursor.execute(sql, params)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 67, in execute
return self._execute_with_wrappers(
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute
with self.db.wrap_database_errors:
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/thiago/temp/macc/venv/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: relation "corpus_place" does not exist
LINE 1: ...s_place"."country") "corpus_place"."country" FROM "corpus_pl...
^