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

raise LookupError('Find Control Timeout({}s): {}'.format(maxSearchSeconds, self.GetSearchPropertiesStr())) #29

Open
Aatroxion opened this issue May 26, 2023 · 3 comments

Comments

@Aatroxion
Copy link

4$Z@ ~Y%74{A%DU)A{@ PC

@BATTERIA
Copy link

Same issue

@liqipengyangyan
Copy link

same issue.

@exat500g
Copy link

exat500g commented Sep 28, 2023

2023-09-28 19:34:29.773 WeChatType.py[217] SendMsg -> Find Control Timeout(10.0s): {SubName: 'TestGroup', ControlType: EditControl}
Traceback (most recent call last):
File "\micromsgServer2.py", line 65, in
wx.SendMsg('bot:test',who)
File "C:\Users*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\PyOfficeRobot\core\WeChatType.py", line 217, in SendMsg
self.EditMsg.SendKeys('{Ctrl}a', waitTime=0)
File "C:\Users*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\uiautomation\uiautomation.py", line 6743, in SendKeys
self.SetFocus()
File "C:\Users*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\uiautomation\uiautomation.py", line 6213, in SetFocus
return self.Element.SetFocus() == S_OK
^^^^^^^^^^^^
File "C:\Users*
\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\uiautomation\uiautomation.py", line 6224, in Element
self.Refind(maxSearchSeconds=TIME_OUT_SECOND, searchIntervalSeconds=self.searchInterval)
File "C:\Users***\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\uiautomation\uiautomation.py", line 6475, in Refind
raise LookupError('Find Control Timeout({}s): {}'.format(maxSearchSeconds, self.GetSearchPropertiesStr()))
LookupError: Find Control Timeout(10.0s): {SubName: 'TestGroup', ControlType: EditControl}

我的错,who里面的值写错了一个大小写

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants