ehForwarderBot / efb-wechat-slave

A channel for EH Forwarder Bot.
GNU Affero General Public License v3.0
458 stars 62 forks source link

收集网页版微信「未知错误提示」对应的现象 #55

Open blueset opened 5 years ago

blueset commented 5 years ago

在这里统一收集一下网页版微信返回的「未知错误提示」和其对应的现象,以便更好的改进代码。

有发现错误代码可能导致的原因的,请在下方留言。

错误代码 可能的原因
1100 掉线 [wxpy]
1101 掉线 [ref. Mar. 2017, wxpy]
1101 服务器抽风(临时)(#47)
1102 掉线 [wxpy]
1204 操作对象不是好友 [wxpy]
1205 操作频率过高 [wxpy]
1 ❓ 不明 (#40)
1 Non-ASCII 文件名 (#49)
3 ❓ 不明 (掉线?)
-1 ❓ 不明(未指定错误?)

其他参照

1101

  1. Apr. 2019;

    1102

    May. 2019;

    1205

    Nov. 2019;

    1

  2. May. 2019; May. 2019; May. 2019; Mar. 2019; Apr. 2019; Mar. 2019; Feb. 2019; Jul. 2019; Oct. 2019;
  3. Mar. 2019; Mar. 2019; July. 2018; Feb. 2018;

    3

    Apr. 2019; Feb. 2019; Dec, 2019; Jun. 2021;

    -1

    Mar. 2019;

NOBLES5E commented 5 years ago

今天开始无法登录,收到

<error><ret>-1</ret><message></message></error>
NOBLES5E commented 5 years ago

已恢复

marcher233 commented 4 years ago

今天遇到了报告 -1 的情况,是在使用 Telegram 回复功能发现消息到一个群聊时发生的。 经测试,这个群聊于近日被修改过群聊名称,使用 /chat groupname 时输出了两个相同的群名称。而在微信网页版界面上搜索同样名称,只看到一个群名称。

blueset commented 4 years ago

我的 error -1 应该是微信客户端离线时间过长,打开上线即可,EFB 无需操作(重登等),之前不知道还 force logout 然后登录… — @sd_agent 2020 年 1 月于支持群

blueset commented 4 years ago

image -1:消息发送到了不存在的收件人。

来源:@sd_agent 2020 年 1 月于支持群

blueset commented 4 years ago

有一种-1的情况是某个联系人或者群组很久没有发过消息,这时候从tg发消息会-1,在微信上发过一次消息之后就又好了 来源:@Wolfsilver 2020 年 1 月于支持群

blueset commented 4 years ago

我今天也收到 -1 的情况了。绑定的一个群组,今天发消息发不过去了,但是收消息没问题。上一次发消息是前几天大更新之前的事儿。 来源:@ryandesign 2020 年 1 月于支持群

zhangqiqiqaq commented 4 years ago

错误3出现应该是,手机端wechat长时间没有在线导致的web端wechat冻结或者掉线,重新打开一下手机端wechat就好了

ous50 commented 4 years ago

有一种-1的情况是某个联系人或者群组很久没有发过消息,这时候从tg发消息会-1,在微信上发过一次消息之后就又好了 来源:@Wolfsilver 2020 年 1 月于支持群

刚刚试过了,还是同样报错

JohnChu101 commented 4 years ago

添加一个-1的情况。新设立的群组,别人发言了,我没在其中发言,尽管能收到消息,但发消息会得到错误码-1。

birdvd commented 4 years ago

我这里微信手机客户端再次上线后问题就会解决,下线一段时间有几率复现

kettly1260 commented 4 years ago

发送动态贴纸时出现错误代码 1

ccbentlee commented 4 years ago

发图片总出现-1错误

Cysime commented 4 years ago

今天遇到了一个 -1 错误,出现在发送了一个12MB的doc文档的时候,看起来稍微大一点就会这样,小的比如1~2M的没问题

karuboniru commented 4 years ago

会话绑定到群组后发言必然-1

2591014574 commented 3 years ago

image 会话绑定到群组后发言-1错误,不过其他的群组没问题,不知道原因

blueset commented 3 years ago

@2591014574 会话绑定到群组后发言-1错误,不过其他的群组没问题,不知道原因

如果反复绑定解绑可以复现这个问题的话,希望能提供一下整个过程的 verbose 日志,谢谢。

2591014574 commented 3 years ago

r_msg) efb_wechat_slave.vendor.wxpy.exceptions.ResponseError: err_code: -1; err_msg:

During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/efb_telegram_master/master_message.py", line 393, in process_telegram_message slave_msg = coordinator.send_message(m) File "/usr/local/lib/python3.6/dist-packages/ehforwarderbot/coordinator.py", line 113, in send_message return slaves[msg.deliver_to.channel_id].send_message(msg) File "/usr/local/lib/python3.6/dist-packages/efb_wechat_slave/init.py", line 399, in send_message r.append(self._bot_send_msg(chat, msg.text)) File "/usr/local/lib/python3.6/dist-packages/efb_wechat_slave/init.py", line 722, in _bot_send_msg .format(code=e.err_code, message=e.err_msg)) ehforwarderbot.exceptions.EFBMessageError: Error from Web WeChat while sending message: [-1] This is an unknown error from Web WeChat which we know nothing about why this is happening. If you have seen a pattern or if you happen to know the reason for this error code, please leave a comment at https://ews.1a23.studio/issues/55 .

这个日志可以吗?

blueset commented 3 years ago

@2591014574

希望能提供下从「绑定前消息成功发出」到「绑定后报错」整个过程的完整 verbose 日志,谢谢。

kid-oh commented 3 years ago

报错3,使用Ubuntu搭建,重新打开一遍手机微信就可以重新连接,关闭微信一两天就会掉线,有解决办法吗

HEAVENPro commented 3 years ago

-1我自己测试了一下,只有给自己发消息的时候会出现,给别人发消息没问题

junyixu commented 3 years ago

Message is not sent.

未能发送图片。来自网页版微信的错误提示:[-1] 这是一个来自网页版微信的未知错误,我们该错误的成因一无所知。如果您有发现相关规律,或了解这个错误的原因。请您前往 https://ews.1a23.studio/issues/55 进行反馈。

9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     chat.mark_as_read()
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 66, in wrapped
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     ret = func(*args, **kwargs)
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/api/chats/chat.py", line 293, in mark_as_read
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     return req.request('POST')
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/base_request.py", line 64, in request
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     return do()
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 71, in wrapped
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     smart_map(check_response_body, ret)
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 206, in smart_map
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     return func(i, *args, **kwargs)
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 52, in check_response_body
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     raise ResponseError(err_code=err_code, err_msg=err_msg)
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]: efb_wechat_slave.vendor.wxpy.exceptions.ResponseError: err_code: 1; err_msg:
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: 2021-09-23 21:16:49,668 [ERROR]: efb_telegram_master.master_message (master_message.process_telegram_message; master_message.py:407)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     Message is not sent. (update: {'update_id': 103530878, 'message': {'new_chat_members': [], 'message_id': 36576, 'supergroup_chat_created': False, 'caption_entities': [], 'chat': {'id': -556416381, 'all_members_are_administrators': True, 'type': 'group', 'title': 'testtt'}, 'date': 1632402998, 'entities': [], 'channel_chat_created': False, 'delete_chat_photo': False, 'photo': [{'height': 26, 'file_id': 'AgACAgUAAxkBAAKO4GFMfjZuDaKzFCdjJY-Jb9No4fVdAAKUrjEbQGhpVhjO0py3Q46FAQADAgADcwADIQQ', 'file_unique_id': 'AQADlK4xG0BoaVZ4', 'width': 90, 'file_size': 876}, {'height': 94, 'file_id': 'AgACAgUAAxkBAAKO4GFMfjZuDaKzFCdjJY-Jb9No4fVdAAKUrjEbQGhpVhjO0py3Q46FAQADAgADbQADIQQ', 'file_unique_id': 'AQADlK4xG0BoaVZy', 'width': 320, 'file_size': 13377}, {'height': 235, 'file_id': 'AgACAgUAAxkBAAKO4GFMfjZuDaKzFCdjJY-Jb9No4fVdAAKUrjEbQGhpVhjO0py3Q46FAQADAgADeAADIQQ', 'file_unique_id': 'AQADlK4xG0BoaVZ9', 'width': 800, 'file_size': 49056}, {'height': 376, 'file_id': 'AgACAgUAAxkBAAKO4GFMfjZuDaKzFCdjJY-Jb9No4fVdAAKUrjEbQGhpVhjO0py3Q46FAQADAgADeQADIQQ', 'file_unique_id': 'AQADlK4xG0BoaVZ-', 'width': 1280, 'file_size': 81852}], 'new_chat_photo': [], 'group_chat_created': False, 'from': {'first_name': '火星人', 'is_bot': False, 'language_code': 'zh-hans', 'username': 'xxujysgy', 'id': 459180484}}}, exception: 未能发送图片。来自网页版微信的错误提示:[-1] 这是一个来自网页版微信的未知错误,我们该错误的成因一无所知。如果您有发现相关规律,或了解这个错误的原因。请您前往 https://ews.1a23.studio/issues/55 进行反馈。)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: Traceback (most recent call last):
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/__init__.py", line 734, in _bot_send_image
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     return chat.send_image(filename, file=file)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/api/chats/chat.py", line 54, in wrapped
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     ret = do_send()
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 71, in wrapped
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     smart_map(check_response_body, ret)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 206, in smart_map
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     return func(i, *args, **kwargs)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 52, in check_response_body
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     raise ResponseError(err_code=err_code, err_msg=err_msg)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: efb_wechat_slave.vendor.wxpy.exceptions.ResponseError: err_code: -1; err_msg:
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: During handling of the above exception, another exception occurred:
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: Traceback (most recent call last):
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_telegram_master/master_message.py", line 393, in process_telegram_message
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     slave_msg = coordinator.send_message(m)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/ehforwarderbot/coordinator.py", line 113, in send_message
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     return slaves[msg.deliver_to.channel_id].send_message(msg)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/__init__.py", line 471, in send_message
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     r.append(self._bot_send_image(chat, filename, file))
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/__init__.py", line 737, in _bot_send_image
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     raise EFBMessageError(self._("Error from Web WeChat while sending image: [{code}] {message}")
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: ehforwarderbot.exceptions.EFBMessageError: 未能发送图片。来自网页版微信的错误提示:[-1] 这是一个来自网页版微信的未知错误,我们该错误的成因一无所知。如果您有发现相关规律,或了解这个错误的原因。请您前往 https://ews.1a23.studio/issues/55 进行反馈。
junyixu commented 3 years ago

Message is not sent.

未能发送图片。来自网页版微信的错误提示:[-1] 这是一个来自网页版微信的未知错误,我们该错误的成因一无所知。如果您有发现相关规律,或了解这个错误的原因。请您前往 https://ews.1a23.studio/issues/55 进行反馈。

9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     chat.mark_as_read()
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 66, in wrapped
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     ret = func(*args, **kwargs)
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/api/chats/chat.py", line 293, in mark_as_read
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     return req.request('POST')
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/base_request.py", line 64, in request
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     return do()
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 71, in wrapped
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     smart_map(check_response_body, ret)
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 206, in smart_map
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     return func(i, *args, **kwargs)
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 52, in check_response_body
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]:     raise ResponseError(err_code=err_code, err_msg=err_msg)
9月 23 21:16:47 Aliyun-ArchLinux python3[28240]: efb_wechat_slave.vendor.wxpy.exceptions.ResponseError: err_code: 1; err_msg:
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: 2021-09-23 21:16:49,668 [ERROR]: efb_telegram_master.master_message (master_message.process_telegram_message; master_message.py:407)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     Message is not sent. (update: {'update_id': 103530878, 'message': {'new_chat_members': [], 'message_id': 36576, 'supergroup_chat_created': False, 'caption_entities': [], 'chat': {'id': -556416381, 'all_members_are_administrators': True, 'type': 'group', 'title': 'testtt'}, 'date': 1632402998, 'entities': [], 'channel_chat_created': False, 'delete_chat_photo': False, 'photo': [{'height': 26, 'file_id': 'AgACAgUAAxkBAAKO4GFMfjZuDaKzFCdjJY-Jb9No4fVdAAKUrjEbQGhpVhjO0py3Q46FAQADAgADcwADIQQ', 'file_unique_id': 'AQADlK4xG0BoaVZ4', 'width': 90, 'file_size': 876}, {'height': 94, 'file_id': 'AgACAgUAAxkBAAKO4GFMfjZuDaKzFCdjJY-Jb9No4fVdAAKUrjEbQGhpVhjO0py3Q46FAQADAgADbQADIQQ', 'file_unique_id': 'AQADlK4xG0BoaVZy', 'width': 320, 'file_size': 13377}, {'height': 235, 'file_id': 'AgACAgUAAxkBAAKO4GFMfjZuDaKzFCdjJY-Jb9No4fVdAAKUrjEbQGhpVhjO0py3Q46FAQADAgADeAADIQQ', 'file_unique_id': 'AQADlK4xG0BoaVZ9', 'width': 800, 'file_size': 49056}, {'height': 376, 'file_id': 'AgACAgUAAxkBAAKO4GFMfjZuDaKzFCdjJY-Jb9No4fVdAAKUrjEbQGhpVhjO0py3Q46FAQADAgADeQADIQQ', 'file_unique_id': 'AQADlK4xG0BoaVZ-', 'width': 1280, 'file_size': 81852}], 'new_chat_photo': [], 'group_chat_created': False, 'from': {'first_name': '火星人', 'is_bot': False, 'language_code': 'zh-hans', 'username': 'xxujysgy', 'id': 459180484}}}, exception: 未能发送图片。来自网页版微信的错误提示:[-1] 这是一个来自网页版微信的未知错误,我们该错误的成因一无所知。如果您有发现相关规律,或了解这个错误的原因。请您前往 https://ews.1a23.studio/issues/55 进行反馈。)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: Traceback (most recent call last):
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/__init__.py", line 734, in _bot_send_image
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     return chat.send_image(filename, file=file)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/api/chats/chat.py", line 54, in wrapped
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     ret = do_send()
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 71, in wrapped
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     smart_map(check_response_body, ret)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 206, in smart_map
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     return func(i, *args, **kwargs)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 52, in check_response_body
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     raise ResponseError(err_code=err_code, err_msg=err_msg)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: efb_wechat_slave.vendor.wxpy.exceptions.ResponseError: err_code: -1; err_msg:
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: During handling of the above exception, another exception occurred:
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: Traceback (most recent call last):
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_telegram_master/master_message.py", line 393, in process_telegram_message
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     slave_msg = coordinator.send_message(m)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/ehforwarderbot/coordinator.py", line 113, in send_message
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     return slaves[msg.deliver_to.channel_id].send_message(msg)
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/__init__.py", line 471, in send_message
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     r.append(self._bot_send_image(chat, filename, file))
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:   File "/home/junyi/.local/lib/python3.9/site-packages/efb_wechat_slave/__init__.py", line 737, in _bot_send_image
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]:     raise EFBMessageError(self._("Error from Web WeChat while sending image: [{code}] {message}")
9月 23 21:16:49 Aliyun-ArchLinux python3[28240]: ehforwarderbot.exceptions.EFBMessageError: 未能发送图片。来自网页版微信的错误提示:[-1] 这是一个来自网页版微信的未知错误,我们该错误的成因一无所知。如果您有发现相关规律,或了解这个错误的原因。请您前往 https://ews.1a23.studio/issues/55 进行反馈。

从手机微信客户端发送消息,从 tg 的微信机器人弹出 image 重新绑定后解决

QieSen commented 3 years ago

根据这段时间的使用经验,Error [-1] 的出现大多数时候伴随重新登录行为,并且在私聊和群聊中都可能出现,使用 /unlink_all 并重新绑定对应会话即可恢复,无需打开微信客户端。 我认为重新登录期间活跃的会话把冷却的挤掉了,可能是web端会话列表刷新有限制或者ews的会话绑定机制有缺陷。

zhubeilife commented 2 years ago

[-1] This is an unknown error,我出现问题的时候好像是因为我微信的好友里,有两个人的名字都是一样的

FlechazoPh commented 2 years ago

无法绑定会话到群组,绑定的时候出错了

Message is not sent.

Error from Web WeChat while sending message: [1201] This is an unknown error from Web WeChat which we know nothing about why this is happening. If you have seen a pattern or if you happen to know the reason for this error code, please leave a comment at https://ews.1a23.studio/issues/55 .

chern91552 commented 2 years ago

如果向接口测试公众号发消息会出现-1错误

TwoZz commented 2 years ago

救命,一输ehforwarderbot就报错咋整 Traceback (most recent call last): File "/usr/local/bin/ehforwarderbot", line 8, in <module> sys.exit(main()) File "/home/ubuntu/.local/lib/python3.6/site-packages/ehforwarderbot/__main__.py", line 330, in main conf = config.load_config() File "/home/ubuntu/.local/lib/python3.6/site-packages/ehforwarderbot/config.py", line 45, in load_config channel = utils.locate_module(data['master_channel'], 'master') File "/home/ubuntu/.local/lib/python3.6/site-packages/ehforwarderbot/utils.py", line 145, in locate_module return i.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2330, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/home/ubuntu/.local/lib/python3.6/site-packages/efb_telegram_master/__init__.py", line 18, in <module> from telegram.ext import CommandHandler, CallbackQueryHandler, CallbackContext, Filters File "/usr/local/lib/python3.6/dist-packages/telegram/ext/__init__.py", line 31, in <module> from .updater import Updater File "/usr/local/lib/python3.6/dist-packages/telegram/ext/updater.py", line 55, in <module> class Updater(Generic[CCT, UD, CD, BD]): File "/usr/local/lib/python3.6/dist-packages/telegram/ext/updater.py", line 198, in Updater dispatcher: Dispatcher[CCT, UD, CD, BD] = None, File "/usr/lib/python3.6/typing.py", line 682, in inner return func(*args, **kwds) File "/usr/lib/python3.6/typing.py", line 1143, in __getitem__ orig_bases=self.__orig_bases__) File "/usr/lib/python3.6/typing.py", line 978, in __new__ self = super().__new__(cls, name, bases, namespace, _root=True) File "/usr/lib/python3.6/typing.py", line 137, in __new__ return super().__new__(cls, name, bases, namespace) File "/usr/lib/python3.6/abc.py", line 133, in __new__ cls = super().__new__(mcls, name, bases, namespace, **kwargs) TypeError: __dict__ slot disallowed: we already got on

xapool commented 2 years ago

救命,一输ehforwarderbot就报错咋整 Traceback (most recent call last): File "/usr/local/bin/ehforwarderbot", line 8, in <module> sys.exit(main()) File "/home/ubuntu/.local/lib/python3.6/site-packages/ehforwarderbot/__main__.py", line 330, in main conf = config.load_config() File "/home/ubuntu/.local/lib/python3.6/site-packages/ehforwarderbot/config.py", line 45, in load_config channel = utils.locate_module(data['master_channel'], 'master') File "/home/ubuntu/.local/lib/python3.6/site-packages/ehforwarderbot/utils.py", line 145, in locate_module return i.load() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2324, in load return self.resolve() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2330, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/home/ubuntu/.local/lib/python3.6/site-packages/efb_telegram_master/__init__.py", line 18, in <module> from telegram.ext import CommandHandler, CallbackQueryHandler, CallbackContext, Filters File "/usr/local/lib/python3.6/dist-packages/telegram/ext/__init__.py", line 31, in <module> from .updater import Updater File "/usr/local/lib/python3.6/dist-packages/telegram/ext/updater.py", line 55, in <module> class Updater(Generic[CCT, UD, CD, BD]): File "/usr/local/lib/python3.6/dist-packages/telegram/ext/updater.py", line 198, in Updater dispatcher: Dispatcher[CCT, UD, CD, BD] = None, File "/usr/lib/python3.6/typing.py", line 682, in inner return func(*args, **kwds) File "/usr/lib/python3.6/typing.py", line 1143, in __getitem__ orig_bases=self.__orig_bases__) File "/usr/lib/python3.6/typing.py", line 978, in __new__ self = super().__new__(cls, name, bases, namespace, _root=True) File "/usr/lib/python3.6/typing.py", line 137, in __new__ return super().__new__(cls, name, bases, namespace) File "/usr/lib/python3.6/abc.py", line 133, in __new__ cls = super().__new__(mcls, name, bases, namespace, **kwargs) TypeError: __dict__ slot disallowed: we already got on

更新后,遇到了同样的问题。

xapool commented 2 years ago

@TwoZz 把 python 版本从 3.6 升级到 3.8 后,问题解决

phoenixxie0 commented 2 years ago

两次对同一个好友发送同一个tg动态表情,一次失败一次成功 日志如下

ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.3.1 (Alpine 10.3.1_git20210424) 20210424
  configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static --disable-librtmp --enable-vaapi --enable-vdpau --enable-libopus --enable-vulkan --enable-libsoxr --enable-libwebp --enable-libaom --disable-debug
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, matroska,webm, from '/tmp/tmpcc8c8ybg.gif':
  Metadata:
    COMMENT         : Made with ScreenToGif
    MAJOR_BRAND     : isom
    MINOR_VERSION   : 512
    COMPATIBLE_BRANDS: isomiso2avc1mp41
    ENCODER         : Lavf59.17.100
  Duration: 00:00:02.59, start: 0.000000, bitrate: 349 kb/s
  Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, progressive), 512x440, SAR 1:1 DAR 64:55, 34 fps, 34 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      alpha_mode      : 1
      HANDLER_NAME    : VideoHandler
      VENDOR_ID       : [0][0][0][0]
      ENCODER         : Lavc59.20.100 libvpx-vp9
      DURATION        : 00:00:02.588000000
Stream mapping:
  Stream #0:0 -> #0:0 (vp9 (native) -> gif (native))
Press [q] to stop, [?] for help
[swscaler @ 0x7f43495f8080] No accelerated colorspace conversion found from yuv420p to bgr8.
Output #0, gif, to '/tmp/tmpfsols_b5.gif':
  Metadata:
    COMMENT         : Made with ScreenToGif
    MAJOR_BRAND     : isom
    MINOR_VERSION   : 512
    COMPATIBLE_BRANDS: isomiso2avc1mp41
    encoder         : Lavf58.76.100
  Stream #0:0: Video: gif, bgr8(pc, gbr/unknown/unknown, progressive), 512x440 [SAR 1:1 DAR 64:55], q=2-31, 200 kb/s, 34 fps, 100 tbn (default)
    Metadata:
      alpha_mode      : 1
      HANDLER_NAME    : VideoHandler
      VENDOR_ID       : [0][0][0][0]
      DURATION        : 00:00:02.588000000
      encoder         : Lavc58.134.100 gif
frame=   88 fps=0.0 q=-0.0 Lsize=    1205kB time=00:00:02.57 bitrate=3841.0kbits/s speed=4.24x    
video:1205kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001621%
2022-07-29 13:51:23,000 [ERROR]: efb_telegram_master.master_message (master_message.process_telegram_message; master_message.py:419)
    Message is not sent. (update: {'message': {'new_chat_members': [], 'new_chat_photo': [], 'group_chat_created': False, 'caption_entities': [], 'message_id': 1572, 'entities': [], 'photo': [], 'date': 1659073875, 'delete_chat_photo': False, 'chat': {'title': '𝙒𝙚𝙘𝙝𝙖𝙩丨 梁冬梅', 'type': 'supergroup', 'id': -1001542509285}, 'supergroup_chat_created': False, 'channel_chat_created': False, 'sticker': {'file_unique_id': 'AgADaQkAAmCJaFY', 'set_name': 'Lycoris_Recoil', 'file_id': 'CAACAgUAAx0CW_DS5QACBiRi43VUUIA2QLsM9uPZzX09_mET-wACaQkAAmCJaFado3O1nsxp4CkE', 'height': 440, 'file_size': 113053, 'is_video': True, 'is_animated': False, 'emoji': '😫', 'thumb': {'file_unique_id': 'AQADaQkAAmCJaFZy', 'file_id': 'AAMCBQADHQJb8NLlAAIGJGLjdVRQgDZAuwz249nNfT3-YRP7AAJpCQACYIloVp2jc7WezGngAQAHbQADKQQ', 'height': 275, 'file_size': 16082, 'width': 320}, 'width': 512}, 'from': {'language_code': 'zh-hans', 'username': 'phoenixxie', 'id': 93189374, 'first_name': 'Phoenix', 'is_bot': False}}, 'update_id': 609407144}, exception: Error from Web WeChat while sending image: [-1] This is an unknown error from Web WeChat which we know nothing about why this is happening. If you have seen a pattern or if you happen to know the reason for this error code, please leave a comment at https://ews.1a23.studio/issues/55 .)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/efb_wechat_slave/__init__.py", line 744, in _bot_send_image
    return chat.send_image(filename, file=file)
  File "/usr/local/lib/python3.8/site-packages/efb_wechat_slave/vendor/wxpy/api/chats/chat.py", line 54, in wrapped
    ret = do_send()
  File "/usr/local/lib/python3.8/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 71, in wrapped
    smart_map(check_response_body, ret)
  File "/usr/local/lib/python3.8/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 206, in smart_map
    return func(i, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/efb_wechat_slave/vendor/wxpy/utils/misc.py", line 52, in check_response_body
    raise ResponseError(err_code=err_code, err_msg=err_msg)
efb_wechat_slave.vendor.wxpy.exceptions.ResponseError: err_code: -1; err_msg: 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/efb_telegram_master/master_message.py", line 405, in process_telegram_message
    slave_msg = coordinator.send_message(m)
  File "/usr/local/lib/python3.8/site-packages/ehforwarderbot/coordinator.py", line 113, in send_message
    return slaves[msg.deliver_to.channel_id].send_message(msg)
  File "/usr/local/lib/python3.8/site-packages/efb_wechat_slave/__init__.py", line 476, in send_message
    r.append(self._bot_send_image(chat, filename, file))
  File "/usr/local/lib/python3.8/site-packages/efb_wechat_slave/__init__.py", line 747, in _bot_send_image
    raise EFBMessageError(self._("Error from Web WeChat while sending image: [{code}] {message}")
ehforwarderbot.exceptions.EFBMessageError: Error from Web WeChat while sending image: [-1] This is an unknown error from Web WeChat which we know nothing about why this is happening. If you have seen a pattern or if you happen to know the reason for this error code, please leave a comment at https://ews.1a23.studio/issues/55 .
ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.3.1 (Alpine 10.3.1_git20210424) 20210424
  configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static --disable-librtmp --enable-vaapi --enable-vdpau --enable-libopus --enable-vulkan --enable-libsoxr --enable-libwebp --enable-libaom --disable-debug
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, matroska,webm, from '/tmp/tmp0idkbhxs.gif':
  Metadata:
    COMMENT         : Made with ScreenToGif
    MAJOR_BRAND     : isom
    MINOR_VERSION   : 512
    COMPATIBLE_BRANDS: isomiso2avc1mp41
    ENCODER         : Lavf59.17.100
  Duration: 00:00:02.59, start: 0.000000, bitrate: 349 kb/s
  Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, progressive), 512x440, SAR 1:1 DAR 64:55, 34 fps, 34 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      alpha_mode      : 1
      HANDLER_NAME    : VideoHandler
      VENDOR_ID       : [0][0][0][0]
      ENCODER         : Lavc59.20.100 libvpx-vp9
      DURATION        : 00:00:02.588000000
Stream mapping:
  Stream #0:0 -> #0:0 (vp9 (native) -> gif (native))
Press [q] to stop, [?] for help
[swscaler @ 0x7f8dc6a40080] No accelerated colorspace conversion found from yuv420p to bgr8.
Output #0, gif, to '/tmp/tmpw7ikqa7x.gif':
  Metadata:
    COMMENT         : Made with ScreenToGif
    MAJOR_BRAND     : isom
    MINOR_VERSION   : 512
    COMPATIBLE_BRANDS: isomiso2avc1mp41
    encoder         : Lavf58.76.100
  Stream #0:0: Video: gif, bgr8(pc, gbr/unknown/unknown, progressive), 512x440 [SAR 1:1 DAR 64:55], q=2-31, 200 kb/s, 34 fps, 100 tbn (default)
    Metadata:
      alpha_mode      : 1
      HANDLER_NAME    : VideoHandler
      VENDOR_ID       : [0][0][0][0]
      DURATION        : 00:00:02.588000000
      encoder         : Lavc58.134.100 gif
frame=   88 fps=0.0 q=-0.0 Lsize=    1205kB time=00:00:02.57 bitrate=3841.0kbits/s speed=4.25x    
video:1205kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001621%
kagwind commented 2 years ago

未能发送tg动态表情包。相关错误信息如下:

ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-g
pl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable
-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --
enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable
-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --en
able-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --e
nable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, matroska,webm, from '/tmp/tmp7c8s483j.gif':
  Metadata:
    COMPATIBLE_BRANDS: isomiso2avc1mp41
    MAJOR_BRAND     : isom
    MINOR_VERSION   : 512
    ENCODER         : Lavf58.76.100
  Duration: 00:00:02.91, start: 0.000000, bitrate: 643 kb/s
    Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, progressive), 512x512, SAR 1:1 DAR 1:1, 33.33 fps, 33.33 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      HANDLER_NAME    : VideoHandler
      VENDOR_ID       : [0][0][0][0]
      ENCODER         : Lavc58.134.100 libvpx-vp9
      DURATION        : 00:00:02.910000000
Stream mapping:
  Stream #0:0 -> #0:0 (vp9 (native) -> gif (native))
Press [q] to stop, [?] for help
[swscaler @ 0xaaab056a8f30] No accelerated colorspace conversion found from yuv420p to bgr8.
Output #0, gif, to '/tmp/tmpat6cxpnm.gif':
  Metadata:
    COMPATIBLE_BRANDS: isomiso2avc1mp41
    MAJOR_BRAND     : isom
    MINOR_VERSION   : 512
    encoder         : Lavf58.29.100
    Stream #0:0: Video: gif, bgr8, 512x512 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 33.33 fps, 100 tbn, 33.33 tbc (default)
    Metadata:
      HANDLER_NAME    : VideoHandler
      VENDOR_ID       : [0][0][0][0]
      DURATION        : 00:00:02.910000000
      encoder         : Lavc58.54.100 gif
frame=   97 fps=0.0 q=-0.0 Lsize=    4802kB time=00:00:02.89 bitrate=13611.0kbits/s speed=7.37x
video:4802kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000407%
2022-08-06 03:28:17,739 [ERROR]: efb_telegram_master.master_message (master_message.process_telegram_message; master_message.py:419)
phoenixxie0 commented 2 years ago

未能发送tg动态表情包。相关错误信息如下:

ffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-g
pl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable
-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --
enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable
-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --en
able-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --e
nable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, matroska,webm, from '/tmp/tmp7c8s483j.gif':
  Metadata:
    COMPATIBLE_BRANDS: isomiso2avc1mp41
    MAJOR_BRAND     : isom
    MINOR_VERSION   : 512
    ENCODER         : Lavf58.76.100
  Duration: 00:00:02.91, start: 0.000000, bitrate: 643 kb/s
    Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, progressive), 512x512, SAR 1:1 DAR 1:1, 33.33 fps, 33.33 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      HANDLER_NAME    : VideoHandler
      VENDOR_ID       : [0][0][0][0]
      ENCODER         : Lavc58.134.100 libvpx-vp9
      DURATION        : 00:00:02.910000000
Stream mapping:
  Stream #0:0 -> #0:0 (vp9 (native) -> gif (native))
Press [q] to stop, [?] for help
[swscaler @ 0xaaab056a8f30] No accelerated colorspace conversion found from yuv420p to bgr8.
Output #0, gif, to '/tmp/tmpat6cxpnm.gif':
  Metadata:
    COMPATIBLE_BRANDS: isomiso2avc1mp41
    MAJOR_BRAND     : isom
    MINOR_VERSION   : 512
    encoder         : Lavf58.29.100
    Stream #0:0: Video: gif, bgr8, 512x512 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 33.33 fps, 100 tbn, 33.33 tbc (default)
    Metadata:
      HANDLER_NAME    : VideoHandler
      VENDOR_ID       : [0][0][0][0]
      DURATION        : 00:00:02.910000000
      encoder         : Lavc58.54.100 gif
frame=   97 fps=0.0 q=-0.0 Lsize=    4802kB time=00:00:02.89 bitrate=13611.0kbits/s speed=7.37x
video:4802kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000407%
2022-08-06 03:28:17,739 [ERROR]: efb_telegram_master.master_message (master_message.process_telegram_message; master_message.py:419)

你这个看起来是文件大小超过了wx的gif文件大小限制。我那个看起来也。所以可能需要在从端这里设定一个大小限制。在调用python-ffmpeg的时候进行一些修改

ArmstrongKing commented 2 years ago

image

zsbai commented 2 years ago

Message is not sent.

Error from Web WeChat while sending file: [-1000] 返回值不带BaseResponse

发生在从tg发送到微信的时候,发送的是一个50mb的文件,使用的自建tg api

ArmstrongKing commented 2 years ago

截图 2022-09-27 20-26-30 绑定会话后,用update_info无法更新信息,消息也无法发出

Alvinnfly commented 1 year ago

[-1] This is an unknown error,我出现问题的时候好像是因为我微信的好友里,有两个人的名字都是一样的

+1,这个是因为uid生成只用了微信名,导致微信名重复,uid重复,建议生成uid的时候可以加上备注,即使微信名重复也可以通过备注区分。

yEs1do commented 1 year ago

@TwoZz 把 python 版本从 3.6 升级到 3.8 后,问题解决

已解决,感谢!