-
Notifications
You must be signed in to change notification settings - Fork 69
v2.1.0没法登录 #146
Comments
下面是日志: File "mys_goods_tool\api.py", line 719, in create_mmt File "mys_goods_tool\api.py", line 712, in request File "httpx_client.py", line 1757, in get File "httpx_client.py", line 1530, in request File "httpx_client.py", line 1606, in send RuntimeError: Cannot send a request, as the client has been closed. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "init.py", line 7, in File "mys_goods_tool_main_.py", line 52, in main File "textual\app.py", line 1233, in run File "asyncio\runners.py", line 190, in run File "asyncio\runners.py", line 118, in run File "asyncio\base_events.py", line 640, in run_until_complete File "asyncio\windows_events.py", line 321, in run_forever File "asyncio\base_events.py", line 607, in run_forever File "asyncio\base_events.py", line 1922, in _run_once File "asyncio\events.py", line 80, in _run File "textual\message_pump.py", line 449, in _process_messages File "textual\message_pump.py", line 503, in _process_messages_loop File "textual\message_pump.py", line 566, in _dispatch_message File "textual\message_pump.py", line 640, in _on_message File "textual_callback.py", line 74, in invoke File "textual_callback.py", line 36, in _invoke File "mys_goods_tool\login_view.py", line 303, in _on_button_pressed File "mys_goods_tool\login_view.py", line 283, in create_captcha
File "tenacity_asyncio.py", line 71, in anext File "tenacity_init_.py", line 326, in iter tenacity.RetryError: RetryError[<Future at 0x2a52466bd90 state=finished raised RuntimeError>] File "mys_goods_tool\api.py", line 719, in create_mmt File "mys_goods_tool\api.py", line 712, in request File "httpx_client.py", line 1757, in get File "httpx_client.py", line 1530, in request File "httpx_client.py", line 1606, in send RuntimeError: Cannot send a request, as the client has been closed. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "init.py", line 7, in File "mys_goods_tool_main_.py", line 52, in main File "textual\app.py", line 1233, in run File "asyncio\runners.py", line 190, in run File "asyncio\runners.py", line 118, in run File "asyncio\base_events.py", line 640, in run_until_complete File "asyncio\windows_events.py", line 321, in run_forever File "asyncio\base_events.py", line 607, in run_forever File "asyncio\base_events.py", line 1922, in _run_once File "asyncio\events.py", line 80, in _run File "textual\message_pump.py", line 449, in _process_messages File "textual\message_pump.py", line 503, in _process_messages_loop File "textual\message_pump.py", line 566, in _dispatch_message File "textual\message_pump.py", line 640, in _on_message File "textual_callback.py", line 74, in invoke File "textual_callback.py", line 36, in _invoke File "mys_goods_tool\login_view.py", line 303, in _on_button_pressed File "mys_goods_tool\login_view.py", line 283, in create_captcha
File "tenacity_asyncio.py", line 71, in anext File "tenacity_init_.py", line 326, in iter tenacity.RetryError: RetryError[<Future at 0x2a524b48ed0 state=finished raised RuntimeError>] |
这个情况和之前出现的登录时网络错误有点像 |
手动设置Cookies也是可以,不过比较麻烦 |
我好像在讨论区看到过,解决办法是先在验证码处输入随便的6位数字,再填写手机号获取验证码,多试几次就成功了。 |
在这个看到的#115 不知道是不是玄学还是多试几次的问题 |
开梯子了吗? |
version: 2.1.0
os: win10
启动程序后输入手机号点击发送验证码后并不会发送验证码,我试着用pc访问米游社-原神发送验证码然后去程序里输入验证码登录,发现依然不能登录。能否像V1.x版本那样设置token就行
The text was updated successfully, but these errors were encountered: