[INFO] [2022-11-17 00:09:33,571] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-11-17 00:09:36,199] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/beidou/edit [ERROR] [2022-11-17 00:09:36,199] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/test-tasks/beidou/edit HTTP/1.1" 500 21 [INFO] [2022-11-17 00:09:51,445] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292 [INFO] [2022-11-17 00:10:09,146] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/test-tasks/beidou/edit HTTP/1.1" 200 12 [ERROR] [2022-11-17 00:21:14,355] [beidoutask.py:62] [beidoutask:post] - 测试任务不存在 [WARNING] [2022-11-17 00:21:14,356] [log.py:224] [log:log_response] - Not Found: /api/v1/test-tasks/beidou/edit [WARNING] [2022-11-17 00:21:14,357] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 404 21 [INFO] [2022-11-17 00:22:10,050] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading. [INFO] [2022-11-17 00:22:10,348] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 00:28:10,076] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511 [INFO] [2022-11-17 00:28:54,134] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511 [ERROR] [2022-11-17 00:29:21,604] [beidoutask.py:77] [beidoutask:post] - 文件上传失败 [ERROR] [2022-11-17 00:29:21,605] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/beidou/edit [ERROR] [2022-11-17 00:29:21,605] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 500 18 [INFO] [2022-11-17 00:30:05,760] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading. [INFO] [2022-11-17 00:30:06,107] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-11-17 00:30:07,780] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/beidou/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/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__ return self.func(request, *args, **kwargs) File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py", line 74, in post TASK_ROOT + "/" + task_id + "/" + str(create_time)) TypeError: can only concatenate str (not "NoneType") to str [ERROR] [2022-11-17 00:30:07,783] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 500 104299 [INFO] [2022-11-17 00:30:44,728] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading. [INFO] [2022-11-17 00:30:44,996] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [ERROR] [2022-11-17 00:30:46,955] [beidoutask.py:90] [beidoutask:post] - 文件路径写入数据库失败 [ERROR] [2022-11-17 00:30:46,955] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/beidou/edit [ERROR] [2022-11-17 00:30:46,955] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 500 33 [INFO] [2022-11-17 00:31:07,188] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading. [INFO] [2022-11-17 00:31:07,461] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 00:31:09,296] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 200 15 [INFO] [2022-11-17 09:44:21,464] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutasklist.py changed, reloading. [INFO] [2022-11-17 09:44:21,873] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 09:46:09,184] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutasklist.py changed, reloading. [INFO] [2022-11-17 09:46:09,464] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 09:46:51,985] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutask.py changed, reloading. [INFO] [2022-11-17 09:46:52,257] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 09:47:14,495] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292 [INFO] [2022-11-17 09:47:39,980] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software HTTP/1.1" 301 0 [INFO] [2022-11-17 09:47:39,994] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/ HTTP/1.1" 200 2 [ERROR] [2022-11-17 09:47:43,637] [softwarelistview.py:31] [softwarelistview:post] - 软件上传失败 [WARNING] [2022-11-17 09:47:43,637] [log.py:224] [log:log_response] - Not Found: /api/v1/software/ [WARNING] [2022-11-17 09:47:43,638] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 404 18 [INFO] [2022-11-17 09:47:48,708] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 200 161 [INFO] [2022-11-17 09:48:04,929] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 200 460 [INFO] [2022-11-17 09:48:16,614] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511 [INFO] [2022-11-17 09:48:30,877] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1 HTTP/1.1" 200 996 [INFO] [2022-11-17 09:48:36,841] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/beidou/list HTTP/1.1" 200 263 [INFO] [2022-11-17 09:48:40,369] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/beidou/info HTTP/1.1" 200 865 [ERROR] [2022-11-17 09:48:44,507] [beidoutask.py:61] [beidoutask:post] - 测试任务不存在 [WARNING] [2022-11-17 09:48:44,509] [log.py:224] [log:log_response] - Not Found: /api/v1/test-tasks/beidou/edit [WARNING] [2022-11-17 09:48:44,509] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 404 21 [INFO] [2022-11-17 09:49:47,061] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/edit HTTP/1.1" 200 15 [WARNING] [2022-11-17 09:50:00,191] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute [WARNING] [2022-11-17 09:50:00,192] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute HTTP/1.1" 403 43 [INFO] [2022-11-17 09:50:20,984] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 281 [WARNING] [2022-11-17 09:50:31,717] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute [WARNING] [2022-11-17 09:50:31,718] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute HTTP/1.1" 403 43 [INFO] [2022-11-17 09:51:53,571] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1 HTTP/1.1" 200 1203 [WARNING] [2022-11-17 09:52:34,663] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute [WARNING] [2022-11-17 09:52:34,664] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute HTTP/1.1" 403 43 [INFO] [2022-11-17 09:54:15,720] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_1/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 09:56:29,792] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutaskexecute.py changed, reloading. [INFO] [2022-11-17 09:56:30,200] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 12:11:25,077] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 12:11:41,187] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292 [INFO] [2022-11-17 12:11:58,028] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511 [ERROR] [2022-11-17 12:19:31,753] [beidoutasklist.py:45] [beidoutasklist:post] - 测试任务已存在,请重新命名 [WARNING] [2022-11-17 12:19:31,755] [log.py:224] [log:log_response] - Not Found: /api/v1/test-tasks/beidou [WARNING] [2022-11-17 12:19:31,755] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 404 39 [INFO] [2022-11-17 12:19:42,251] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou HTTP/1.1" 200 511 [INFO] [2022-11-17 16:10:41,440] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 16:11:01,528] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:11:28,202] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:11:28,893] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:11:29,476] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:11:30,059] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:11:30,649] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:12:24,566] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:12:40,336] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:12:47,154] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:13:19,855] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutaskexecute.py changed, reloading. [INFO] [2022-11-17 16:13:20,289] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 16:13:28,031] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:13:53,302] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutaskexecute.py changed, reloading. [INFO] [2022-11-17 16:13:53,652] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 16:14:00,936] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_5/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:16:43,693] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/task/views/beidoutaskexecute.py changed, reloading. [INFO] [2022-11-17 16:16:44,126] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader [INFO] [2022-11-17 16:16:56,108] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:17:04,611] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12 [INFO] [2022-11-17 16:17:23,225] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/beidou/TestLaboratory_V1_Task_6/execute HTTP/1.1" 200 12