Urinx / WeixinBot

网页版微信API,包含终端版微信及微信机器人
Apache License 2.0
7.23k stars 1.98k forks source link

发送消息时软件奔溃 #245

Open xiegeyang opened 6 years ago

xiegeyang commented 6 years ago

4029534919478924547 滴雨的屋檐 -> 甜心宝贝我永远爱你: hi Traceback (most recent call last): File "weixin.py", line 1219, in webwx.start() File "weixin.py", line 36, in wrapper return fn(*args) File "weixin.py", line 1013, in start _thread.start_new_thread(self.listenMsgMode()) File "weixin.py", line 900, in listenMsgMode self.handleMsg(r) File "weixin.py", line 801, in handleMsg ans = self._xiaodoubi(content) + '\n[微信机器人自动回复]' TypeError: can't concat str to bytes

zsy2504 commented 6 years ago

遇到同样的问题,解决了吗?

xiegeyang commented 6 years ago

解决了, 我请求了一个pull request, issue#246

zsy2504 commented 6 years ago

能详细说说么,issue246也没看到啊

zsy2504 commented 6 years ago

看到了

zkailinzhang commented 6 years ago

谢谢 issue246,,但是语音和图片不会回复呢

xiegeyang commented 6 years ago

的确, 我没有实现这个功能

jf546897 commented 5 years ago

4029534919478924547 滴雨的屋檐 -> 甜心宝贝我永远爱你: hi Traceback (most recent call last): File "weixin.py", line 1219, in webwx.start() File "weixin.py", line 36, in wrapper return fn(*args) File "weixin.py", line 1013, in start _thread.start_new_thread(self.listenMsgMode()) File "weixin.py", line 900, in listenMsgMode self.handleMsg(r) File "weixin.py", line 801, in handleMsg ans =【self._xiaodoubi(content) +】 '\n[微信机器人自动回复]' TypeError: can't concat str to bytes

去掉大括号里面的一段,delete 【self._xiaodoubi(content) +】