|
@@ -0,0 +1,138 @@
|
|
|
|
+[INFO] [2022-10-10 21:58:15,970] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[INFO] [2022-10-10 21:59:15,606] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292
|
|
|
|
+[WARNING] [2022-10-10 21:59:29,828] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 21:59:29,829] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
|
|
|
|
+[INFO] [2022-10-10 21:59:47,836] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/urls.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 21:59:48,131] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[WARNING] [2022-10-10 22:00:06,054] [log.py:224] [log:log_response] - Not Found: /api/v1/group/user/
|
|
|
|
+[WARNING] [2022-10-10 22:00:06,055] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user/ HTTP/1.1" 404 3544
|
|
|
|
+[WARNING] [2022-10-10 22:00:25,949] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:00:25,949] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
|
|
|
|
+[WARNING] [2022-10-10 22:03:17,499] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:03:17,500] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
|
|
|
|
+[INFO] [2022-10-10 22:04:29,468] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/groupuserview.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:04:29,778] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[WARNING] [2022-10-10 22:04:35,924] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:04:35,925] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
|
|
|
|
+[INFO] [2022-10-10 22:06:20,734] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/groupuserview.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:06:21,032] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[WARNING] [2022-10-10 22:06:23,910] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:06:23,911] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
|
|
|
|
+[WARNING] [2022-10-10 22:06:26,059] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:06:26,060] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
|
|
|
|
+[INFO] [2022-10-10 22:06:32,718] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/urls.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:06:32,996] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[WARNING] [2022-10-10 22:06:34,927] [log.py:224] [log:log_response] - Not Found: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:06:34,928] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 404 3361
|
|
|
|
+[WARNING] [2022-10-10 22:06:46,833] [log.py:224] [log:log_response] - Not Found: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:06:46,833] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 404 3361
|
|
|
|
+[INFO] [2022-10-10 22:06:55,130] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/urls.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:06:55,413] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[WARNING] [2022-10-10 22:06:58,384] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:06:58,385] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
|
|
|
|
+[INFO] [2022-10-10 22:07:05,001] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/urls.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:07:05,298] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[WARNING] [2022-10-10 22:07:06,591] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:07:06,591] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
|
|
|
|
+[INFO] [2022-10-10 22:07:13,825] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/urls.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:07:14,036] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[INFO] [2022-10-10 22:07:55,343] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/urls.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:07:55,558] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[WARNING] [2022-10-10 22:07:57,602] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:07:57,603] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
|
|
|
|
+[WARNING] [2022-10-10 22:09:26,351] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:09:26,352] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
|
|
|
|
+[WARNING] [2022-10-10 22:09:27,862] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:09:27,863] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
|
|
|
|
+[WARNING] [2022-10-10 22:09:28,631] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:09:28,632] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
|
|
|
|
+[INFO] [2022-10-10 22:09:52,008] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[WARNING] [2022-10-10 22:09:55,125] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:09:55,125] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
|
|
|
|
+[INFO] [2022-10-10 22:09:59,524] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292
|
|
|
|
+[WARNING] [2022-10-10 22:10:16,691] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:10:16,692] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
|
|
|
|
+[WARNING] [2022-10-10 22:10:27,353] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
|
|
|
|
+[WARNING] [2022-10-10 22:10:27,353] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
|
|
|
|
+[ERROR] [2022-10-10 22:10:44,538] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/user
|
|
|
|
+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/groupuserview.py", line 26, in get
|
|
|
|
+ users = users - group.users
|
|
|
|
+TypeError: unsupported operand type(s) for -: 'QuerySet' and 'ManyRelatedManager'
|
|
|
|
+[ERROR] [2022-10-10 22:10:44,539] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 500 100745
|
|
|
|
+[INFO] [2022-10-10 22:11:57,718] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/groupuserview.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:11:58,030] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[ERROR] [2022-10-10 22:12:00,124] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/user
|
|
|
|
+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/groupuserview.py", line 26, in get
|
|
|
|
+ users = users - group.users.all()
|
|
|
|
+TypeError: unsupported operand type(s) for -: 'QuerySet' and 'QuerySet'
|
|
|
|
+[ERROR] [2022-10-10 22:12:00,125] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 500 100697
|
|
|
|
+[INFO] [2022-10-10 22:13:48,407] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/groupuserview.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:13:48,709] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[ERROR] [2022-10-10 22:13:53,804] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/user
|
|
|
|
+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/groupuserview.py", line 27, in get
|
|
|
|
+ for user in group.users:
|
|
|
|
+TypeError: 'ManyRelatedManager' object is not iterable
|
|
|
|
+[ERROR] [2022-10-10 22:13:53,806] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 500 100459
|
|
|
|
+[INFO] [2022-10-10 22:14:06,588] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/groupuserview.py changed, reloading.
|
|
|
|
+[INFO] [2022-10-10 22:14:06,876] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
|
|
|
|
+[INFO] [2022-10-10 22:14:08,950] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 200 335
|
|
|
|
+[INFO] [2022-10-10 22:15:35,060] [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-10 22:15:35,072] [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-11 14:45:14,253] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/plan/views/planview.py changed, reloading.
|