[INFO] [2022-06-26 11:16:49,280] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [WARNING] [2022-06-26 11:20:26,894] [log.py:224] [log:log_response] - Not Found: /api/v1/api/v1/test-tasks/ [WARNING] [2022-06-26 11:20:26,894] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/api/v1/test-tasks/ HTTP/1.1" 404 2876 [INFO] [2022-06-26 11:21:37,168] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans HTTP/1.1" 301 0 [WARNING] [2022-06-26 11:21:37,172] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-plans/ [WARNING] [2022-06-26 11:21:37,173] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/ HTTP/1.1" 403 37 [INFO] [2022-06-26 11:22:03,305] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans HTTP/1.1" 301 0 [INFO] [2022-06-26 11:22:03,324] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/ HTTP/1.1" 200 2 [ERROR] [2022-06-26 11:22:31,094] [planlistview.py:40] [planlistview:post] - 软件已删除或不存在 [WARNING] [2022-06-26 11:22:31,095] [log.py:224] [log:log_response] - Not Found: /api/v1/test-plans/ [WARNING] [2022-06-26 11:22:31,095] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 404 27 [ERROR] [2022-06-26 11:22:43,221] [planlistview.py:47] [planlistview:post] - 软件版本不存在或已删除,请重新选择 [WARNING] [2022-06-26 11:22:43,222] [log.py:224] [log:log_response] - Not Found: /api/v1/test-plans/ [WARNING] [2022-06-26 11:22:43,222] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 404 51 [INFO] [2022-06-26 11:23:31,979] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software HTTP/1.1" 301 0 [INFO] [2022-06-26 11:23:31,995] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/ HTTP/1.1" 200 148 [WARNING] [2022-06-26 11:24:07,198] [log.py:224] [log:log_response] - Forbidden: /api/v1/software/ [WARNING] [2022-06-26 11:24:07,198] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 403 37 [ERROR] [2022-06-26 11:24:24,101] [softwarelistview.py:31] [softwarelistview:post] - 软件上传失败 [WARNING] [2022-06-26 11:24:24,112] [log.py:224] [log:log_response] - Not Found: /api/v1/software/ [WARNING] [2022-06-26 11:24:24,113] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 404 18 [INFO] [2022-06-26 11:24:31,781] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 200 185 [WARNING] [2022-06-26 11:25:46,503] [log.py:224] [log:log_response] - Forbidden: /api/v1/software/TestLaboratory_V1_Software_2 [WARNING] [2022-06-26 11:25:46,503] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_2 HTTP/1.1" 403 43 [INFO] [2022-06-26 11:26:06,592] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_2 HTTP/1.1" 200 508 [INFO] [2022-06-26 11:27:12,820] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 200 305 [INFO] [2022-06-26 11:27:35,652] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans HTTP/1.1" 301 0 [INFO] [2022-06-26 11:27:35,670] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/ HTTP/1.1" 200 372 [INFO] [2022-06-26 11:28:07,328] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/TestLaboratory_V1_Plan_1 HTTP/1.1" 200 397 [WARNING] [2022-06-26 11:28:42,026] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/ [WARNING] [2022-06-26 11:28:42,045] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 403 37 [WARNING] [2022-06-26 11:28:58,588] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/ [WARNING] [2022-06-26 11:28:58,604] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 403 37 [INFO] [2022-06-26 11:29:02,536] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/TestLaboratory_V1_Plan_1 HTTP/1.1" 200 397 [INFO] [2022-06-26 11:29:31,862] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 345 [INFO] [2022-06-26 11:30:00,777] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 332 [INFO] [2022-06-26 11:30:33,062] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 954 [WARNING] [2022-06-26 11:41:06,617] [log.py:224] [log:log_response] - Not Found: /api/v1/api/v1/test-tasks/TestLaboratory_V1_Task_1/case-file/execute [WARNING] [2022-06-26 11:41:06,618] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/api/v1/test-tasks/TestLaboratory_V1_Task_1/case-file/execute HTTP/1.1" 404 3002 [INFO] [2022-06-26 11:41:18,616] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_1/case-file/execute HTTP/1.1" 200 512 [INFO] [2022-06-26 11:41:46,286] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_2/case-file/execute HTTP/1.1" 200 512 [WARNING] [2022-06-26 11:45:09,650] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/test-tasks/TestLaboratory_V1_Task_1 [WARNING] [2022-06-26 11:45:09,668] [basehttp.py:161] [basehttp:log_message] - "PUT /api/v1/test-tasks/TestLaboratory_V1_Task_1 HTTP/1.1" 405 40 [WARNING] [2022-06-26 11:45:18,057] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/test-tasks/TestLaboratory_V1_Task_1 [WARNING] [2022-06-26 11:45:18,058] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_1 HTTP/1.1" 405 41 [INFO] [2022-06-26 11:45:58,576] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_1/edit HTTP/1.1" 200 15 [ERROR] [2022-06-26 11:46:22,332] [caseview.py:110] [caseview:post] - ['测试任务已审核通过,第4行实际结果不能为空', '第4行执行人不能为空', '测试任务已审核通过,第5行实际结果不能为空', '第5行执行人不能为空', '测试任务已审核通过,第6行实际结果不能为空', '第6行执行人不能为空', '测试任务已审核通过,第7行实际结果不能为空', '第7行执行人不能为空', '测试任务已审核通过,第8行实际结果不能为空', '第8行执行人不能为空', '测试任务已审核通过,第9行实际结果不能为空', '第9行执行人不能为空'] [INFO] [2022-06-26 11:46:22,333] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_1/case-file/execute HTTP/1.1" 200 609 [INFO] [2022-06-26 11:46:30,501] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_1/case-file/execute HTTP/1.1" 200 512 [INFO] [2022-06-26 11:46:38,523] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_2/edit HTTP/1.1" 200 15 [INFO] [2022-06-26 11:46:46,240] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_2/case-file/execute HTTP/1.1" 200 512 [INFO] [2022-06-26 16:26:34,512] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/models.py changed, reloading. [INFO] [2022-06-26 16:26:34,801] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 16:27:08,745] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/models.py changed, reloading. [INFO] [2022-06-26 16:27:09,039] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 16:30:09,656] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/models.py changed, reloading. [INFO] [2022-06-26 16:30:09,953] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 16:45:43,218] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 16:46:04,101] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 84, in post task.executor.add(executor[0]) AttributeError: 'User' object has no attribute 'add' [ERROR] [2022-06-26 16:46:04,103] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 500 101512 [INFO] [2022-06-26 16:46:45,824] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 16:46:46,099] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 16:46:49,749] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 749 [INFO] [2022-06-26 16:47:20,069] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 749 [INFO] [2022-06-26 16:48:42,393] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 16:48:42,691] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 16:49:10,390] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 1127 [INFO] [2022-06-26 16:49:52,889] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans HTTP/1.1" 301 0 [INFO] [2022-06-26 16:49:52,910] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/ HTTP/1.1" 200 372 [ERROR] [2022-06-26 16:50:09,895] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get 'executor': [{'id': executor.id, 'name': executor.username} for executor in task.executor.all()], AttributeError: 'User' object has no attribute 'all' [ERROR] [2022-06-26 16:50:09,898] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98707 [INFO] [2022-06-26 16:50:30,406] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 16:50:30,728] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 16:50:36,014] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get 'executor': [{'id': executor.id, 'name': executor.username} for executor in task.executor.all()], AttributeError: 'User' object has no attribute 'all' [ERROR] [2022-06-26 16:50:36,017] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98707 [INFO] [2022-06-26 16:51:53,862] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 16:51:54,159] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 16:51:56,866] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get 'executor': {'id': task.executor.id, 'name': task.executor.username}, AttributeError: 'NoneType' object has no attribute 'id' [ERROR] [2022-06-26 16:51:56,869] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 103856 [INFO] [2022-06-26 16:52:17,118] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 16:52:17,398] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 16:52:18,998] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get 'executor': {'id': task.user.id, 'name': task.user.username}, AttributeError: 'TestTask' object has no attribute 'user' [ERROR] [2022-06-26 16:52:19,001] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665 [ERROR] [2022-06-26 16:54:09,024] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get 'executor': {'id': task.user.id, 'name': task.user.username}, AttributeError: 'TestTask' object has no attribute 'user' [ERROR] [2022-06-26 16:54:09,027] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665 [ERROR] [2022-06-26 16:54:19,013] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get 'executor': {'id': task.user.id, 'name': task.user.username}, AttributeError: 'TestTask' object has no attribute 'user' [ERROR] [2022-06-26 16:54:19,015] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665 [ERROR] [2022-06-26 16:54:20,074] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get 'executor': {'id': task.user.id, 'name': task.user.username}, AttributeError: 'TestTask' object has no attribute 'user' [ERROR] [2022-06-26 16:54:20,079] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665 [INFO] [2022-06-26 16:54:41,011] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 16:54:43,250] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get 'executor': {'id': task.user.id, 'name': task.user.username}, AttributeError: 'TestTask' object has no attribute 'user' [ERROR] [2022-06-26 16:54:43,251] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665 [INFO] [2022-06-26 16:56:22,780] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 16:56:22,987] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 16:56:25,123] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 3236 [INFO] [2022-06-26 16:56:55,324] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 16:56:55,533] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 16:56:57,217] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 3578 [INFO] [2022-06-26 17:00:59,337] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 17:00:59,645] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 17:01:04,001] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 17:01:04,213] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 17:01:06,200] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/ 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 137, in get 'executor': {'id': task.user.id, 'name': task.user.username}, AttributeError: 'TestTask' object has no attribute 'user' [ERROR] [2022-06-26 17:01:06,205] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98708 [INFO] [2022-06-26 17:02:02,392] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 17:02:02,691] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 17:02:32,874] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py changed, reloading. [INFO] [2022-06-26 17:02:33,090] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 17:02:34,843] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 3788 [WARNING] [2022-06-26 17:50:45,249] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/TestLaboratory_V1_Task_9 [WARNING] [2022-06-26 17:50:45,249] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/test-tasks/TestLaboratory_V1_Task_9 HTTP/1.1" 403 43 [INFO] [2022-06-26 17:51:17,504] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/test-tasks/TestLaboratory_V1_Task_9 HTTP/1.1" 200 12 [ERROR] [2022-06-26 17:52:51,935] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/TestLaboratory_V1_Task_8 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py", line 120, in get task.executor.all()], AttributeError: 'User' object has no attribute 'all' [ERROR] [2022-06-26 17:52:51,937] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/TestLaboratory_V1_Task_8 HTTP/1.1" 500 101090 [INFO] [2022-06-26 17:53:20,046] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py changed, reloading. [INFO] [2022-06-26 17:53:20,359] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 17:53:21,256] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/TestLaboratory_V1_Task_8 HTTP/1.1" 200 1191 [INFO] [2022-06-26 17:54:05,724] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py changed, reloading. [INFO] [2022-06-26 17:54:06,053] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 17:54:06,786] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/TestLaboratory_V1_Task_8 HTTP/1.1" 200 1190 [INFO] [2022-06-26 17:57:42,992] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py changed, reloading. [INFO] [2022-06-26 17:57:43,289] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 17:58:03,744] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/TestLaboratory_V1_Task_2/edit 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py", line 191, in post statement = FileManager.objects.get(id=statement_id) 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 435, in get raise self.model.DoesNotExist( apps.file.models.FileManager.DoesNotExist: FileManager matching query does not exist. [ERROR] [2022-06-26 17:58:03,746] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_2/edit HTTP/1.1" 500 109091 [ERROR] [2022-06-26 17:58:44,013] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/TestLaboratory_V1_Task_2/edit 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py", line 191, in post statement = FileManager.objects.get(id=statement_id) 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 435, in get raise self.model.DoesNotExist( apps.file.models.FileManager.DoesNotExist: FileManager matching query does not exist. [ERROR] [2022-06-26 17:58:44,015] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_2/edit HTTP/1.1" 500 110927 [INFO] [2022-06-26 17:59:42,684] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py changed, reloading. [INFO] [2022-06-26 17:59:42,959] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 17:59:45,221] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/TestLaboratory_V1_Task_2/edit 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py", line 192, in post statement = FileManager.objects.get(id=statement_id) 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 435, in get raise self.model.DoesNotExist( apps.file.models.FileManager.DoesNotExist: FileManager matching query does not exist. [ERROR] [2022-06-26 17:59:45,224] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_2/edit HTTP/1.1" 500 110997 [INFO] [2022-06-26 18:00:31,160] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_8/edit HTTP/1.1" 200 15 [INFO] [2022-06-26 18:01:19,499] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py changed, reloading. [INFO] [2022-06-26 18:01:19,791] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-06-26 18:01:25,300] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_2/edit HTTP/1.1" 200 15 [INFO] [2022-06-26 18:04:15,661] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 3350 [ERROR] [2022-06-26 18:07:46,889] [caseview.py:110] [caseview:post] - ['软件名称错误'] [INFO] [2022-06-26 18:07:46,889] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_5/case-file/execute HTTP/1.1" 200 49 [INFO] [2022-06-26 18:08:46,948] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_5/case-file/execute HTTP/1.1" 200 512 [INFO] [2022-06-26 18:08:53,097] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_6/case-file/execute HTTP/1.1" 200 512 [INFO] [2022-06-26 18:09:11,588] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_5/edit HTTP/1.1" 200 15 [ERROR] [2022-06-26 18:09:22,017] [caseview.py:110] [caseview:post] - ['测试任务未审核通过,第4行实际结果需为空', '当前测试任务状态为未执行,第4行状态只能填写"未执行"', '测试任务未审核通过,第5行实际结果需为空', '当前测试任务状态为未执行,第5行状态只能填写"未执行"', '测试任务未审核通过,第6行实际结果需为空', '当前测试任务状态为未执行,第6行状态只能填写"未执行"', '测试任务未审核通过,第7行实际结果需为空', '当前测试任务状态为未执行,第7行状态只能填写"未执行"', '测试任务未审核通过,第8行实际结果需为空', '当前测试任务状态为未执行,第8行状态只能填写"未执行"', '测试任务未审核通过,第9行实际结果需为空', '当前测试任务状态为未执行,第9行状态只能填写"未执行"'] [INFO] [2022-06-26 18:09:22,018] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_6/case-file/execute HTTP/1.1" 200 885 [INFO] [2022-06-26 18:09:31,681] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_5/case-file/execute HTTP/1.1" 200 512 [INFO] [2022-06-26 18:09:53,746] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_6/edit HTTP/1.1" 200 15 [INFO] [2022-06-26 18:10:01,578] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/TestLaboratory_V1_Task_6/case-file/execute HTTP/1.1" 200 512 [INFO] [2022-06-26 19:31:39,062] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/?executor_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 2518 [INFO] [2022-06-26 19:32:03,339] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/?executor_id=TestLaboratory_V1_User_2 HTTP/1.1" 200 833 [INFO] [2022-06-26 20:14:32,660] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/caseview.py changed, reloading. [INFO] [2022-06-26 20:14:32,990] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 20:18:14,340] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/report 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/software/views/report.py", line 61, in get version_number = software.version_set.order_by('-create_time')[0].number File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 318, in __getitem__ return qs._result_cache[0] IndexError: list index out of range [ERROR] [2022-06-26 20:18:14,344] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_1/report HTTP/1.1" 500 96535 [ERROR] [2022-06-26 20:19:23,099] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/report 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/software/views/report.py", line 61, in get version_number = software.version_set.order_by('-create_time')[0].number File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 318, in __getitem__ return qs._result_cache[0] IndexError: list index out of range [ERROR] [2022-06-26 20:19:23,105] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_1/report HTTP/1.1" 500 96535 [INFO] [2022-06-26 20:19:30,644] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_2/report HTTP/1.1" 200 32457 [ERROR] [2022-06-26 20:19:47,454] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/software/TestLaboratory_V1_Software_1/report 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/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/software/views/report.py", line 61, in get version_number = software.version_set.order_by('-create_time')[0].number File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 318, in __getitem__ return qs._result_cache[0] IndexError: list index out of range [ERROR] [2022-06-26 20:19:47,456] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_1/report HTTP/1.1" 500 96535 [INFO] [2022-06-26 20:24:00,164] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/software/views/report.py changed, reloading. [INFO] [2022-06-26 20:24:00,492] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-06-26 20:24:48,020] [report.py:26] [report:get] - 测试人员id不能为空 [WARNING] [2022-06-26 20:24:48,022] [log.py:224] [log:log_response] - Not Found: /api/v1/software/TestLaboratory_V1_Software_2/report [WARNING] [2022-06-26 20:24:48,022] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_2/report HTTP/1.1" 404 26 [INFO] [2022-06-26 20:24:51,427] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/TestLaboratory_V1_Software_2/report?executor_id=TestLaboratory_V1_User_2 HTTP/1.1" 200 28594