123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- [INFO] [2022-10-12 11:22:16,700] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [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.
- [INFO] [2022-10-12 11:30:16,433] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [WARNING] [2022-10-12 11:31:45,577] [log.py:224] [log:log_response] - Not Found: /api/v1/user/export
- [WARNING] [2022-10-12 11:31:45,578] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/user/export HTTP/1.1" 404 2967
- [WARNING] [2022-10-12 11:32:17,524] [log.py:224] [log:log_response] - Forbidden: /api/v1/users/export
- [WARNING] [2022-10-12 11:32:17,525] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 403 43
- [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.
- [INFO] [2022-10-12 11:32:34,063] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [INFO] [2022-10-12 11:32:35,833] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 200 11264
- [INFO] [2022-10-12 11:33:03,025] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 200 11264
- [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.
- [INFO] [2022-10-12 11:33:32,909] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [INFO] [2022-10-12 11:33:37,324] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 200 11264
- [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.
- [INFO] [2022-10-12 11:34:38,431] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [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.
- [INFO] [2022-10-12 15:05:08,367] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [INFO] [2022-10-12 21:23:53,103] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [ERROR] [2022-10-12 21:24:14,774] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/users/export
- 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/views/userexportview.py", line 45, in get
- executor, action, method = get_log(request)
- File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/log/models.py", line 55, in get_log
- payload = jwt.decode(token, SALT, True)
- File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/jwt/api_jwt.py", line 84, in decode
- payload, _, _, _ = self._load(jwt)
- File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/jwt/api_jws.py", line 176, in _load
- raise DecodeError("Invalid token type. Token must be a {0}".format(
- jwt.exceptions.DecodeError: Invalid token type. Token must be a <class 'bytes'>
- [ERROR] [2022-10-12 21:24:14,779] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 500 108551
- [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.
- [INFO] [2022-10-12 21:24:28,923] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [WARNING] [2022-10-12 21:24:31,151] [log.py:224] [log:log_response] - Forbidden: /api/v1/users/export
- [WARNING] [2022-10-12 21:24:31,154] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 403 43
- [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.
- [INFO] [2022-10-12 21:24:40,918] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [ERROR] [2022-10-12 21:24:44,016] [log.py:224] [log:log_response] - Internal Server Error: /api/v1/users/export
- 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/views/userexportview.py", line 45, in get
- executor, action, method = get_log(request)
- File "/Users/liufan/program/PYTHON/TestLaboratoryGit/TestLaboratory/apps/log/models.py", line 55, in get_log
- payload = jwt.decode(token, SALT, True)
- File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/jwt/api_jwt.py", line 84, in decode
- payload, _, _, _ = self._load(jwt)
- File "/Users/liufan/program/software/python/miniforge3/lib/python3.9/site-packages/jwt/api_jws.py", line 176, in _load
- raise DecodeError("Invalid token type. Token must be a {0}".format(
- jwt.exceptions.DecodeError: Invalid token type. Token must be a <class 'bytes'>
- [ERROR] [2022-10-12 21:24:44,021] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 500 108551
- [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.
- [INFO] [2022-10-12 21:25:22,002] [autoreload.py:637] [autoreload:run_with_reloader] - Watching for file changes with StatReloader
- [INFO] [2022-10-12 21:25:26,083] [basehttp.py:161] [basehttp:log_message] - "GET /api/v1/users/export HTTP/1.1" 200 11264
|