[Bug 52794] New: WMI().Win32_VideoController() in Python gives Unexpected COM Error
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Apr 9 16:01:34 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=52794
Bug ID: 52794
Summary: WMI().Win32_VideoController() in Python gives
Unexpected COM Error
Product: Wine
Version: 7.6
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: danielsuarez369 at protonmail.com
Distribution: ---
Created attachment 72175
--> https://bugs.winehq.org/attachment.cgi?id=72175
Output in wine python calling the Win32_VideoController class
Hello.
The Python module for WMI allows you to create a WMI object for classes.
However in Wine calling the Win32_VideoController class results in the
following error:
wmi.x_wmi: <x_wmi: Unexpected COM Error (-2147352567, 'DISP_E_EXCEPTION', (0,
None, None, None, 0, -2147467263
), None)>
Steps to reproduce are:
1. Install Python (`wget
https://www.python.org/ftp/python/3.10.4/python-3.10.4-amd64.exe" && wine
python-3.10.4-amd64.exe`)
2. Install the WMI module (`wine python -m pip install WMI`)
3. Launch Python in wine (`wine python`)
3. Import the module (`import wmi`)
4. Call the Win32_VideoController class (`wmi.WMI().Win32_VideoController()`)
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list