Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I 2019-06-27T13:02:03.004812612Z File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute
- I 2019-06-27T13:02:03.004817724Z return self.cursor.execute(sql, params)
- I 2019-06-27T13:02:03.004821395Z psycopg2.IntegrityError: null value in column "last_place" violates not-null constraint
- I 2019-06-27T13:02:03.004825179Z DETAIL: Failing row contains (9442, 2019-05-13 06:34:15.828019+00, 2019-06-27 13:02:02.998877+00, Kimberly Miller, 2936, 440.2, 0, 55, null, MEN, 23, 414, 0.12, {0,16,105,181,63,22,27}, null, 226, 14476, https://smith.com/, null, null, null, 1).
- I 2019-06-27T13:02:03.004828900Z
- I 2019-06-27T13:02:03.004832076Z
- I 2019-06-27T13:02:03.004835265Z The above exception was the direct cause of the following exception:
- I 2019-06-27T13:02:03.004838523Z
- I 2019-06-27T13:02:03.004841598Z Traceback (most recent call last):
- File "/code/src/stats/management/commands/scrape_ranking.py", line 74, in scrape_ranking
- self.save_data(categories)
- File "/code/src/stats/management/commands/scrape_ranking.py", line 133, in save_data
- self.update_ranking(player, PlayerCategory[type])
- File "/code/src/stats/management/commands/scrape_ranking.py", line 184, in update_ranking
- ranking_player.save()
- File "/code/src/stats/models.py", line 68, in save
- super().save(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 718, in save
- force_update=force_update, update_fields=update_fields)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 748, in save_base
- updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 812, in _save_table
- forced_update)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 861, in _do_update
- return filtered._update(values) > 0
- File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 712, in _update
- return query.get_compiler(self.db).execute_sql(CURSOR)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1383, in execute_sql
- cursor = super().execute_sql(result_type)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1065, in execute_sql
- cursor.execute(sql, params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 100, in execute
- return super().execute(sql, params)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 68, in execute
- return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
- return executor(sql, params, many, context)
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
- raise dj_exc_value.with_traceback(traceback) from exc_value
- File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute
- return self.cursor.execute(sql, params)
- django.db.utils.IntegrityError: null value in column "last_place" violates not-null constraint
- I 2019-06-27T13:02:03.005005339Z DETAIL: Failing row contains (9442, 2019-05-13 06:34:15.828019+00, 2019-06-27 13:02:02.998877+00, Kimberly Miller, 2936, 440.2, 0, 55, null, MEN, 23, 414, 0.12, {0,16,105,181,63,22,27}, null, 226, 14476, https://smith.com/, null, null, null, 1).
- I 2019-06-27T13:02:03.005016680Z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement