cluic / wxauto

Windows版本微信客户端(非网页版)自动化,可实现简单的发送、接收微信消息,简单微信机器人
MIT License
3.01k stars 483 forks source link

报错:(-2147220991, '事件无法调用任何订户', (None, None, None, 0, None)) #119

Open liaaaaa2 opened 1 year ago

liaaaaa2 commented 1 year ago

Traceback (most recent call last): File "D:\wxbot\main.py", line 17, in msgs = wx.GetAllMessage ^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\wxauto\wxauto.py", line 265, in GetAllMessage MsgItems = self.MsgList.GetChildren() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\uiautomation\uiautomation.py", line 6345, in GetChildren child = self.GetFirstChildControl() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\uiautomation\uiautomation.py", line 6291, in GetFirstChildControl ele = _AutomationClient.instance().ViewWalker.GetFirstChildElement(self.Element) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ctypes.COMError: (-2147220991, '事件无法调用任何订户', (None, None, None, 0, None))