Thank you for the reply.
I cloned it and it appears to successfully build and install....
python3 -m pip install .
Defaulting to user installation because normal site-packages is not writeable
Processing /home/travis/src/depthai-python
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: depthai
Building wheel for depthai (pyproject.toml) ... done
Created wheel for depthai: filename=depthai-2.22.0.0.dev0+236e7ec1b8ac2c7573d980f45efe90e9b3df812f-cp310-cp310-linux_x86_64.whl size=10469558 sha256=c55b6e7395b5949dacdd7a360970d3b5601e9fec87bb2c9ec37dad24bc5d75b4
Stored in directory: /home/travis/.cache/pip/wheels/2a/3d/86/f4bcd1b369e97e84ca7ee874b8428bcf470da91836fd2f4795
Successfully built depthai
Installing collected packages: depthai
Attempting uninstall: depthai
Found existing installation: depthai 2.22.0.0.dev0+236e7ec1b8ac2c7573d980f45efe90e9b3df812f
Uninstalling depthai-2.22.0.0.dev0+236e7ec1b8ac2c7573d980f45efe90e9b3df812f: Successfully uninstalled depthai-2.22.0.0.dev0+236e7ec1b8ac2c7573d980f45efe90e9b3df812f
Successfully installed depthai-2.22.0.0.dev0+236e7ec1b8ac2c7573d980f45efe90e9b3df812f
But, when I try to run cam_test.py
, I get a qt error related to xcb
:
python3 utilities/cam_test.py
QObject::moveToThread: Current thread (0x5565305d4be0) is not the object's thread (0x5565308a3af0).
Cannot move to target thread (0x5565305d4be0)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/travis/.local/lib/python3.10/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, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.
Stack trace (most recent call last):
#28 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#27 Object "python3", at 0x55652f207ac4, in _start
#26 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f4aace5fe3f, in __libc_start_main
#25 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f4aace5fd8f, in
#24 Object "python3", at 0x55652f207bcc, in Py_BytesMain
#23 Object "python3", at 0x55652f231c3d, in Py_RunMain #22 Object "python3", at 0x55652f240a42, in _PyRun_AnyFileObject
#21 Object "python3", at 0x55652f240d47, in _PyRun_SimpleFileObject
#20 Object "python3", at 0x55652f241864, in
#19 Object "python3", at 0x55652f23a96a, in
#18 Object "python3", at 0x55652f241b17, in #17 Object "python3", at 0x55652f214c55, in PyEval_EvalCode
#16 Object "python3", at 0x55652f11f175, in #15 Object "python3", at 0x55652f128759, in _PyEval_EvalFrameDefault
#14 Object "python3", at 0x55652f13a4eb, in _PyFunction_Vectorcall #13 Object "python3", at 0x55652f1290e6, in _PyEval_EvalFrameDefault #12 Object "python3", at 0x55652f1306cb, in _PyObject_MakeTpCall #11 Object "/usr/lib/python3/dist-packages/PyQt5/sip.cpython-310-x86_64-linux-gnu.so", at 0x7f4a880ce8b8, in #10 Object "/home/travis/.local/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so", at 0x7f4a79106ffa, in #9 Object "/home/travis/.local/lib/python3.10/site-packages/PyQt5/QtWidgets.abi3.so", at 0x7f4a79106f1c, in #8 Object "/home/travis/.local/lib/python3.10/site-packages/PyQt5/Qt5/lib/libQt5Widgets.so.5", at 0x7f4a78767aa8, in QApplicationPrivate::init() #7 Object "/home/travis/.local/lib/python3.10/site-packages/PyQt5/Qt5/lib/libQt5Gui.so.5", at 0x7f4a7956accb, in QGuiApplicationPrivate::init() #6 Object "/home/travis/.local/lib/python3.10/site-packages/PyQt5/Qt5/lib/libQt5Core.so.5", at 0x7f4a80aa4fe2, in QCoreApplicationPrivate::init() #5 Object "/home/travis/.local/lib/python3.10/site-packages/PyQt5/Qt5/lib/libQt5Gui.so.5", at 0x7f4a795682ac, in QGuiApplicationPrivate::createEventDispatcher() #4 Object "/home/travis/.local/lib/python3.10/site-packages/PyQt5/Qt5/lib/libQt5Gui.so.5", at 0x7f4a79567f9f, in QGuiApplicationPrivate::createPlatformIntegration() #3 Object "/home/travis/.local/lib/python3.10/site-packages/PyQt5/Qt5/lib/libQt5Core.so.5", at 0x7f4a808929bb, in QMessageLogger::fatal(char const*, ...) const #2 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f4aace5e7f2, in abort #1 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f4aace78475, in raise #0 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f4aacecca7c, in pthread_kill Aborted (Signal sent by tkill() 308978 1000) [1] 308978 IOT instruction (core dumped) python3 utilities/cam_test.py
cmake version 3.22.1
Unfortunately, I think this error is completely unrelated to the OAK-D W camera. I tried running this with my OAK-D Pro and got the same crash.