all-2023-03-10.log 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. [INFO] [2023-03-10 12:28:00,168] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  2. [INFO] [2023-03-10 12:31:33,296] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  3. [INFO] [2023-03-10 12:32:34,313] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/PrivacyRetrieval/settings.py changed, reloading.
  4. [INFO] [2023-03-10 12:32:34,515] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  5. [INFO] [2023-03-10 12:32:35,986] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  6. [INFO] [2023-03-10 12:32:43,319] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/PrivacyRetrieval/settings.py changed, reloading.
  7. [INFO] [2023-03-10 12:32:43,583] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  8. [INFO] [2023-03-10 12:33:41,435] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/apps.py changed, reloading.
  9. [INFO] [2023-03-10 12:33:41,649] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  10. [INFO] [2023-03-10 12:33:51,093] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/apps.py changed, reloading.
  11. [INFO] [2023-03-10 12:33:51,299] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  12. [INFO] [2023-03-10 12:37:12,102] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 200 243
  13. [INFO] [2023-03-10 12:37:25,937] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 200 243
  14. [INFO] [2023-03-10 12:47:50,809] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  15. [INFO] [2023-03-10 12:47:52,943] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 200 235
  16. [INFO] [2023-03-10 12:48:48,640] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectlistview.py changed, reloading.
  17. [INFO] [2023-03-10 12:48:48,901] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  18. [INFO] [2023-03-10 12:51:30,045] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectlistview.py changed, reloading.
  19. [INFO] [2023-03-10 12:51:30,328] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  20. [INFO] [2023-03-10 12:52:38,269] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectlistview.py changed, reloading.
  21. [INFO] [2023-03-10 12:52:38,510] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  22. [INFO] [2023-03-10 12:52:59,639] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 385
  23. [INFO] [2023-03-10 12:54:52,989] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectlistview.py changed, reloading.
  24. [INFO] [2023-03-10 12:54:53,176] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  25. [INFO] [2023-03-10 12:56:00,185] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectlistview.py changed, reloading.
  26. [INFO] [2023-03-10 12:56:00,454] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  27. [INFO] [2023-03-10 12:56:03,004] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 385
  28. [INFO] [2023-03-10 13:00:46,691] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  29. [INFO] [2023-03-10 13:00:46,987] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  30. [INFO] [2023-03-10 13:01:54,979] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  31. [INFO] [2023-03-10 13:01:55,272] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  32. [INFO] [2023-03-10 13:12:18,740] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  33. [INFO] [2023-03-10 13:12:19,058] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  34. [INFO] [2023-03-10 13:13:24,574] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  35. [INFO] [2023-03-10 13:13:24,826] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  36. [INFO] [2023-03-10 13:13:26,077] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  37. [INFO] [2023-03-10 13:13:26,338] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  38. [WARNING] [2023-03-10 13:13:34,238] [log.py:224] [log:log_response] - Not Found: /api/retrieval-project/1
  39. [WARNING] [2023-03-10 13:13:34,238] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 404 2654
  40. [WARNING] [2023-03-10 13:14:05,909] [log.py:224] [log:log_response] - Not Found: /api/retrieval-project/1/
  41. [WARNING] [2023-03-10 13:14:05,910] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1/ HTTP/1.1" 404 2657
  42. [INFO] [2023-03-10 13:14:57,125] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/PrivacyRetrieval/urls.py changed, reloading.
  43. [INFO] [2023-03-10 13:14:57,335] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  44. [INFO] [2023-03-10 13:15:02,628] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/urls.py changed, reloading.
  45. [INFO] [2023-03-10 13:15:02,849] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  46. [ERROR] [2023-03-10 13:15:05,693] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-project/1
  47. Traceback (most recent call last):
  48. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  49. response = get_response(request)
  50. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  51. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  52. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  53. return view_func(*args, **kwargs)
  54. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  55. return self.dispatch(request, *args, **kwargs)
  56. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  57. response = self.handle_exception(exc)
  58. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  59. self.raise_uncaught_exception(exc)
  60. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  61. raise exc
  62. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  63. response = handler(request, *args, **kwargs)
  64. TypeError: put() missing 1 required positional argument: 'project_id'
  65. [ERROR] [2023-03-10 13:15:05,694] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 500 88596
  66. [INFO] [2023-03-10 13:15:42,566] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 301 0
  67. [INFO] [2023-03-10 13:15:42,575] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project/ HTTP/1.1" 200 385
  68. [ERROR] [2023-03-10 13:15:53,736] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-project
  69. Traceback (most recent call last):
  70. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  71. response = get_response(request)
  72. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/utils/deprecation.py", line 116, in __call__
  73. response = self.process_request(request)
  74. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/middleware/common.py", line 54, in process_request
  75. path = self.get_full_path_with_slash(request)
  76. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/middleware/common.py", line 88, in get_full_path_with_slash
  77. raise RuntimeError(
  78. RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 127.0.0.1:8000/api/retrieval-project/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.
  79. [ERROR] [2023-03-10 13:15:53,736] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 500 72266
  80. [INFO] [2023-03-10 13:16:23,363] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/PrivacyRetrieval/urls.py changed, reloading.
  81. [INFO] [2023-03-10 13:16:23,628] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  82. [INFO] [2023-03-10 13:16:26,369] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 200 235
  83. [INFO] [2023-03-10 13:16:30,978] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 513
  84. [ERROR] [2023-03-10 13:16:34,043] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-project/1
  85. Traceback (most recent call last):
  86. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  87. response = get_response(request)
  88. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  89. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  90. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  91. return view_func(*args, **kwargs)
  92. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  93. return self.dispatch(request, *args, **kwargs)
  94. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  95. response = self.handle_exception(exc)
  96. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  97. self.raise_uncaught_exception(exc)
  98. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  99. raise exc
  100. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  101. response = handler(request, *args, **kwargs)
  102. TypeError: put() missing 1 required positional argument: 'project_id'
  103. [ERROR] [2023-03-10 13:16:34,044] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 500 88596
  104. [INFO] [2023-03-10 13:16:46,591] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/urls.py changed, reloading.
  105. [INFO] [2023-03-10 13:16:46,868] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  106. [ERROR] [2023-03-10 13:16:49,082] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-project/1
  107. Traceback (most recent call last):
  108. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  109. response = get_response(request)
  110. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  111. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  112. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  113. return view_func(*args, **kwargs)
  114. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  115. return self.dispatch(request, *args, **kwargs)
  116. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  117. response = self.handle_exception(exc)
  118. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  119. self.raise_uncaught_exception(exc)
  120. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  121. raise exc
  122. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  123. response = handler(request, *args, **kwargs)
  124. TypeError: put() missing 1 required positional argument: 'project_id'
  125. [ERROR] [2023-03-10 13:16:49,082] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 500 88524
  126. [INFO] [2023-03-10 13:17:13,804] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/urls.py changed, reloading.
  127. [INFO] [2023-03-10 13:17:14,078] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  128. [INFO] [2023-03-10 13:17:15,988] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 200 15
  129. [INFO] [2023-03-10 13:17:48,108] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/urls.py changed, reloading.
  130. [INFO] [2023-03-10 13:17:48,316] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  131. [INFO] [2023-03-10 13:17:52,250] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 511
  132. [INFO] [2023-03-10 13:18:14,040] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/retrieval-project/1 HTTP/1.1" 200 15
  133. [INFO] [2023-03-10 13:18:17,004] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 511
  134. [INFO] [2023-03-10 13:18:51,735] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  135. [INFO] [2023-03-10 13:18:51,974] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  136. [INFO] [2023-03-10 13:18:56,053] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/retrieval-project/1 HTTP/1.1" 200 15
  137. [INFO] [2023-03-10 13:18:58,694] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 385
  138. [INFO] [2023-03-10 13:21:11,783] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py changed, reloading.
  139. [INFO] [2023-03-10 13:21:12,054] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  140. [INFO] [2023-03-10 13:23:34,856] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectlistview.py changed, reloading.
  141. [INFO] [2023-03-10 13:23:35,086] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  142. [INFO] [2023-03-10 13:28:04,907] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py changed, reloading.
  143. [INFO] [2023-03-10 13:28:05,153] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  144. [INFO] [2023-03-10 13:30:52,675] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/models.py changed, reloading.
  145. [INFO] [2023-03-10 13:30:52,987] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  146. [INFO] [2023-03-10 13:31:52,987] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py changed, reloading.
  147. [INFO] [2023-03-10 13:31:53,391] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  148. [INFO] [2023-03-10 13:32:57,097] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/models.py changed, reloading.
  149. [INFO] [2023-03-10 13:32:57,344] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  150. [INFO] [2023-03-10 13:44:28,086] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  151. [INFO] [2023-03-10 13:45:26,399] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py changed, reloading.
  152. [INFO] [2023-03-10 13:45:26,710] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  153. [INFO] [2023-03-10 13:46:00,316] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-task HTTP/1.1" 200 165
  154. [INFO] [2023-03-10 13:46:12,277] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-task HTTP/1.1" 200 165
  155. [ERROR] [2023-03-10 13:46:34,853] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task
  156. Traceback (most recent call last):
  157. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  158. response = get_response(request)
  159. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  160. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  161. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  162. return view_func(*args, **kwargs)
  163. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  164. return self.dispatch(request, *args, **kwargs)
  165. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  166. response = self.handle_exception(exc)
  167. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  168. self.raise_uncaught_exception(exc)
  169. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  170. raise exc
  171. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  172. response = handler(request, *args, **kwargs)
  173. File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py", line 58, in get
  174. state = int(request.GET.get('state'))
  175. TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
  176. [ERROR] [2023-03-10 13:46:34,854] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 500 92363
  177. [INFO] [2023-03-10 13:48:42,817] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py changed, reloading.
  178. [INFO] [2023-03-10 13:48:43,065] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  179. [ERROR] [2023-03-10 13:48:45,069] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task
  180. Traceback (most recent call last):
  181. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  182. response = get_response(request)
  183. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  184. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  185. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  186. return view_func(*args, **kwargs)
  187. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  188. return self.dispatch(request, *args, **kwargs)
  189. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  190. response = self.handle_exception(exc)
  191. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  192. self.raise_uncaught_exception(exc)
  193. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  194. raise exc
  195. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  196. response = handler(request, *args, **kwargs)
  197. File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py", line 72, in get
  198. task_all = task_all.filter(type__contains=task_type)
  199. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 941, in filter
  200. return self._filter_or_exclude(False, args, kwargs)
  201. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 961, in _filter_or_exclude
  202. clone._filter_or_exclude_inplace(negate, args, kwargs)
  203. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 968, in _filter_or_exclude_inplace
  204. self._query.add_q(Q(*args, **kwargs))
  205. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1391, in add_q
  206. clause, _ = self._add_q(q_object, self.used_aliases)
  207. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1410, in _add_q
  208. child_clause, needed_inner = self.build_filter(
  209. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1345, in build_filter
  210. condition = self.build_lookup(lookups, col, value)
  211. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1196, in build_lookup
  212. raise ValueError("Cannot use None as a query value")
  213. ValueError: Cannot use None as a query value
  214. [ERROR] [2023-03-10 13:48:45,071] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 500 129038
  215. [INFO] [2023-03-10 13:50:13,831] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py changed, reloading.
  216. [INFO] [2023-03-10 13:50:14,149] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  217. [INFO] [2023-03-10 13:50:16,603] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 200 337
  218. [INFO] [2023-03-10 13:54:28,369] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  219. [INFO] [2023-03-10 13:54:28,735] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  220. [INFO] [2023-03-10 13:55:00,677] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  221. [INFO] [2023-03-10 13:55:00,938] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  222. [INFO] [2023-03-10 13:55:47,269] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  223. [INFO] [2023-03-10 13:55:47,459] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  224. [INFO] [2023-03-10 13:56:06,182] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  225. [INFO] [2023-03-10 13:56:06,358] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  226. [INFO] [2023-03-10 13:56:31,231] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  227. [INFO] [2023-03-10 13:56:31,465] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  228. [INFO] [2023-03-10 13:57:13,763] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  229. [INFO] [2023-03-10 13:57:14,097] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  230. [INFO] [2023-03-10 13:57:23,508] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  231. [INFO] [2023-03-10 13:57:23,722] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  232. [INFO] [2023-03-10 13:57:50,577] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  233. [INFO] [2023-03-10 13:57:50,911] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  234. [WARNING] [2023-03-10 13:58:19,576] [log.py:224] [log:log_response] - Not Found: /api/retrieval-project/2
  235. [WARNING] [2023-03-10 13:58:19,576] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project/2 HTTP/1.1" 404 2653
  236. [INFO] [2023-03-10 13:59:29,333] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/urls.py changed, reloading.
  237. [INFO] [2023-03-10 13:59:29,589] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  238. [INFO] [2023-03-10 13:59:31,997] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project/2 HTTP/1.1" 200 331
  239. [INFO] [2023-03-10 14:01:49,250] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/project/views/projectview.py changed, reloading.
  240. [INFO] [2023-03-10 14:01:49,569] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  241. [INFO] [2023-03-10 14:02:15,551] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/urls.py changed, reloading.
  242. [INFO] [2023-03-10 14:02:15,753] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  243. [INFO] [2023-03-10 14:02:48,825] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py changed, reloading.
  244. [INFO] [2023-03-10 14:02:49,033] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  245. [INFO] [2023-03-10 14:03:27,343] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py changed, reloading.
  246. [INFO] [2023-03-10 14:03:27,539] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  247. [INFO] [2023-03-10 14:09:37,193] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py changed, reloading.
  248. [INFO] [2023-03-10 14:09:37,444] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  249. [ERROR] [2023-03-10 14:11:09,257] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task/1
  250. Traceback (most recent call last):
  251. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  252. response = get_response(request)
  253. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  254. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  255. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  256. return view_func(*args, **kwargs)
  257. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  258. return self.dispatch(request, *args, **kwargs)
  259. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  260. response = self.handle_exception(exc)
  261. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  262. self.raise_uncaught_exception(exc)
  263. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  264. raise exc
  265. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  266. response = handler(request, *args, **kwargs)
  267. File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py", line 30, in put
  268. task = RetrievalTask.object.filter(id=task_id, delete=False)
  269. AttributeError: type object 'RetrievalTask' has no attribute 'object'
  270. [ERROR] [2023-03-10 14:11:09,257] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-task/1 HTTP/1.1" 500 93584
  271. [INFO] [2023-03-10 14:11:19,344] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py changed, reloading.
  272. [INFO] [2023-03-10 14:11:19,598] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  273. [ERROR] [2023-03-10 14:11:20,887] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task/1
  274. Traceback (most recent call last):
  275. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
  276. return self.cursor.execute(sql, params)
  277. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 423, in execute
  278. return Database.Cursor.execute(self, query, params)
  279. sqlite3.IntegrityError: NOT NULL constraint failed: task.description
  280. The above exception was the direct cause of the following exception:
  281. Traceback (most recent call last):
  282. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  283. response = get_response(request)
  284. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  285. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  286. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  287. return view_func(*args, **kwargs)
  288. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  289. return self.dispatch(request, *args, **kwargs)
  290. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  291. response = self.handle_exception(exc)
  292. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  293. self.raise_uncaught_exception(exc)
  294. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  295. raise exc
  296. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  297. response = handler(request, *args, **kwargs)
  298. File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py", line 50, in put
  299. task.save()
  300. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 726, in save
  301. self.save_base(using=using, force_insert=force_insert,
  302. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 763, in save_base
  303. updated = self._save_table(
  304. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 845, in _save_table
  305. updated = self._do_update(base_qs, using, pk_val, values, update_fields,
  306. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 899, in _do_update
  307. return filtered._update(values) > 0
  308. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 802, in _update
  309. return query.get_compiler(self.db).execute_sql(CURSOR)
  310. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1559, in execute_sql
  311. cursor = super().execute_sql(result_type)
  312. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql
  313. cursor.execute(sql, params)
  314. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 98, in execute
  315. return super().execute(sql, params)
  316. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 66, in execute
  317. return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  318. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
  319. return executor(sql, params, many, context)
  320. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
  321. return self.cursor.execute(sql, params)
  322. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
  323. raise dj_exc_value.with_traceback(traceback) from exc_value
  324. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
  325. return self.cursor.execute(sql, params)
  326. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 423, in execute
  327. return Database.Cursor.execute(self, query, params)
  328. django.db.utils.IntegrityError: NOT NULL constraint failed: task.description
  329. [ERROR] [2023-03-10 14:11:20,889] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-task/1 HTTP/1.1" 500 174933
  330. [INFO] [2023-03-10 14:12:01,003] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py changed, reloading.
  331. [INFO] [2023-03-10 14:12:01,198] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  332. [INFO] [2023-03-10 14:12:02,806] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-task/1 HTTP/1.1" 200 15
  333. [INFO] [2023-03-10 14:12:09,298] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 200 338
  334. [ERROR] [2023-03-10 14:12:36,200] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task/1
  335. Traceback (most recent call last):
  336. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  337. response = get_response(request)
  338. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  339. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  340. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  341. return view_func(*args, **kwargs)
  342. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  343. return self.dispatch(request, *args, **kwargs)
  344. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  345. response = self.handle_exception(exc)
  346. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  347. self.raise_uncaught_exception(exc)
  348. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  349. raise exc
  350. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  351. response = handler(request, *args, **kwargs)
  352. File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py", line 56, in delete
  353. task = RetrievalTask.object.filter(id=task_id, delete=False)
  354. AttributeError: type object 'RetrievalTask' has no attribute 'object'
  355. [ERROR] [2023-03-10 14:12:36,201] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/retrieval-task/1 HTTP/1.1" 500 92448
  356. [INFO] [2023-03-10 14:12:44,946] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py changed, reloading.
  357. [INFO] [2023-03-10 14:12:45,259] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  358. [INFO] [2023-03-10 14:12:47,260] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/retrieval-task/1 HTTP/1.1" 200 15
  359. [INFO] [2023-03-10 14:12:54,133] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 200 169