all-2022-06-26.log 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. [INFO] [2022-06-26 11:16:49,280] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  2. [WARNING] [2022-06-26 11:20:26,894] [log.py:224] [log:log_response] - Not Found: /api/v1/api/v1/test-tasks/
  3. [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
  4. [INFO] [2022-06-26 11:21:37,168] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans HTTP/1.1" 301 0
  5. [WARNING] [2022-06-26 11:21:37,172] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-plans/
  6. [WARNING] [2022-06-26 11:21:37,173] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/ HTTP/1.1" 403 37
  7. [INFO] [2022-06-26 11:22:03,305] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans HTTP/1.1" 301 0
  8. [INFO] [2022-06-26 11:22:03,324] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/ HTTP/1.1" 200 2
  9. [ERROR] [2022-06-26 11:22:31,094] [planlistview.py:40] [planlistview:post] - 软件已删除或不存在
  10. [WARNING] [2022-06-26 11:22:31,095] [log.py:224] [log:log_response] - Not Found: /api/v1/test-plans/
  11. [WARNING] [2022-06-26 11:22:31,095] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 404 27
  12. [ERROR] [2022-06-26 11:22:43,221] [planlistview.py:47] [planlistview:post] - 软件版本不存在或已删除,请重新选择
  13. [WARNING] [2022-06-26 11:22:43,222] [log.py:224] [log:log_response] - Not Found: /api/v1/test-plans/
  14. [WARNING] [2022-06-26 11:22:43,222] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 404 51
  15. [INFO] [2022-06-26 11:23:31,979] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software HTTP/1.1" 301 0
  16. [INFO] [2022-06-26 11:23:31,995] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/software/ HTTP/1.1" 200 148
  17. [WARNING] [2022-06-26 11:24:07,198] [log.py:224] [log:log_response] - Forbidden: /api/v1/software/
  18. [WARNING] [2022-06-26 11:24:07,198] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 403 37
  19. [ERROR] [2022-06-26 11:24:24,101] [softwarelistview.py:31] [softwarelistview:post] - 软件上传失败
  20. [WARNING] [2022-06-26 11:24:24,112] [log.py:224] [log:log_response] - Not Found: /api/v1/software/
  21. [WARNING] [2022-06-26 11:24:24,113] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 404 18
  22. [INFO] [2022-06-26 11:24:31,781] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/software/ HTTP/1.1" 200 185
  23. [WARNING] [2022-06-26 11:25:46,503] [log.py:224] [log:log_response] - Forbidden: /api/v1/software/TestLaboratory_V1_Software_2
  24. [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
  25. [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
  26. [INFO] [2022-06-26 11:27:12,820] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-plans/ HTTP/1.1" 200 305
  27. [INFO] [2022-06-26 11:27:35,652] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans HTTP/1.1" 301 0
  28. [INFO] [2022-06-26 11:27:35,670] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/ HTTP/1.1" 200 372
  29. [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
  30. [WARNING] [2022-06-26 11:28:42,026] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/
  31. [WARNING] [2022-06-26 11:28:42,045] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 403 37
  32. [WARNING] [2022-06-26 11:28:58,588] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/
  33. [WARNING] [2022-06-26 11:28:58,604] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 403 37
  34. [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
  35. [INFO] [2022-06-26 11:29:31,862] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 345
  36. [INFO] [2022-06-26 11:30:00,777] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 332
  37. [INFO] [2022-06-26 11:30:33,062] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 954
  38. [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
  39. [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
  40. [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
  41. [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
  42. [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
  43. [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
  44. [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
  45. [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
  46. [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
  47. [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行执行人不能为空']
  48. [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
  49. [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
  50. [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
  51. [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
  52. [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.
  53. [INFO] [2022-06-26 16:26:34,801] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  54. [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.
  55. [INFO] [2022-06-26 16:27:09,039] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  56. [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.
  57. [INFO] [2022-06-26 16:30:09,953] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  58. [INFO] [2022-06-26 16:45:43,218] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  59. [ERROR] [2022-06-26 16:46:04,101] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  60. Traceback (most recent call last):
  61. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  62. response = get_response(request)
  63. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  64. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  65. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  66. return view_func(*args, **kwargs)
  67. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  68. return self.dispatch(request, *args, **kwargs)
  69. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  70. response = self.handle_exception(exc)
  71. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  72. self.raise_uncaught_exception(exc)
  73. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  74. raise exc
  75. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  76. response = handler(request, *args, **kwargs)
  77. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  78. return self.func(request, *args, **kwargs)
  79. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 84, in post
  80. task.executor.add(executor[0])
  81. AttributeError: 'User' object has no attribute 'add'
  82. [ERROR] [2022-06-26 16:46:04,103] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 500 101512
  83. [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.
  84. [INFO] [2022-06-26 16:46:46,099] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  85. [INFO] [2022-06-26 16:46:49,749] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 749
  86. [INFO] [2022-06-26 16:47:20,069] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 749
  87. [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.
  88. [INFO] [2022-06-26 16:48:42,691] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  89. [INFO] [2022-06-26 16:49:10,390] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/test-tasks/ HTTP/1.1" 200 1127
  90. [INFO] [2022-06-26 16:49:52,889] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans HTTP/1.1" 301 0
  91. [INFO] [2022-06-26 16:49:52,910] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-plans/ HTTP/1.1" 200 372
  92. [ERROR] [2022-06-26 16:50:09,895] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  93. Traceback (most recent call last):
  94. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  95. response = get_response(request)
  96. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  97. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  98. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  99. return view_func(*args, **kwargs)
  100. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  101. return self.dispatch(request, *args, **kwargs)
  102. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  103. response = self.handle_exception(exc)
  104. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  105. self.raise_uncaught_exception(exc)
  106. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  107. raise exc
  108. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  109. response = handler(request, *args, **kwargs)
  110. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  111. return self.func(request, *args, **kwargs)
  112. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get
  113. 'executor': [{'id': executor.id, 'name': executor.username} for executor in task.executor.all()],
  114. AttributeError: 'User' object has no attribute 'all'
  115. [ERROR] [2022-06-26 16:50:09,898] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98707
  116. [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.
  117. [INFO] [2022-06-26 16:50:30,728] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  118. [ERROR] [2022-06-26 16:50:36,014] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  119. Traceback (most recent call last):
  120. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  121. response = get_response(request)
  122. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  123. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  124. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  125. return view_func(*args, **kwargs)
  126. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  127. return self.dispatch(request, *args, **kwargs)
  128. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  129. response = self.handle_exception(exc)
  130. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  131. self.raise_uncaught_exception(exc)
  132. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  133. raise exc
  134. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  135. response = handler(request, *args, **kwargs)
  136. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  137. return self.func(request, *args, **kwargs)
  138. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get
  139. 'executor': [{'id': executor.id, 'name': executor.username} for executor in task.executor.all()],
  140. AttributeError: 'User' object has no attribute 'all'
  141. [ERROR] [2022-06-26 16:50:36,017] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98707
  142. [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.
  143. [INFO] [2022-06-26 16:51:54,159] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  144. [ERROR] [2022-06-26 16:51:56,866] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  145. Traceback (most recent call last):
  146. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  147. response = get_response(request)
  148. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  149. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  150. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  151. return view_func(*args, **kwargs)
  152. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  153. return self.dispatch(request, *args, **kwargs)
  154. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  155. response = self.handle_exception(exc)
  156. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  157. self.raise_uncaught_exception(exc)
  158. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  159. raise exc
  160. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  161. response = handler(request, *args, **kwargs)
  162. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  163. return self.func(request, *args, **kwargs)
  164. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get
  165. 'executor': {'id': task.executor.id, 'name': task.executor.username},
  166. AttributeError: 'NoneType' object has no attribute 'id'
  167. [ERROR] [2022-06-26 16:51:56,869] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 103856
  168. [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.
  169. [INFO] [2022-06-26 16:52:17,398] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  170. [ERROR] [2022-06-26 16:52:18,998] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  171. Traceback (most recent call last):
  172. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  173. response = get_response(request)
  174. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  175. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  176. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  177. return view_func(*args, **kwargs)
  178. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  179. return self.dispatch(request, *args, **kwargs)
  180. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  181. response = self.handle_exception(exc)
  182. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  183. self.raise_uncaught_exception(exc)
  184. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  185. raise exc
  186. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  187. response = handler(request, *args, **kwargs)
  188. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  189. return self.func(request, *args, **kwargs)
  190. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get
  191. 'executor': {'id': task.user.id, 'name': task.user.username},
  192. AttributeError: 'TestTask' object has no attribute 'user'
  193. [ERROR] [2022-06-26 16:52:19,001] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665
  194. [ERROR] [2022-06-26 16:54:09,024] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  195. Traceback (most recent call last):
  196. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  197. response = get_response(request)
  198. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  199. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  200. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  201. return view_func(*args, **kwargs)
  202. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  203. return self.dispatch(request, *args, **kwargs)
  204. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  205. response = self.handle_exception(exc)
  206. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  207. self.raise_uncaught_exception(exc)
  208. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  209. raise exc
  210. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  211. response = handler(request, *args, **kwargs)
  212. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  213. return self.func(request, *args, **kwargs)
  214. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get
  215. 'executor': {'id': task.user.id, 'name': task.user.username},
  216. AttributeError: 'TestTask' object has no attribute 'user'
  217. [ERROR] [2022-06-26 16:54:09,027] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665
  218. [ERROR] [2022-06-26 16:54:19,013] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  219. Traceback (most recent call last):
  220. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  221. response = get_response(request)
  222. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  223. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  224. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  225. return view_func(*args, **kwargs)
  226. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  227. return self.dispatch(request, *args, **kwargs)
  228. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  229. response = self.handle_exception(exc)
  230. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  231. self.raise_uncaught_exception(exc)
  232. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  233. raise exc
  234. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  235. response = handler(request, *args, **kwargs)
  236. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  237. return self.func(request, *args, **kwargs)
  238. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get
  239. 'executor': {'id': task.user.id, 'name': task.user.username},
  240. AttributeError: 'TestTask' object has no attribute 'user'
  241. [ERROR] [2022-06-26 16:54:19,015] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665
  242. [ERROR] [2022-06-26 16:54:20,074] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  243. Traceback (most recent call last):
  244. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  245. response = get_response(request)
  246. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  247. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  248. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  249. return view_func(*args, **kwargs)
  250. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  251. return self.dispatch(request, *args, **kwargs)
  252. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  253. response = self.handle_exception(exc)
  254. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  255. self.raise_uncaught_exception(exc)
  256. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  257. raise exc
  258. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  259. response = handler(request, *args, **kwargs)
  260. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  261. return self.func(request, *args, **kwargs)
  262. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get
  263. 'executor': {'id': task.user.id, 'name': task.user.username},
  264. AttributeError: 'TestTask' object has no attribute 'user'
  265. [ERROR] [2022-06-26 16:54:20,079] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665
  266. [INFO] [2022-06-26 16:54:41,011] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  267. [ERROR] [2022-06-26 16:54:43,250] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  268. Traceback (most recent call last):
  269. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  270. response = get_response(request)
  271. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  272. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  273. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  274. return view_func(*args, **kwargs)
  275. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  276. return self.dispatch(request, *args, **kwargs)
  277. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  278. response = self.handle_exception(exc)
  279. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  280. self.raise_uncaught_exception(exc)
  281. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  282. raise exc
  283. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  284. response = handler(request, *args, **kwargs)
  285. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  286. return self.func(request, *args, **kwargs)
  287. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 136, in get
  288. 'executor': {'id': task.user.id, 'name': task.user.username},
  289. AttributeError: 'TestTask' object has no attribute 'user'
  290. [ERROR] [2022-06-26 16:54:43,251] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98665
  291. [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.
  292. [INFO] [2022-06-26 16:56:22,987] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  293. [INFO] [2022-06-26 16:56:25,123] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 3236
  294. [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.
  295. [INFO] [2022-06-26 16:56:55,533] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  296. [INFO] [2022-06-26 16:56:57,217] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 3578
  297. [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.
  298. [INFO] [2022-06-26 17:00:59,645] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  299. [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.
  300. [INFO] [2022-06-26 17:01:04,213] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  301. [ERROR] [2022-06-26 17:01:06,200] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/test-tasks/
  302. Traceback (most recent call last):
  303. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  304. response = get_response(request)
  305. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  306. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  307. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  308. return view_func(*args, **kwargs)
  309. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  310. return self.dispatch(request, *args, **kwargs)
  311. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  312. response = self.handle_exception(exc)
  313. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  314. self.raise_uncaught_exception(exc)
  315. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  316. raise exc
  317. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  318. response = handler(request, *args, **kwargs)
  319. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  320. return self.func(request, *args, **kwargs)
  321. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/tasklistview.py", line 137, in get
  322. 'executor': {'id': task.user.id, 'name': task.user.username},
  323. AttributeError: 'TestTask' object has no attribute 'user'
  324. [ERROR] [2022-06-26 17:01:06,205] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 500 98708
  325. [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.
  326. [INFO] [2022-06-26 17:02:02,691] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  327. [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.
  328. [INFO] [2022-06-26 17:02:33,090] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  329. [INFO] [2022-06-26 17:02:34,843] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 3788
  330. [WARNING] [2022-06-26 17:50:45,249] [log.py:224] [log:log_response] - Forbidden: /api/v1/test-tasks/TestLaboratory_V1_Task_9
  331. [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
  332. [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
  333. [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
  334. Traceback (most recent call last):
  335. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  336. response = get_response(request)
  337. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  338. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  339. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  340. return view_func(*args, **kwargs)
  341. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  342. return self.dispatch(request, *args, **kwargs)
  343. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  344. response = self.handle_exception(exc)
  345. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  346. self.raise_uncaught_exception(exc)
  347. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  348. raise exc
  349. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  350. response = handler(request, *args, **kwargs)
  351. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  352. return self.func(request, *args, **kwargs)
  353. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py", line 120, in get
  354. task.executor.all()],
  355. AttributeError: 'User' object has no attribute 'all'
  356. [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
  357. [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.
  358. [INFO] [2022-06-26 17:53:20,359] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  359. [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
  360. [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.
  361. [INFO] [2022-06-26 17:54:06,053] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  362. [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
  363. [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.
  364. [INFO] [2022-06-26 17:57:43,289] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  365. [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
  366. Traceback (most recent call last):
  367. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  368. response = get_response(request)
  369. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  370. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  371. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  372. return view_func(*args, **kwargs)
  373. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  374. return self.dispatch(request, *args, **kwargs)
  375. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  376. response = self.handle_exception(exc)
  377. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  378. self.raise_uncaught_exception(exc)
  379. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  380. raise exc
  381. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  382. response = handler(request, *args, **kwargs)
  383. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  384. return self.func(request, *args, **kwargs)
  385. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py", line 191, in post
  386. statement = FileManager.objects.get(id=statement_id)
  387. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
  388. return getattr(self.get_queryset(), name)(*args, **kwargs)
  389. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 435, in get
  390. raise self.model.DoesNotExist(
  391. apps.file.models.FileManager.DoesNotExist: FileManager matching query does not exist.
  392. [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
  393. [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
  394. Traceback (most recent call last):
  395. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  396. response = get_response(request)
  397. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  398. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  399. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  400. return view_func(*args, **kwargs)
  401. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  402. return self.dispatch(request, *args, **kwargs)
  403. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  404. response = self.handle_exception(exc)
  405. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  406. self.raise_uncaught_exception(exc)
  407. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  408. raise exc
  409. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  410. response = handler(request, *args, **kwargs)
  411. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  412. return self.func(request, *args, **kwargs)
  413. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py", line 191, in post
  414. statement = FileManager.objects.get(id=statement_id)
  415. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
  416. return getattr(self.get_queryset(), name)(*args, **kwargs)
  417. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 435, in get
  418. raise self.model.DoesNotExist(
  419. apps.file.models.FileManager.DoesNotExist: FileManager matching query does not exist.
  420. [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
  421. [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.
  422. [INFO] [2022-06-26 17:59:42,959] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  423. [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
  424. Traceback (most recent call last):
  425. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  426. response = get_response(request)
  427. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  428. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  429. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  430. return view_func(*args, **kwargs)
  431. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  432. return self.dispatch(request, *args, **kwargs)
  433. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  434. response = self.handle_exception(exc)
  435. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  436. self.raise_uncaught_exception(exc)
  437. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  438. raise exc
  439. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  440. response = handler(request, *args, **kwargs)
  441. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/user/middleware/rolecontrol.py", line 49, in __call__
  442. return self.func(request, *args, **kwargs)
  443. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/task/views/taskview.py", line 192, in post
  444. statement = FileManager.objects.get(id=statement_id)
  445. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
  446. return getattr(self.get_queryset(), name)(*args, **kwargs)
  447. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 435, in get
  448. raise self.model.DoesNotExist(
  449. apps.file.models.FileManager.DoesNotExist: FileManager matching query does not exist.
  450. [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
  451. [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
  452. [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.
  453. [INFO] [2022-06-26 18:01:19,791] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  454. [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
  455. [INFO] [2022-06-26 18:04:15,661] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/test-tasks/ HTTP/1.1" 200 3350
  456. [ERROR] [2022-06-26 18:07:46,889] [caseview.py:110] [caseview:post] - ['软件名称错误']
  457. [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
  458. [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
  459. [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
  460. [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
  461. [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行状态只能填写"未执行"']
  462. [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
  463. [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
  464. [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
  465. [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
  466. [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
  467. [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
  468. [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.
  469. [INFO] [2022-06-26 20:14:32,990] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  470. [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
  471. Traceback (most recent call last):
  472. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  473. response = get_response(request)
  474. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  475. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  476. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  477. return view_func(*args, **kwargs)
  478. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  479. return self.dispatch(request, *args, **kwargs)
  480. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  481. response = self.handle_exception(exc)
  482. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  483. self.raise_uncaught_exception(exc)
  484. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  485. raise exc
  486. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  487. response = handler(request, *args, **kwargs)
  488. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/software/views/report.py", line 61, in get
  489. version_number = software.version_set.order_by('-create_time')[0].number
  490. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 318, in __getitem__
  491. return qs._result_cache[0]
  492. IndexError: list index out of range
  493. [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
  494. [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
  495. Traceback (most recent call last):
  496. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  497. response = get_response(request)
  498. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  499. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  500. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  501. return view_func(*args, **kwargs)
  502. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  503. return self.dispatch(request, *args, **kwargs)
  504. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  505. response = self.handle_exception(exc)
  506. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  507. self.raise_uncaught_exception(exc)
  508. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  509. raise exc
  510. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  511. response = handler(request, *args, **kwargs)
  512. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/software/views/report.py", line 61, in get
  513. version_number = software.version_set.order_by('-create_time')[0].number
  514. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 318, in __getitem__
  515. return qs._result_cache[0]
  516. IndexError: list index out of range
  517. [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
  518. [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
  519. [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
  520. Traceback (most recent call last):
  521. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  522. response = get_response(request)
  523. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  524. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  525. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  526. return view_func(*args, **kwargs)
  527. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  528. return self.dispatch(request, *args, **kwargs)
  529. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  530. response = self.handle_exception(exc)
  531. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  532. self.raise_uncaught_exception(exc)
  533. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  534. raise exc
  535. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  536. response = handler(request, *args, **kwargs)
  537. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/lims-backend/TestLaboratory_ali_v1.3/TestLaboratory/apps/software/views/report.py", line 61, in get
  538. version_number = software.version_set.order_by('-create_time')[0].number
  539. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 318, in __getitem__
  540. return qs._result_cache[0]
  541. IndexError: list index out of range
  542. [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
  543. [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.
  544. [INFO] [2022-06-26 20:24:00,492] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  545. [ERROR] [2022-06-26 20:24:48,020] [report.py:26] [report:get] - 测试人员id不能为空
  546. [WARNING] [2022-06-26 20:24:48,022] [log.py:224] [log:log_response] - Not Found: /api/v1/software/TestLaboratory_V1_Software_2/report
  547. [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
  548. [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