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:closed
  • Created 3 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
JBrakefieldcommented, Jun 25, 2021

ahh thanks! I think this fixed it!

1reaction
dlechcommented, Jun 25, 2021

Looks like I spelled “uninit” wrong.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found