[INFO] [2023-02-01 11:19:48,022] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 15:28:51,111] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292 [INFO] [2023-02-01 15:37:54,149] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 200 281 [INFO] [2023-02-01 15:38:27,032] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 200 281 [INFO] [2023-02-01 15:39:10,488] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/plan/views/planlistview.py changed, reloading. [INFO] [2023-02-01 15:39:11,259] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 15:39:16,450] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 200 303 [INFO] [2023-02-01 15:39:24,123] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 200 291 [INFO] [2023-02-01 16:36:42,326] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/plan/views/planview.py changed, reloading. [INFO] [2023-02-01 16:36:43,016] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 16:50:42,111] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/urls.py changed, reloading. [INFO] [2023-02-01 16:50:42,559] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 16:57:34,062] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/urls.py changed, reloading. [INFO] [2023-02-01 16:57:34,475] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 16:59:27,926] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_1/plans HTTP/1.1" 200 1814 [INFO] [2023-02-01 17:04:49,460] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:04:50,446] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:07:28,163] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/urls.py changed, reloading. [INFO] [2023-02-01 17:07:29,057] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:08:38,780] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:08:39,460] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:11:30,660] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 17:11:44,749] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:11:45,966] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:12:46,571] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:12:47,225] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:13:03,133] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:13:03,546] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:13:12,141] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:13:12,529] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-02-01 17:13:16,765] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/versions/plan 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/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py", line 60, in post body = json.loads(request.body) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/request.py", line 416, in __getattr__ return getattr(self._request, attr) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/http/request.py", line 328, in body raise RawPostDataException("You cannot access body after reading from request's data stream") django.http.request.RawPostDataException: You cannot access body after reading from request's data stream [ERROR] [2023-02-01 17:13:16,769] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 500 109512 [INFO] [2023-02-01 17:13:49,992] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:13:50,447] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-02-01 17:13:54,224] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/versions/plan 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/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py", line 60, in post body = request.body File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/request.py", line 416, in __getattr__ return getattr(self._request, attr) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/http/request.py", line 328, in body raise RawPostDataException("You cannot access body after reading from request's data stream") django.http.request.RawPostDataException: You cannot access body after reading from request's data stream [ERROR] [2023-02-01 17:13:54,226] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 500 109629 [INFO] [2023-02-01 17:14:32,316] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:14:32,889] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-02-01 17:14:36,429] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/versions/plan 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/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py", line 60, in post body = request.body File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/request.py", line 416, in __getattr__ return getattr(self._request, attr) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/http/request.py", line 328, in body raise RawPostDataException("You cannot access body after reading from request's data stream") django.http.request.RawPostDataException: You cannot access body after reading from request's data stream [ERROR] [2023-02-01 17:14:36,432] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 500 109617 [INFO] [2023-02-01 17:15:24,962] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:15:26,048] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:15:34,817] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 17:21:00,359] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:21:00,998] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-02-01 17:21:04,220] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/versions/plan 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/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py", line 60, in post plan_id = params['plan_id'] KeyError: 'plan_id' [ERROR] [2023-02-01 17:21:04,221] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 500 101237 [INFO] [2023-02-01 17:21:16,053] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:21:16,541] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:21:18,932] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 17:21:34,487] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:21:34,873] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:21:37,111] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 17:24:58,603] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:24:59,045] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:27:05,993] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:27:06,518] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:27:08,709] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 17:27:19,778] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:27:20,232] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:27:22,129] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 17:27:56,736] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:27:57,141] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:27:59,343] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 17:28:05,847] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 17:28:06,174] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 17:28:08,229] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 20:17:57,503] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:17:58,214] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:18:26,578] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511 [INFO] [2023-02-01 20:18:38,234] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 512 [INFO] [2023-02-01 20:18:43,441] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 20:19:44,757] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:19:45,310] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:21:00,622] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:21:01,217] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:21:05,944] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 20:23:13,540] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:23:14,161] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:30:29,393] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:30:30,048] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:32:49,591] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:32:50,312] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:34:39,704] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:34:40,175] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:34:47,791] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 20:35:12,840] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:35:13,284] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:35:17,131] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 20:37:15,871] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:37:16,704] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:38:51,260] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:38:52,039] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:40:03,825] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:40:04,668] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:41:06,817] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:41:07,703] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-02-01 20:41:11,705] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/versions/plan 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/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py", line 80, in post new_plan = TestPlan.objects.create(**plan_info) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 451, in create obj = self.model(**kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 485, in __init__ _setattr(self, field.name, rel_obj) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/fields/related_descriptors.py", line 215, in __set__ raise ValueError( ValueError: Cannot assign "'TestLaboratory_V1_Software_1'": "TestPlan.software" must be a "Software" instance. [ERROR] [2023-02-01 20:41:11,712] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 500 124261 [INFO] [2023-02-01 20:43:59,490] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:43:59,869] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-02-01 20:44:37,058] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/versions/plan 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/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py", line 86, in post new_plan = TestPlan.objects.create(**plan_info) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 451, in create obj = self.model(**kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 485, in __init__ _setattr(self, field.name, rel_obj) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/fields/related_descriptors.py", line 215, in __set__ raise ValueError( ValueError: Cannot assign "]>": "TestPlan.software" must be a "Software" instance. [ERROR] [2023-02-01 20:44:37,061] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 500 124613 [INFO] [2023-02-01 20:44:56,132] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:44:56,698] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-02-01 20:44:58,591] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/versions/plan 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/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py", line 87, in post new_plan = TestPlan.objects.create(**plan_info) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 451, in create obj = self.model(**kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 485, in __init__ _setattr(self, field.name, rel_obj) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/fields/related_descriptors.py", line 215, in __set__ raise ValueError( ValueError: Cannot assign "'TestLaboratory_V1_User_1'": "TestPlan.creator" must be a "User" instance. [ERROR] [2023-02-01 20:44:58,602] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 500 124300 [INFO] [2023-02-01 20:46:31,838] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:46:32,569] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2023-02-01 20:46:33,867] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/versions/plan 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/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py", line 101, in post new_task = TestTask.objects.create(**task_info) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 451, in create obj = self.model(**kwargs) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/base.py", line 485, in __init__ _setattr(self, field.name, rel_obj) File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/fields/related_descriptors.py", line 215, in __set__ raise ValueError( ValueError: Cannot assign "'TestLaboratory_V1_User_3'": "TestTask.executor" must be a "User" instance. [ERROR] [2023-02-01 20:46:33,875] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 500 126007 [INFO] [2023-02-01 20:46:52,130] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:46:52,593] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:46:53,889] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 2 [INFO] [2023-02-01 20:47:52,115] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:47:52,593] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:48:10,846] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:48:11,313] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:49:46,756] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:49:47,173] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:52:17,887] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/software/views/softwareplanview.py changed, reloading. [INFO] [2023-02-01 20:52:18,663] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2023-02-01 20:52:22,982] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/TestLaboratory_V1_Software_1/versions/plan HTTP/1.1" 200 12 [INFO] [2023-02-01 20:53:02,220] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_1/plans HTTP/1.1" 200 3660