Skip to content

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

@phoenixxie0

Description

@phoenixxie0

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<sec_msg_node>\n\t\tf769fac74ec56ba8cfa243f642c9c145_\n\t\t\n\t\t\n\t</sec_msg_node>\n\t<imgmsg_pd cdnmidimgurl_size="70798" cdnmidimgurl_pd_pri="30" cdnmidimgurl_pd="0" />\n\tN0_V1_Ye55T/Ma|v1_cyOe2EcZ\n\t<tmp_node>\n\t\t\n\t</tmp_node>\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<platform_signature />\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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions