QWindowsContext: OleInitialize() failed: "COM error 0xffffffff80010106 RPC_E_CHANGED_MODE (Unknown error 0x080010106)"
See original GitHub issue- bleak version: 0.9.1
- Python version: 3.7
- Operating System: win10
- BlueZ version (
bluetoothctl -v) in case of Linux:
Description
I am using bleak in PyQt5 projects on win10 and after import bleak, the console printed ‘QWindowsContext: OleInitialize() failed: “COM error 0xffffffff80010106 RPC_E_CHANGED_MODE (Unknown error 0x080010106)”’ when runing the PyQt5 project. This caused my program failed to open the QFiledialog with Native windows. The program just hanged there like dead.
What I Did
Missing MWE
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
OleInitialize() failed: "COM error 0x80010106 ... - Stack Overflow
According to this post a workaround is to use sys.coinit_flags = 2 and warning module.
Read more >"QWindowsContext: OleInitialize" and "unclosed even loop ...
In [2]: QWindowsContext: OleInitialize() failed: "COM error 0xffffffff80010106 RPC_E_CHANGED_MODE (Unknown error 0x080010106)". In [2]: exit.
Read more >QWindowsContext: OleInitialize() failed: "COM error ... - SW정리
2020년 7월 27일 월요일. QWindowsContext: OleInitialize() failed: "COM error 0x80010106 RPC_E_CHANGED_MODE (Unknown error 0x080010106)" ...
Read more >windowscontext: oleinitialize() failed: "com error 0x80010106 ...
According to this post a workaround is to use sys.coinit_flags = 2 and warning module. import sys import warnings warnings.simplefilter("ignore ...
Read more >WindowsContext: OleInitialize() failed - anycodings.com
Answers 1 : of WindowsContext: OleInitialize() failed: COM error 0x80010106 RPC_E_CHANGED_MODE (Unknown error 0x0ffffffff80010106). According to this post a ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ahh thanks! I think this fixed it!
Looks like I spelled “uninit” wrong.