Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.71 KB | None | 0 0
  1. I 2019-06-27T13:02:03.004812612Z File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute
  2.  
  3. I 2019-06-27T13:02:03.004817724Z return self.cursor.execute(sql, params)
  4.  
  5. I 2019-06-27T13:02:03.004821395Z psycopg2.IntegrityError: null value in column "last_place" violates not-null constraint
  6.  
  7. 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).
  8.  
  9. I 2019-06-27T13:02:03.004828900Z
  10.  
  11. I 2019-06-27T13:02:03.004832076Z
  12.  
  13. I 2019-06-27T13:02:03.004835265Z The above exception was the direct cause of the following exception:
  14.  
  15. I 2019-06-27T13:02:03.004838523Z
  16.  
  17. I 2019-06-27T13:02:03.004841598Z Traceback (most recent call last):
  18. File "/code/src/stats/management/commands/scrape_ranking.py", line 74, in scrape_ranking
  19. self.save_data(categories)
  20. File "/code/src/stats/management/commands/scrape_ranking.py", line 133, in save_data
  21. self.update_ranking(player, PlayerCategory[type])
  22. File "/code/src/stats/management/commands/scrape_ranking.py", line 184, in update_ranking
  23. ranking_player.save()
  24. File "/code/src/stats/models.py", line 68, in save
  25. super().save(*args, **kwargs)
  26. File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 718, in save
  27. force_update=force_update, update_fields=update_fields)
  28. File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 748, in save_base
  29. updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  30. File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 812, in _save_table
  31. forced_update)
  32. File "/usr/local/lib/python3.7/site-packages/django/db/models/base.py", line 861, in _do_update
  33. return filtered._update(values) > 0
  34. File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 712, in _update
  35. return query.get_compiler(self.db).execute_sql(CURSOR)
  36. File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1383, in execute_sql
  37. cursor = super().execute_sql(result_type)
  38. File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1065, in execute_sql
  39. cursor.execute(sql, params)
  40. File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 100, in execute
  41. return super().execute(sql, params)
  42. File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 68, in execute
  43. return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  44. File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
  45. return executor(sql, params, many, context)
  46. File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute
  47. return self.cursor.execute(sql, params)
  48. File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
  49. raise dj_exc_value.with_traceback(traceback) from exc_value
  50. File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute
  51. return self.cursor.execute(sql, params)
  52. django.db.utils.IntegrityError: null value in column "last_place" violates not-null constraint
  53.  
  54. 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).
  55.  
  56. I 2019-06-27T13:02:03.005016680Z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement