123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- [INFO] [2022-10-09 21:37:27,287] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [INFO] [2022-10-09 21:38:28,286] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [INFO] [2022-10-09 21:39:11,185] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292
- [INFO] [2022-10-09 21:39:31,648] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group HTTP/1.1" 301 0
- [INFO] [2022-10-09 21:39:31,670] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/ HTTP/1.1" 200 2
- [INFO] [2022-10-09 21:39:37,173] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 200 84
- [INFO] [2022-10-09 21:39:40,101] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 200 84
- [INFO] [2022-10-09 21:39:43,734] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 200 84
- [INFO] [2022-10-09 21:39:48,370] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group HTTP/1.1" 301 0
- [INFO] [2022-10-09 21:39:48,402] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/ HTTP/1.1" 200 295
- [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
- [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
- [ERROR] [2022-10-09 21:40:46,689] [grouplistview.py:70] [grouplistview:get] - 用户不存在
- [ERROR] [2022-10-09 21:40:46,690] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/
- [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
- [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
- [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
- [INFO] [2022-10-09 21:41:38,778] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group HTTP/1.1" 301 0
- [INFO] [2022-10-09 21:41:38,802] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/ HTTP/1.1" 200 363
- [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
- [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
- [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
- [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.
- [INFO] [2022-10-09 21:45:02,067] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [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.
- [INFO] [2022-10-09 21:45:26,560] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [ERROR] [2022-10-09 21:55:12,063] [grouplistview.py:32] [grouplistview:post] - 组名已存在,请修改组名重新上传
- [ERROR] [2022-10-09 21:55:12,063] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/
- [ERROR] [2022-10-09 21:55:12,063] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 500 45
- [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
- [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
- [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
- [ERROR] [2022-10-09 21:55:41,145] [groupview.py:23] [groupview:delete] - 分组已删除或不存在
- [ERROR] [2022-10-09 21:55:41,226] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/TestLaboratory_V1_Group_4
- 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/group/views/groupview.py", line 24, in delete
- group = group[0]
- File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/db/models/query.py", line 300, in __getitem__
- return self._result_cache[k]
- IndexError: list index out of range
- [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
- [INFO] [2022-10-09 21:55:57,890] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group HTTP/1.1" 301 0
- [INFO] [2022-10-09 21:55:57,903] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/ HTTP/1.1" 200 2
- [INFO] [2022-10-09 21:56:08,444] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/group/ HTTP/1.1" 200 84
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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
- [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.
- [INFO] [2022-10-09 22:05:28,748] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [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
- [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
- [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.
- [INFO] [2022-10-09 22:05:45,782] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [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
- [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
- [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.
- [INFO] [2022-10-09 22:06:12,028] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|