[INFO] [2023-03-10 12:28:00,168] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 12:31:33,296] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 12:32:34,313] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/PrivacyRetrieval/settings.py changed, reloading. [INFO] [2023-03-10 12:32:34,515] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 12:32:35,986] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 12:32:43,319] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/PrivacyRetrieval/settings.py changed, reloading. [INFO] [2023-03-10 12:32:43,583] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 12:33:41,649] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 12:33:51,299] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 12:37:12,102] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 200 243 [INFO] [2023-03-10 12:37:25,937] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 200 243 [INFO] [2023-03-10 12:47:50,809] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 12:47:52,943] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 200 235 [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. [INFO] [2023-03-10 12:48:48,901] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 12:51:30,328] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 12:52:38,510] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 12:52:59,639] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 385 [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. [INFO] [2023-03-10 12:54:53,176] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 12:56:00,454] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 12:56:03,004] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 385 [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. [INFO] [2023-03-10 13:00:46,987] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:01:55,272] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:12:19,058] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:13:24,826] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:13:26,338] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [WARNING] [2023-03-10 13:13:34,238] [log.py:224] [log:log_response] - Not Found: /api/retrieval-project/1 [WARNING] [2023-03-10 13:13:34,238] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 404 2654 [WARNING] [2023-03-10 13:14:05,909] [log.py:224] [log:log_response] - Not Found: /api/retrieval-project/1/ [WARNING] [2023-03-10 13:14:05,910] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1/ HTTP/1.1" 404 2657 [INFO] [2023-03-10 13:14:57,125] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/PrivacyRetrieval/urls.py changed, reloading. [INFO] [2023-03-10 13:14:57,335] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:15:02,849] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-03-10 13:15:05,693] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-project/1 Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) TypeError: put() missing 1 required positional argument: 'project_id' [ERROR] [2023-03-10 13:15:05,694] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 500 88596 [INFO] [2023-03-10 13:15:42,566] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 301 0 [INFO] [2023-03-10 13:15:42,575] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project/ HTTP/1.1" 200 385 [ERROR] [2023-03-10 13:15:53,736] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-project Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/utils/deprecation.py", line 116, in __call__ response = self.process_request(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/middleware/common.py", line 54, in process_request path = self.get_full_path_with_slash(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/middleware/common.py", line 88, in get_full_path_with_slash raise RuntimeError( 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. [ERROR] [2023-03-10 13:15:53,736] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 500 72266 [INFO] [2023-03-10 13:16:23,363] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/PrivacyRetrieval/PrivacyRetrieval/urls.py changed, reloading. [INFO] [2023-03-10 13:16:23,628] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 13:16:26,369] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-project HTTP/1.1" 200 235 [INFO] [2023-03-10 13:16:30,978] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 513 [ERROR] [2023-03-10 13:16:34,043] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-project/1 Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) TypeError: put() missing 1 required positional argument: 'project_id' [ERROR] [2023-03-10 13:16:34,044] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 500 88596 [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. [INFO] [2023-03-10 13:16:46,868] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-03-10 13:16:49,082] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-project/1 Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) TypeError: put() missing 1 required positional argument: 'project_id' [ERROR] [2023-03-10 13:16:49,082] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 500 88524 [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. [INFO] [2023-03-10 13:17:14,078] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 13:17:15,988] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-project/1 HTTP/1.1" 200 15 [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. [INFO] [2023-03-10 13:17:48,316] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 13:17:52,250] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 511 [INFO] [2023-03-10 13:18:14,040] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/retrieval-project/1 HTTP/1.1" 200 15 [INFO] [2023-03-10 13:18:17,004] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 511 [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. [INFO] [2023-03-10 13:18:51,974] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 13:18:56,053] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/retrieval-project/1 HTTP/1.1" 200 15 [INFO] [2023-03-10 13:18:58,694] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project HTTP/1.1" 200 385 [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. [INFO] [2023-03-10 13:21:12,054] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:23:35,086] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:28:05,153] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:30:52,987] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:31:53,391] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:32:57,344] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 13:44:28,086] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:45:26,710] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 13:46:00,316] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-task HTTP/1.1" 200 165 [INFO] [2023-03-10 13:46:12,277] [basehttp.py:161] [basehttp:log_message] - "POST /api/retrieval-task HTTP/1.1" 200 165 [ERROR] [2023-03-10 13:46:34,853] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py", line 58, in get state = int(request.GET.get('state')) TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' [ERROR] [2023-03-10 13:46:34,854] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 500 92363 [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. [INFO] [2023-03-10 13:48:43,065] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-03-10 13:48:45,069] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/tasklistview.py", line 72, in get task_all = task_all.filter(type__contains=task_type) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 941, in filter return self._filter_or_exclude(False, args, kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 961, in _filter_or_exclude clone._filter_or_exclude_inplace(negate, args, kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 968, in _filter_or_exclude_inplace self._query.add_q(Q(*args, **kwargs)) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1391, in add_q clause, _ = self._add_q(q_object, self.used_aliases) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1410, in _add_q child_clause, needed_inner = self.build_filter( File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1345, in build_filter condition = self.build_lookup(lookups, col, value) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/query.py", line 1196, in build_lookup raise ValueError("Cannot use None as a query value") ValueError: Cannot use None as a query value [ERROR] [2023-03-10 13:48:45,071] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 500 129038 [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. [INFO] [2023-03-10 13:50:14,149] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 13:50:16,603] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 200 337 [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. [INFO] [2023-03-10 13:54:28,735] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:55:00,938] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:55:47,459] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:56:06,358] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:56:31,465] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:57:14,097] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:57:23,722] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 13:57:50,911] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [WARNING] [2023-03-10 13:58:19,576] [log.py:224] [log:log_response] - Not Found: /api/retrieval-project/2 [WARNING] [2023-03-10 13:58:19,576] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project/2 HTTP/1.1" 404 2653 [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. [INFO] [2023-03-10 13:59:29,589] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 13:59:31,997] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-project/2 HTTP/1.1" 200 331 [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. [INFO] [2023-03-10 14:01:49,569] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 14:02:15,753] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 14:02:49,033] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 14:03:27,539] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [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. [INFO] [2023-03-10 14:09:37,444] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-03-10 14:11:09,257] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task/1 Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py", line 30, in put task = RetrievalTask.object.filter(id=task_id, delete=False) AttributeError: type object 'RetrievalTask' has no attribute 'object' [ERROR] [2023-03-10 14:11:09,257] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-task/1 HTTP/1.1" 500 93584 [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. [INFO] [2023-03-10 14:11:19,598] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-03-10 14:11:20,887] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task/1 Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 423, in execute return Database.Cursor.execute(self, query, params) sqlite3.IntegrityError: NOT NULL constraint failed: task.description The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py", line 50, in put task.save() File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 726, in save self.save_base(using=using, force_insert=force_insert, File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 763, in save_base updated = self._save_table( File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 845, in _save_table updated = self._do_update(base_qs, using, pk_val, values, update_fields, File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 899, in _do_update return filtered._update(values) > 0 File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 802, in _update return query.get_compiler(self.db).execute_sql(CURSOR) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1559, in execute_sql cursor = super().execute_sql(result_type) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1175, in execute_sql cursor.execute(sql, params) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 98, in execute return super().execute(sql, params) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 66, in execute return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers return executor(sql, params, many, context) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 423, in execute return Database.Cursor.execute(self, query, params) django.db.utils.IntegrityError: NOT NULL constraint failed: task.description [ERROR] [2023-03-10 14:11:20,889] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-task/1 HTTP/1.1" 500 174933 [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. [INFO] [2023-03-10 14:12:01,198] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 14:12:02,806] [basehttp.py:161] [basehttp:log_message] - "PUT /api/retrieval-task/1 HTTP/1.1" 200 15 [INFO] [2023-03-10 14:12:09,298] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 200 338 [ERROR] [2023-03-10 14:12:36,200] [log.py:224] [log:log_response] - Internal Server Error: /api/retrieval-task/1 Traceback (most recent call last): File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch response = self.handle_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception self.raise_uncaught_exception(exc) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception raise exc File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch response = handler(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/PrivacyRetrieval/apps/task/views/taskview.py", line 56, in delete task = RetrievalTask.object.filter(id=task_id, delete=False) AttributeError: type object 'RetrievalTask' has no attribute 'object' [ERROR] [2023-03-10 14:12:36,201] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/retrieval-task/1 HTTP/1.1" 500 92448 [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. [INFO] [2023-03-10 14:12:45,259] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-03-10 14:12:47,260] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/retrieval-task/1 HTTP/1.1" 200 15 [INFO] [2023-03-10 14:12:54,133] [basehttp.py:161] [basehttp:log_message] - "GET /api/retrieval-task HTTP/1.1" 200 169