You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2024-04-30 10:14:29,216] ERROR in app: Exception on /log/output [GET]
Traceback (most recent call last):
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask_jwt_extended/view_decorators.py", line 103, in wrapper
return fn(*args, **kwargs)
File "/root/py12306-master/py12306/web/handler/log.py", line 30, in log_output
total_line = get_file_total_line_num(file)
File "/root/py12306-master/py12306/helpers/func.py", line 106, in get_file_total_line_num
return len(f.readlines())
File "/root/anaconda3/envs/py_12306/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9c in position 5868: invalid start byte
The text was updated successfully, but these errors were encountered:
[2024-04-30 10:14:29,216] ERROR in app: Exception on /log/output [GET]
Traceback (most recent call last):
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/root/anaconda3/envs/py_12306/lib/python3.7/site-packages/flask_jwt_extended/view_decorators.py", line 103, in wrapper
return fn(*args, **kwargs)
File "/root/py12306-master/py12306/web/handler/log.py", line 30, in log_output
total_line = get_file_total_line_num(file)
File "/root/py12306-master/py12306/helpers/func.py", line 106, in get_file_total_line_num
return len(f.readlines())
File "/root/anaconda3/envs/py_12306/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9c in position 5868: invalid start byte
The text was updated successfully, but these errors were encountered: