ehForwarderBot / ehForwarderBot/efb-wechat-comwechat-slave

Windows下使用时无法正常向TG发送图片和表情等

Open
#69 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
42
Forks
20
PR merge metrics
No merged PRs in 30d

Description

2025-12-05 15:37:33,921 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:169)
All middlewares are initialized.
2025-12-05 15:37:33,921 - apscheduler.scheduler - INFO - Scheduler started
2025-12-05 15:37:56,447 - comwechat - DEBUG - friend_msg:{'extrainfo': '\n\t\n\t\tf769fac74ec56ba8cfa243f642c9c145_\n\t\t\n\t\t\n\t\n\t\n\tN0_V1_Ye55T/Ma|v1_cyOe2EcZ\n\t\n\t\t\n\t\n\n', 'filepath': 'xseven007\\FileStorage\\MsgAttach\\24358fc909dd9c22ab751059d820b93c\\Image\\2025-12\\297ec545565283d1d1afa7493f21bdbf.dat', 'isSendMsg': 0, 'message': '\n\n\t\n\t\t\n\t\t\n\t\t\t0\n\t\t\t0\n\t\t\t\n\t\t\t\n\t\t\t0\n\t\t\t\n\t\t\t\n\t\t\t0\n\t\t\n\t\n\t\n\t\n\t\n\t\t\n\t\t0\n\t\n\n', 'msgid': 4994658352047255683, 'pid': 4792, 'self': 'xseven007', 'sender': 'wxid_x54q4kxubuaj22', 'sign': '86b69b77878b356dba6ffd5f97901758', 'thumb_path': 'xseven007\\FileStorage\\MsgAttach\\24358fc909dd9c22ab751059d820b93c\\Thumb\\2025-12\\032c3d42e6af79a94751914bf82e1e61_t.dat', 'time': '2025-12-05 15:37:57', 'timestamp': 1764920277, 'type': 'image', 'wxid': 'wxid_x54q4kxubuaj22'}
Exception in thread Thread-5 (handle_file_msg):
Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "C:\Users\USER\python\lib\site-packages\efb_wechat_comwechat_slave\ComWechat.py", line 568, in handle_file_msg
self.send_efb_msgs(MsgWrapper(msg, MsgProcess(msg, chat)), author=author, chat=chat, uid=MessageID(str(msg['msgid'])))
File "C:\Users\USER\python\lib\site-packages\efb_wechat_comwechat_slave\MsgProcess.py", line 54, in MsgProcess
file = wechatimagedecode(msg["filepath"])
File "C:\Users\USER\python\lib\site-packages\efb_wechat_comwechat_slave\Utils.py", line 83, in wechatimagedecode
with open(ret_file.name , 'wb') as f:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\USER\\AppData\\Local\\Temp\\tmp2z8s8x50'

由于最近微信又搞了新的云控,导致docker端总是提示当前设备登录账号到达上限。所以不得不转移到win机器上进行使用,但是正常安装之后,虽然可用收发文字消息,可是无法将接收到的图片、表情等,转发到TG

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.