all-2022-10-10.log 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. [INFO] [2022-10-10 21:58:15,970] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  2. [INFO] [2022-10-10 21:59:15,606] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292
  3. [WARNING] [2022-10-10 21:59:29,828] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
  4. [WARNING] [2022-10-10 21:59:29,829] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
  5. [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.
  6. [INFO] [2022-10-10 21:59:48,131] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  7. [WARNING] [2022-10-10 22:00:06,054] [log.py:224] [log:log_response] - Not Found: /api/v1/group/user/
  8. [WARNING] [2022-10-10 22:00:06,055] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user/ HTTP/1.1" 404 3544
  9. [WARNING] [2022-10-10 22:00:25,949] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
  10. [WARNING] [2022-10-10 22:00:25,949] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
  11. [WARNING] [2022-10-10 22:03:17,499] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
  12. [WARNING] [2022-10-10 22:03:17,500] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
  13. [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.
  14. [INFO] [2022-10-10 22:04:29,778] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  15. [WARNING] [2022-10-10 22:04:35,924] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
  16. [WARNING] [2022-10-10 22:04:35,925] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
  17. [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.
  18. [INFO] [2022-10-10 22:06:21,032] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  19. [WARNING] [2022-10-10 22:06:23,910] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
  20. [WARNING] [2022-10-10 22:06:23,911] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
  21. [WARNING] [2022-10-10 22:06:26,059] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
  22. [WARNING] [2022-10-10 22:06:26,060] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
  23. [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.
  24. [INFO] [2022-10-10 22:06:32,996] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  25. [WARNING] [2022-10-10 22:06:34,927] [log.py:224] [log:log_response] - Not Found: /api/v1/group/user
  26. [WARNING] [2022-10-10 22:06:34,928] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 404 3361
  27. [WARNING] [2022-10-10 22:06:46,833] [log.py:224] [log:log_response] - Not Found: /api/v1/group/user
  28. [WARNING] [2022-10-10 22:06:46,833] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 404 3361
  29. [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.
  30. [INFO] [2022-10-10 22:06:55,413] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  31. [WARNING] [2022-10-10 22:06:58,384] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
  32. [WARNING] [2022-10-10 22:06:58,385] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
  33. [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.
  34. [INFO] [2022-10-10 22:07:05,298] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  35. [WARNING] [2022-10-10 22:07:06,591] [log.py:224] [log:log_response] - Method Not Allowed: /api/v1/group/user
  36. [WARNING] [2022-10-10 22:07:06,591] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 405 40
  37. [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.
  38. [INFO] [2022-10-10 22:07:14,036] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  39. [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.
  40. [INFO] [2022-10-10 22:07:55,558] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  41. [WARNING] [2022-10-10 22:07:57,602] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
  42. [WARNING] [2022-10-10 22:07:57,603] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
  43. [WARNING] [2022-10-10 22:09:26,351] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
  44. [WARNING] [2022-10-10 22:09:26,352] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
  45. [WARNING] [2022-10-10 22:09:27,862] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
  46. [WARNING] [2022-10-10 22:09:27,863] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
  47. [WARNING] [2022-10-10 22:09:28,631] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
  48. [WARNING] [2022-10-10 22:09:28,632] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
  49. [INFO] [2022-10-10 22:09:52,008] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  50. [WARNING] [2022-10-10 22:09:55,125] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
  51. [WARNING] [2022-10-10 22:09:55,125] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
  52. [INFO] [2022-10-10 22:09:59,524] [basehttp.py:161] [basehttp:log_message] - "POST /api/v1/users/login HTTP/1.1" 200 292
  53. [WARNING] [2022-10-10 22:10:16,691] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
  54. [WARNING] [2022-10-10 22:10:16,692] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
  55. [WARNING] [2022-10-10 22:10:27,353] [log.py:224] [log:log_response] - Forbidden: /api/v1/group/user
  56. [WARNING] [2022-10-10 22:10:27,353] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 403 43
  57. [ERROR] [2022-10-10 22:10:44,538] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/user
  58. Traceback (most recent call last):
  59. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  60. response = get_response(request)
  61. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  62. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  63. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  64. return view_func(*args, **kwargs)
  65. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  66. return self.dispatch(request, *args, **kwargs)
  67. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  68. response = self.handle_exception(exc)
  69. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  70. self.raise_uncaught_exception(exc)
  71. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  72. raise exc
  73. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  74. response = handler(request, *args, **kwargs)
  75. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__
  76. return self.func(request, *args, **kwargs)
  77. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/groupuserview.py", line 26, in get
  78. users = users - group.users
  79. TypeError: unsupported operand type(s) for -: 'QuerySet' and 'ManyRelatedManager'
  80. [ERROR] [2022-10-10 22:10:44,539] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 500 100745
  81. [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.
  82. [INFO] [2022-10-10 22:11:58,030] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  83. [ERROR] [2022-10-10 22:12:00,124] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/user
  84. Traceback (most recent call last):
  85. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  86. response = get_response(request)
  87. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  88. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  89. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  90. return view_func(*args, **kwargs)
  91. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  92. return self.dispatch(request, *args, **kwargs)
  93. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  94. response = self.handle_exception(exc)
  95. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  96. self.raise_uncaught_exception(exc)
  97. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  98. raise exc
  99. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  100. response = handler(request, *args, **kwargs)
  101. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__
  102. return self.func(request, *args, **kwargs)
  103. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/groupuserview.py", line 26, in get
  104. users = users - group.users.all()
  105. TypeError: unsupported operand type(s) for -: 'QuerySet' and 'QuerySet'
  106. [ERROR] [2022-10-10 22:12:00,125] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 500 100697
  107. [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.
  108. [INFO] [2022-10-10 22:13:48,709] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  109. [ERROR] [2022-10-10 22:13:53,804] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/group/user
  110. Traceback (most recent call last):
  111. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  112. response = get_response(request)
  113. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  114. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  115. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  116. return view_func(*args, **kwargs)
  117. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  118. return self.dispatch(request, *args, **kwargs)
  119. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  120. response = self.handle_exception(exc)
  121. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  122. self.raise_uncaught_exception(exc)
  123. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  124. raise exc
  125. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  126. response = handler(request, *args, **kwargs)
  127. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/middleware/rolecontrol.py", line 48, in __call__
  128. return self.func(request, *args, **kwargs)
  129. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/group/views/groupuserview.py", line 27, in get
  130. for user in group.users:
  131. TypeError: 'ManyRelatedManager' object is not iterable
  132. [ERROR] [2022-10-10 22:13:53,806] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 500 100459
  133. [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.
  134. [INFO] [2022-10-10 22:14:06,876] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  135. [INFO] [2022-10-10 22:14:08,950] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/group/user HTTP/1.1" 200 335
  136. [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
  137. [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
  138. [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.