Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- update from last rec exception: (OperationalError(''),
- Traceback (most recent call last):
- File "python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- psycopg2.OperationalError
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "trade_provider/utils.py", line 107, in trade_update_from_last_rec
- if model.objects.exists():
- File "python3.10/site-packages/django/db/models/manager.py", line 87, in manager_method
- return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "python3.10/site-packages/django/db/models/query.py", line 1241, in exists
- return self.query.has_results(using=self.db)
- File "python3.10/site-packages/django/db/models/sql/query.py", line 598, in has_results
- return compiler.has_results()
- File "python3.10/site-packages/django/db/models/sql/compiler.py", line 1530, in has_results
- return bool(self.execute_sql(SINGLE))
- File "python3.10/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
- cursor.execute(sql, params)
- File "python3.10/site-packages/django/db/backends/utils.py", line 102, in execute
- return super().execute(sql, params)
- File "python3.10/site-packages/django/db/backends/utils.py", line 67, in execute
- return self._execute_with_wrappers(
- File "python3.10/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "python3.10/site-packages/django/db/backends/utils.py", line 84, in _execute
- with self.db.wrap_database_errors:
- File "python3.10/site-packages/django/db/utils.py", line 91, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.OperationalError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement