Skip to content

Conection error,failed to send the message! #5

Description

@939706171

Traceback (most recent call last):
File "/home/sty/keras/wechat_callback/wechat_utils.py", line 81, in t_send
itchat.send_msg(msg=msg,toUserName=toUserName)
File "/usr/local/lib/python2.7/dist-packages/itchat/components/messages.py", line 279, in send_msg
Start auto replying.
r = self.send_raw_msg(1, msg, toUserName)
File "/usr/local/lib/python2.7/dist-packages/itchat/components/messages.py", line 260, in send_raw_msg
url = '%s/webwxsendmsg' % self.loginInfo['url']
KeyError: 'url'

Conection error,failed to send the message!

请问为什么itchat.send_msg(msg=msg,toUserName=toUserName)会出问题了呢

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions