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
pywintypes.error : (0, 'SetCursorPos', 'No error message is available') on using Regex #396
Comments
Hi @jagadeesh1983 do you run the script as Administrator? It looks like insuffient privileges issue so far. |
Hi Vasily, Yes, I have logged in to the Windows 2012 R2 machine as administrator and ran the script. Thanks, |
It might be insufficient to login as administrator (if UAC is enabled, default runtime mode could be non-privileged). Try popup menu "Run as Adminiostrator" for the script or your IDE. |
Hi @jagadeesh1983 is the issue still relevant? |
same problem on win7 server2012 R2. it's not stable, sometimes goes wrong. traceback like that:
|
Hi Vasily, I am not working on pyWinAuto project now. So that issue is not relevant for me. Thanks, |
I'm running into the same error when attempting to run a script on a Windows VM as part of a robotframework test, but only when running it without a Remote Desktop connection. If I'm connected to the machine when the script runs, everything works fine and I can observe the effects on the application that's being automated. The error occurs in the function:
Edit: in my case, enclosing |
Hi,
I am using Python 2.7 (64 bit) with pyWinAuto 0.6.3 (64 bit) on Windows 2012 R2 (64 bit) to automate 64-bit application.
I am getting following error when we use regex for title_re.
Here is my Code snippet:
However, when we connect to our application by giving complete name of window through title then we are not facing above mentioned issue.
Below code works fine:
Please let me know how to fix this issue if I need to use regex in my pywinauto code.
Thanks,
Jagadeesh
The text was updated successfully, but these errors were encountered: