all-2022-10-12.log 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. [INFO] [2022-10-12 11:22:16,700] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  2. [INFO] [2022-10-12 11:30:16,138] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userexportview.py changed, reloading.
  3. [INFO] [2022-10-12 11:30:16,433] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  4. [WARNING] [2022-10-12 11:31:45,577] [log.py:224] [log:log_response] - Not Found: /api/v1/user/export
  5. [WARNING] [2022-10-12 11:31:45,578] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/user/export HTTP/1.1" 404 2967
  6. [WARNING] [2022-10-12 11:32:17,524] [log.py:224] [log:log_response] - Forbidden: /api/v1/users/export
  7. [WARNING] [2022-10-12 11:32:17,525] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 403 43
  8. [INFO] [2022-10-12 11:32:33,754] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userexportview.py changed, reloading.
  9. [INFO] [2022-10-12 11:32:34,063] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  10. [INFO] [2022-10-12 11:32:35,833] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 200 11264
  11. [INFO] [2022-10-12 11:33:03,025] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 200 11264
  12. [INFO] [2022-10-12 11:33:32,589] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userexportview.py changed, reloading.
  13. [INFO] [2022-10-12 11:33:32,909] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  14. [INFO] [2022-10-12 11:33:37,324] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 200 11264
  15. [INFO] [2022-10-12 11:34:38,119] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userexportview.py changed, reloading.
  16. [INFO] [2022-10-12 11:34:38,431] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  17. [INFO] [2022-10-12 15:05:08,044] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userlistview.py changed, reloading.
  18. [INFO] [2022-10-12 15:05:08,367] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  19. [INFO] [2022-10-12 21:23:53,103] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  20. [ERROR] [2022-10-12 21:24:14,774] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/users/export
  21. Traceback (most recent call last):
  22. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  23. response = get_response(request)
  24. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  25. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  26. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  27. return view_func(*args, **kwargs)
  28. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  29. return self.dispatch(request, *args, **kwargs)
  30. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  31. response = self.handle_exception(exc)
  32. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  33. self.raise_uncaught_exception(exc)
  34. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  35. raise exc
  36. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  37. response = handler(request, *args, **kwargs)
  38. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userexportview.py", line 45, in get
  39. executor, action, method = get_log(request)
  40. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/log/models.py", line 55, in get_log
  41. payload = jwt.decode(token, SALT, True)
  42. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/jwt/api_jwt.py", line 84, in decode
  43. payload, _, _, _ = self._load(jwt)
  44. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/jwt/api_jws.py", line 176, in _load
  45. raise DecodeError("Invalid token type. Token must be a {0}".format(
  46. jwt.exceptions.DecodeError: Invalid token type. Token must be a <class 'bytes'>
  47. [ERROR] [2022-10-12 21:24:14,779] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 500 108551
  48. [INFO] [2022-10-12 21:24:28,602] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userexportview.py changed, reloading.
  49. [INFO] [2022-10-12 21:24:28,923] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  50. [WARNING] [2022-10-12 21:24:31,151] [log.py:224] [log:log_response] - Forbidden: /api/v1/users/export
  51. [WARNING] [2022-10-12 21:24:31,154] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 403 43
  52. [INFO] [2022-10-12 21:24:40,596] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userexportview.py changed, reloading.
  53. [INFO] [2022-10-12 21:24:40,918] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  54. [ERROR] [2022-10-12 21:24:44,016] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/users/export
  55. Traceback (most recent call last):
  56. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
  57. response = get_response(request)
  58. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
  59. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  60. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
  61. return view_func(*args, **kwargs)
  62. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/django/views/generic/base.py", line 70, in view
  63. return self.dispatch(request, *args, **kwargs)
  64. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 509, in dispatch
  65. response = self.handle_exception(exc)
  66. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 469, in handle_exception
  67. self.raise_uncaught_exception(exc)
  68. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
  69. raise exc
  70. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch
  71. response = handler(request, *args, **kwargs)
  72. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userexportview.py", line 45, in get
  73. executor, action, method = get_log(request)
  74. File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/log/models.py", line 55, in get_log
  75. payload = jwt.decode(token, SALT, True)
  76. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/jwt/api_jwt.py", line 84, in decode
  77. payload, _, _, _ = self._load(jwt)
  78. File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/jwt/api_jws.py", line 176, in _load
  79. raise DecodeError("Invalid token type. Token must be a {0}".format(
  80. jwt.exceptions.DecodeError: Invalid token type. Token must be a <class 'bytes'>
  81. [ERROR] [2022-10-12 21:24:44,021] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 500 108551
  82. [INFO] [2022-10-12 21:25:21,634] [autoreload.py:251] [autoreload:trigger_reload] - /Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/user/views/userexportview.py changed, reloading.
  83. [INFO] [2022-10-12 21:25:22,002] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
  84. [INFO] [2022-10-12 21:25:26,083] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 200 11264