pig6 / wxrobot

基于python的微信机器人
791 stars 313 forks source link

登录报错 #7

Open ChriXChan opened 5 years ago

ChriXChan commented 5 years ago

Traceback (most recent call last): File "robot.py", line 12, in load.load_config_to_bot(bot) File "G:\projects\pyp\wxrobot-master\load.py", line 40, in load_config_to_bot bot.master.send(bot_status) File "C:\Users\Administrator\Anaconda3\envs\py35\lib\site-packages\wxpy\api\chats\chat.py", line 163, in send return self.send_msg(msg=content) File "C:\Users\Administrator\Anaconda3\envs\py35\lib\site-packages\wxpy\api\chats\chat.py", line 54, in wrapped ret = do_send() File "C:\Users\Administrator\Anaconda3\envs\py35\lib\site-packages\wxpy\utils\misc.py", line 72, in wrapped smart_map(check_response_body, ret) File "C:\Users\Administrator\Anaconda3\envs\py35\lib\site-packages\wxpy\utils\misc.py", line 207, in smart_map return func(i, *args, **kwargs) File "C:\Users\Administrator\Anaconda3\envs\py35\lib\site-packages\wxpy\utils\misc.py", line 53, in check_response_body raise ResponseError(err_code=err_code, err_msg=err_msg) wxpy.exceptions.ResponseError: err_code: 1; err_msg: LOG OUT!

pig6 commented 5 years ago

请确认你的微信是否可以登录微信网页版

ChriXChan commented 5 years ago

可以的。登录网页版是成功的。

猪哥 notifications@github.com 于2019年5月13日周一 下午11:12写道:

请确认你的微信是否可以登录微信网页版

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pig6/wxrobot/issues/7?email_source=notifications&email_token=ADI3LOHZEPZRMAA3ERR4FSLPVGAPTA5CNFSM4HMM4DN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIUA4Y#issuecomment-491864179, or mute the thread https://github.com/notifications/unsubscribe-auth/ADI3LOA4UHVSDP4D7FDYKTTPVGAPTANCNFSM4HMM4DNQ .

-- Yours sincerely

ChriXChan commented 5 years ago

调试的时候发现,bot.master是<Chat: 文件传输助手>,调用bot.master.send(bot_status)这句的时候报上面的报错。

lain-github commented 3 years ago

遇到了同样的问题