[Bug 52378] New: Python WMI: AttributeError: wbemErrInvalidQuery
https://bugs.winehq.org/show_bug.cgi?id=52378 Bug ID: 52378 Summary: Python WMI: AttributeError: wbemErrInvalidQuery Product: Wine Version: 7.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: danielsuarez369(a)protonmail.com Distribution: --- Created attachment 71591 --> https://bugs.winehq.org/attachment.cgi?id=71591 Full output when importing wmi in Python. When attempting to import the "wmi" module in Python it returns an AttributeError: wbemErrInvalidQuery. Steps to reproduce are: 1. Install Python (`wget https://www.python.org/ftp/python/3.10.1/python-3.10.1-amd64.exe" && wine python-3.10.1-amd64.exe`) 2. Install the WMI module (`wine python -m pip install WMI`) 3. Try to import the module (`wine python -c "import wmi"`) This is also reproducible with Pyinstaller executables that import it. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 Daniel Suarez <danielsuarez369(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Python WMI: AttributeError: |Python WMI module: |wbemErrInvalidQuery |AttributeError: | |wbemErrInvalidQuery -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 Daniel Suarez <danielsuarez369(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Created attachment 71595 --> https://bugs.winehq.org/attachment.cgi?id=71595 patch It simply fails to bind to error code symbols that are missing from the typelib at the moment. Does this patch work for you? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wmi&wbemprox -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Confirming. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 --- Comment #3 from Daniel Suarez <danielsuarez369(a)protonmail.com> --- I can confirm that patch works wonderfully! -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |9dd1654c84adfe3344419243ee6 | |955248b14e797 Status|NEW |RESOLVED --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> --- This is fixed now, 9dd1654c84adfe3344419243ee6955248b14e797. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.0-rc6. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52378 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |--- --- Comment #6 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 6.0.x milestone from bug fixes included in 6.0.4. -- 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.
participants (1)
-
WineHQ Bugzilla