登录进去后报:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
后台打印了:
Traceback (most recent call last):
File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "C:\Soft\bot-on-anything-master\channel\http\http_channel.py", line 105, in login
response.set_cookie(key='Authorization', value=token)
File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\sansio\response.py", line 261, in set_cookie
dump_cookie(
File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\http.py", line 1465, in dump_cookie
if not _cookie_no_quote_re.fullmatch(value):
TypeError: expected string or bytes-like object
登录进去后报: Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 后台打印了: Traceback (most recent call last): File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 2190, in wsgi_app response = self.full_dispatch_request() File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1486, in full_dispatch_request rv = self.handle_user_exception(e) File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1484, in full_dispatch_request rv = self.dispatch_request() File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1469, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "C:\Soft\bot-on-anything-master\channel\http\http_channel.py", line 105, in login response.set_cookie(key='Authorization', value=token) File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\sansio\response.py", line 261, in set_cookie dump_cookie( File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\http.py", line 1465, in dump_cookie if not _cookie_no_quote_re.fullmatch(value): TypeError: expected string or bytes-like object