FAQs
"Invalid window handle" error when using the CSD Python API on Windows
Solution
In the Windows 2024.2 release, exiting a python prompt after running import ccdc
gives this error message:
QEventDispatcherWin32::wakeUp: Failed to post a message (Invalid window handle.)
This may also appear when running Python API scripts.
The error happens when you exit a python prompt or when the scripts shut a thread down and can safely be ignored. However we are working on getting rid of it.