pywinauto: import wmi, pywinauto print Win32 exception occurred releasing IUnknown at xxx
Expected Behavior
No Error Message like Win32 exception occurred releasing IUnknown at xxx
Actual Behavior
import wmi, pywinauto
results in Error Message Win32 exception occurred releasing IUnknown at xxx
Steps to Reproduce the Problem
- Install Python 3.7.2 32 Bit or Python 3.7.2 64 Bit
- Create a new python File with
import wmi, pywinauto
- Execute the File >> Error Message:
Win32 exception occurred releasing IUnknown at xxx
Short Example of Code to Demonstrate the Problem
import wmi, pywinauto
Specifications
- Pywinauto version: 0.6.6
- WMI version: 1.4.9
- Python version and bitness: 3.7.2 32 Bit / 64 Bit
- Platform and OS: Windows Server 2012 R2
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 20 (10 by maintainers)
Hi, May I ask is there any progress on this? I have also encountered the same issue, the issue only happened when pywinauto and wmi module was imported together
And this exception can be reduced by using multithreading