cancel
Showing results for 
Search instead for 
Did you mean: 

SmartPresenceDetectionEVK.exe fails with WMI COM Error (0x8004100c)

KKKK9
Associate

Hello ST team,

I'm currently working with the **SmartPresenceDetectionEVK v1.0.0** on a setup consisting of:

- **NUCLEO-F401RE**
- **X-NUCLEO-53L8A1**
- Firmware version: **1.7.0.0**
- Driver version: **VL53LMZ_2.0.10**

When I interact with the board using **Tera Term via UART**, everything works perfectly. I can use commands such as `enable`, `help`, and receive presence detection results in real-time.

However, when I try to launch the provided **SmartPresenceDetectionEVK.exe** GUI on Windows 11, I encounter the following unhandled exception:

 

--------------------------------------------------------------------------------
2025-04-03, 10:32:13
--------------------------------------------------------------------------------
<class 'wmi.x_wmi'>:
<x_wmi: Unexpected COM Error (-2147217396, 'OLE error 0x8004100c', None, None)>
--------------------------------------------------------------------------------
File "SmartPresenceDetectionEVK\__main__.py", line 77, in createWindow
File "SmartPresenceDetectionEVK\smartpresencedetectionWidget.py", line 33, in __init__
File "wmi.py", line 882, in query
File "wmi.py", line 258, in handle_com_error

 

What should I do to resolve this error and run the GUI successfully?

Best regards,

0 REPLIES 0