-
-
Notifications
You must be signed in to change notification settings - Fork 102
Windows fatal exception: access violation #204
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
Comments
I have a pretty similar problem with using pytest. I think it has nothing to do with pywinauto.
pytest version 5.4.0 and 5.4.1 |
I have a similar issue with a different COM library where pytest ends up printing out a
The interesting thing about my issue is that it only happens when I run
if I specify the test a little more I get the normal output from pytest
|
I have a similar issue. execute result are as follows:
my test code :
comtypes : 1.1.7 |
I'm Facing the same issue : |
I'm not able to reproduce the issue with the latest comtypes version. I also tested with comtypes 1.1.11 and the issue didn't occur. I tried with the script provided by the creator of this issue: import pytest
from pywinauto.application import Application
def test_case():
assert True Is seems that everyone in this issue is using the version 1.1.7 or 1.1.10. Both of them are pretty old. I wasn't able to try them because they aren't compatible with Python 3.12. |
This is my script.
This is the result.
I just wonder how that fatal exception occurs and how we can fix it.
The text was updated successfully, but these errors were encountered: