Error message COMError: (-2147220991...) from menu_select
See original GitHub issueHi there,
Thanks for providing this tool. I ran into one issue today. I am using the latest version of pywinauto on Windows 10 with one app coded on Winform.
After the following script is executed, I got the error message:
COMError: (-2147220991, 'An event was unable to invoke any of the subscribers', (None, None, None, 0, None))
Application(backend="uia").start(apptorun)
app = Application(backend="uia").connect(path = apptorun)
windowsMain = app['Main Window']
windowsMain.menu_select("Help->About")
So my question is :
- Any idea why we have this error? It seems program is waiting for this window closed.
- Do we have way to set timeout for menu_select?
Thanks,
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (5 by maintainers)
Top Results From Across the Web
The window has not been focused due to COMError ... - GitHub
I am attempting to automate Word, and I am getting the COMError in multiple places. ... Error message COMError: (-2147220991.
Read more >pywinauto/pywinauto - Gitter
MenuSelect('Setup->Securities & Parties->Securities').click() to this ... COMError: (-2147220991, 'An event was unable to invoke any of the subscribers', ...
Read more >Pywinauto - COMError when selecting tabs - Stack Overflow
I've been having a problem lately, when I select specific tabs (sheets) in excel documents, I get the following error:
Read more >"There was a problem updating the configuration file ERROR ...
Click on Help > MYOB Licence MYOB PDF Manager. The Licence MYOB PDF Manager window appears. Click the ellipses […] button at the...
Read more >Using Menuselect to Select Asterisk Options
Instead, you'll get an error message stating. Terminal must be at least 80 x 27. The Menuselect menu should look like the screen-shot...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Alright. I have one workaround now. Thanks for your help.
not worked , tested it