cmubig / Frida

A robot painter designed to support human artists. CoFRIDA, Best Paper on HRI, ICRA 2024. FRIDA, Finalist for Best Paper in Deployed Systems, ICRA 2023.
GNU General Public License v3.0
61 stars 13 forks source link

QObject::moveToThread: Current thread (0x5e0d871266b0) is not the object's thread (0x5e0d7b364000). #13

Closed pschaldenbrand closed 4 months ago

pschaldenbrand commented 4 months ago

The following error was thrown when running codraw.py

QObject::moveToThread: Current thread (0x5e0d871266b0) is not the object's thread (0x5e0d7b364000).
Cannot move to target thread (0x5e0d871266b0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/frida/miniconda3/envs/frida/lib/python3.11/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, minimal, minimalegl, offscreen, vnc, webgl.

Aborted (core dumped)
pschaldenbrand commented 4 months ago

Resolved by running

pip uninstall opencv-python
pip install opencv-python-headless