Traceback (most recent call last):
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.9/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/contrib/admin/sites.py", line 232, in inner
return view(request, *args, **kwargs)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/import_export/admin.py", line 272, in import_action
result = resource.import_data(dataset, dry_run=True,
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/import_export/resources.py", line 771, in import_data
return self.import_data_inner(
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/import_export/resources.py", line 808, in import_data_inner
row_result = self.import_row(
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/import_export/utils.py", line 25, in __exit__
self.context_manager.__exit__(*args)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/transaction.py", line 230, in __exit__
connection.savepoint_commit(sid)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner
return func(*args, **kwargs)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/backends/base/base.py", line 368, in savepoint_commit
self._savepoint_commit(sid)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/backends/base/base.py", line 313, in _savepoint_commit
with self.cursor() as cursor:
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner
return func(*args, **kwargs)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/backends/base/base.py", line 259, in cursor
return self._cursor()
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/backends/base/base.py", line 237, in _cursor
return self._prepare_cursor(self.create_cursor(name))
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/backends/base/base.py", line 237, in _cursor
return self._prepare_cursor(self.create_cursor(name))
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner
return func(*args, **kwargs)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 236, in create_cursor
cursor = self.connection.cursor()
InterfaceError: connection already closedTraceback (most recent call last):
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/backends/base/base.py", line 237, in _cursor
return self._prepare_cursor(self.create_cursor(name))
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner
return func(*args, **kwargs)
File "/home/Venturafranklin/.virtualenvs/thetatauCMT/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 236, in create_cursor
cursor = self.connection.cursor()
InterfaceError: connection already closed
View details in Rollbar: https://app.rollbar.com/a/frank.ventura/fix/item/CMT/567