Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error code: 1] 可以接收微信信息,但是不能回复 #40

Closed
garypp1218 opened this issue Jan 22, 2019 · 6 comments
Closed

[error code: 1] 可以接收微信信息,但是不能回复 #40

garypp1218 opened this issue Jan 22, 2019 · 6 comments

Comments

@garypp1218
Copy link

garypp1218 commented Jan 22, 2019

2019-01-22 17:47:29,897 [ERROR]: telegram.ext.dispatcher (dispatcher.process_update; dispatcher.py:301)
An uncaught error was raised while processing the update
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/telegram/ext/dispatcher.py", line 279, in process_update
handler.handle_update(update, self)
File "/usr/local/lib/python3.6/site-packages/telegram/ext/messagehandler.py", line 169, in handle_update
return self.callback(dispatcher.bot, update, **optional_args)
File "/usr/local/lib/python3.6/site-packages/efb_telegram_master/master_message.py", line 71, in msg_thread_creator
threading.Thread(target=self.msg, args=(bot, update)).run()
File "/usr/local/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/site-packages/efb_telegram_master/master_message.py", line 109, in msg
return self.process_telegram_message(bot, update)
File "/usr/local/lib/python3.6/site-packages/efb_telegram_master/master_message.py", line 368, in process_telegram_message
slave_msg = coordinator.send_message(m)
File "/usr/local/lib/python3.6/site-packages/ehforwarderbot/coordinator.py", line 116, in send_message
return slaves[msg.deliver_to.channel_id].send_message(msg)
File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/init.py", line 324, in send_message
chat.mark_as_read()
File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/wxpy/utils/misc.py", line 67, in wrapped
ret = func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/wxpy/api/chats/chat.py", line 293, in mark_as_read
return req.request('POST')
File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/wxpy/utils/base_request.py", line 65, in request
return do()
File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/wxpy/utils/misc.py", line 72, in wrapped
smart_map(check_response_body, ret)
File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/wxpy/utils/misc.py", line 207, in smart_map
return func(i, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/efb_wechat_slave/wxpy/utils/misc.py", line 53, in check_response_body
raise ResponseError(err_code=err_code, err_msg=err_msg)
efb_wechat_slave.wxpy.exceptions.ResponseError: err_code: 1; err_msg:
@blueset blueset mentioned this issue Jan 23, 2019
@blueset
Copy link
Member

blueset commented Jan 23, 2019

微信网页版服务器报出的未知错误。目前导致原因和解决方案不明。

@kevin335200
Copy link

kevin335200 commented Feb 27, 2019

也有这个错
目前状态只能收不能发
另外link群聊似乎收不到信息,个人可以

@blueset blueset changed the title 可以接收微信信息,但是不能回复 [error code: 1] 可以接收微信信息,但是不能回复 Mar 12, 2019
@ys-xue
Copy link

ys-xue commented Mar 20, 2019

遇到了相似的的错误,能收到信息而且是在与bot的对话中,不能正确forward到绑定了的slave对话;发送/link给bot之后console log:

2019-03-20 21:32:40,621 [ERROR]: telegram.ext.dispatcher (dispatcher.process_update; dispatcher.py:370)
    An uncaught error was raised while processing the update
Traceback (most recent call last):
  File "/xxx/.local/lib/python3.6/site-packages/telegram/ext/dispatcher.py", line 329, in process_update
    check = handler.check_update(update)
  File "/xxx/.local/lib/python3.6/site-packages/efb_telegram_master/global_command_handler.py", line 34, in check_update
    res = self.filters(message)
  File "/xxx/.local/lib/python3.6/site-packages/telegram/ext/filters.py", line 75, in __call__
    return self.filter(update)
  File "/xxx/.local/lib/python3.6/site-packages/telegram/ext/filters.py", line 823, in filter
    return update.message is not None or update.edited_message is not None
AttributeError: 'Message' object has no attribute 'message'

@blueset
Copy link
Member

blueset commented Mar 24, 2019

@ys-xue 请参见 efb-telegram-master#48

@ys-xue
Copy link

ys-xue commented Mar 25, 2019

@blueset 感谢!

@blueset
Copy link
Member

blueset commented May 30, 2019

合并至 #55

@blueset blueset closed this as completed May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants