all-2022-10-09.log 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. [INFO] [2022-10-09 21:37:27,287] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  2. [INFO] [2022-10-09 21:38:28,286] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  3. [INFO] [2022-10-09 21:39:11,185] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292
  4. [INFO] [2022-10-09 21:39:31,648] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group HTTP/1.1" 301 0
  5. [INFO] [2022-10-09 21:39:31,670] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/ HTTP/1.1" 200 2
  6. [INFO] [2022-10-09 21:39:37,173] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 200 84
  7. [INFO] [2022-10-09 21:39:40,101] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 200 84
  8. [INFO] [2022-10-09 21:39:43,734] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 200 84
  9. [INFO] [2022-10-09 21:39:48,370] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group HTTP/1.1" 301 0
  10. [INFO] [2022-10-09 21:39:48,402] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/ HTTP/1.1" 200 295
  11. [INFO] [2022-10-09 21:40:25,109] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/TestLaboratory_V1_User_1/join HTTP/1.1" 200 12
  12. [INFO] [2022-10-09 21:40:46,677] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?user_id=160636 HTTP/1.1" 301 0
  13. [ERROR] [2022-10-09 21:40:46,689] [grouplistview.py:70] [grouplistview:get] - 用户不存在
  14. [ERROR] [2022-10-09 21:40:46,690] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/
  15. [ERROR] [2022-10-09 21:40:46,690] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?user_id=160636 HTTP/1.1" 500 15
  16. [INFO] [2022-10-09 21:41:03,886] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  17. [INFO] [2022-10-09 21:41:03,915] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 167
  18. [INFO] [2022-10-09 21:41:38,778] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group HTTP/1.1" 301 0
  19. [INFO] [2022-10-09 21:41:38,802] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/ HTTP/1.1" 200 363
  20. [INFO] [2022-10-09 21:41:49,953] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/TestLaboratory_V1_User_1/join HTTP/1.1" 200 12
  21. [INFO] [2022-10-09 21:41:54,626] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  22. [INFO] [2022-10-09 21:41:54,656] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 333
  23. [INFO] [2022-10-09 21:45:01,664] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/grouplistview.py changed, reloading.
  24. [INFO] [2022-10-09 21:45:02,067] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  25. [INFO] [2022-10-09 21:45:26,173] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/grouplistview.py changed, reloading.
  26. [INFO] [2022-10-09 21:45:26,560] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  27. [INFO] [2022-10-09 21:45:30,334] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  28. [INFO] [2022-10-09 21:45:30,381] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 333
  29. [INFO] [2022-10-09 21:45:38,581] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?code=596640&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  30. [INFO] [2022-10-09 21:45:38,597] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?code=596640&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 2
  31. [INFO] [2022-10-09 21:45:41,972] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  32. [INFO] [2022-10-09 21:45:41,994] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 333
  33. [INFO] [2022-10-09 21:45:50,310] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?code=160636&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  34. [INFO] [2022-10-09 21:45:50,329] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?code=160636&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 167
  35. [INFO] [2022-10-09 21:54:50,598] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?code=160636&manager_id=TestLaboratory_V1_User_1&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  36. [INFO] [2022-10-09 21:54:50,621] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?code=160636&manager_id=TestLaboratory_V1_User_1&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 167
  37. [INFO] [2022-10-09 21:54:55,262] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=TestLaboratory_V1_User_1&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  38. [INFO] [2022-10-09 21:54:55,282] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=TestLaboratory_V1_User_1&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 333
  39. [ERROR] [2022-10-09 21:55:12,063] [grouplistview.py:32] [grouplistview:post] - 组名已存在,请修改组名重新上传
  40. [ERROR] [2022-10-09 21:55:12,063] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/
  41. [ERROR] [2022-10-09 21:55:12,063] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 500 45
  42. [INFO] [2022-10-09 21:55:33,077] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/group/TestLaboratory_V1_Group_1 HTTP/1.1" 200 12
  43. [INFO] [2022-10-09 21:55:35,843] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/group/TestLaboratory_V1_Group_2 HTTP/1.1" 200 12
  44. [INFO] [2022-10-09 21:55:38,582] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/group/TestLaboratory_V1_Group_3 HTTP/1.1" 200 12
  45. [ERROR] [2022-10-09 21:55:41,145] [groupview.py:23] [groupview:delete] - 分组已删除或不存在
  46. [ERROR] [2022-10-09 21:55:41,226] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/TestLaboratory_V1_Group_4
  47. Traceback (most recent call last):
  48. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  49. response = get_response(request)
  50. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  51. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  52. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  53. return view_func(*args, **kwargs)
  54. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  55. return self.dispatch(request, *args, **kwargs)
  56. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  57. response = self.handle_exception(exc)
  58. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  59. self.raise_uncaught_exception(exc)
  60. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  61. raise exc
  62. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  63. response = handler(request, *args, **kwargs)
  64. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__
  65. return self.func(request, *args, **kwargs)
  66. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/groupview.py", line 24, in delete
  67. group = group[0]
  68. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 300, in __getitem__
  69. return self._result_cache[k]
  70. IndexError: list index out of range
  71. [ERROR] [2022-10-09 21:55:41,237] [basehttp.py:161] [basehttp:log_message] - "DELETE /api/v1/group/TestLaboratory_V1_Group_4 HTTP/1.1" 500 103776
  72. [INFO] [2022-10-09 21:55:57,890] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group HTTP/1.1" 301 0
  73. [INFO] [2022-10-09 21:55:57,903] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/ HTTP/1.1" 200 2
  74. [INFO] [2022-10-09 21:56:08,444] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 200 84
  75. [INFO] [2022-10-09 21:56:33,987] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  76. [INFO] [2022-10-09 21:56:34,007] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 99
  77. [INFO] [2022-10-09 21:56:38,942] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  78. [INFO] [2022-10-09 21:56:38,959] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 2
  79. [INFO] [2022-10-09 21:56:42,219] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  80. [INFO] [2022-10-09 21:56:42,234] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 99
  81. [INFO] [2022-10-09 21:56:52,868] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=TestLaboratory_V1_User_1&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  82. [INFO] [2022-10-09 21:56:52,878] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=TestLaboratory_V1_User_1&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 2
  83. [INFO] [2022-10-09 22:03:16,561] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  84. [INFO] [2022-10-09 22:03:16,577] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 2
  85. [INFO] [2022-10-09 22:03:19,375] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  86. [INFO] [2022-10-09 22:03:19,389] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 99
  87. [INFO] [2022-10-09 22:03:33,337] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/TestLaboratory_V1_User_1/join HTTP/1.1" 200 12
  88. [INFO] [2022-10-09 22:03:44,349] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  89. [INFO] [2022-10-09 22:03:44,369] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 167
  90. [INFO] [2022-10-09 22:03:48,030] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=TestLaboratory_V1_User_1&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  91. [INFO] [2022-10-09 22:03:48,051] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=TestLaboratory_V1_User_1&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 167
  92. [INFO] [2022-10-09 22:04:22,426] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  93. [INFO] [2022-10-09 22:04:22,449] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 167
  94. [INFO] [2022-10-09 22:05:28,433] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/grouplistview.py changed, reloading.
  95. [INFO] [2022-10-09 22:05:28,748] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  96. [INFO] [2022-10-09 22:05:31,858] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  97. [INFO] [2022-10-09 22:05:31,908] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 167
  98. [INFO] [2022-10-09 22:05:45,583] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/grouplistview.py changed, reloading.
  99. [INFO] [2022-10-09 22:05:45,782] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  100. [INFO] [2022-10-09 22:05:47,887] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group?manager_id=&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 301 0
  101. [INFO] [2022-10-09 22:05:47,937] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/?manager_id=&user_id=TestLaboratory_V1_User_1 HTTP/1.1" 200 167
  102. [INFO] [2022-10-09 22:06:11,800] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/grouplistview.py changed, reloading.
  103. [INFO] [2022-10-09 22:06:12,028] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader