Skip to content

Instantly share code, notes, and snippets.

@lucasmediaflow
Created January 28, 2022 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasmediaflow/3944fff69e2dc664983aef28d1ef80bc to your computer and use it in GitHub Desktop.
Save lucasmediaflow/3944fff69e2dc664983aef28d1ef80bc to your computer and use it in GitHub Desktop.
oak-1 error
root@devraspi:/home/pi/depthai# DEPTHAI_LEVEL=debug python3 depthai_demo.py
[2022-01-28 15:22:08.247] [debug] Python bindings - version: 2.14.1.0.dev+27fa4519f289498e84768ab5229a1a45efb7e4df from 2022-01-12 23:20:36 +0100 build: 2022-01-12 22:25:55 +0000
[2022-01-28 15:22:08.247] [debug] Library information - version: 2.14.1, commit: 55408918f4fb299cad45d292f8268aa93b1c10bb from 2022-01-12 23:20:24 +0100, build: 2022-01-12 22:25:53 +0000
[2022-01-28 15:22:08.250] [debug] Initialize - finished
[2022-01-28 15:22:08.541] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.15.tar.xz' open: 7ms, archive read: 284ms
[2022-01-28 15:22:09.537] [debug] Resources - Archive 'depthai-device-fwp-8c8315579295367f49100d0884157ad9c93339b6.tar.xz' open: 6ms, archive read: 1282ms
Using depthai module from: /root/.local/lib/python3.7/site-packages/depthai.cpython-37m-arm-linux-gnueabihf.so
Depthai version installed: 2.14.1.0.dev+27fa4519f289498e84768ab5229a1a45efb7e4df
[2022-01-28 15:22:11.440] [debug] Python bindings - version: 2.14.1.0.dev+27fa4519f289498e84768ab5229a1a45efb7e4df from 2022-01-12 23:20:36 +0100 build: 2022-01-12 22:25:55 +0000
[2022-01-28 15:22:11.440] [debug] Library information - version: 2.14.1, commit: 55408918f4fb299cad45d292f8268aa93b1c10bb from 2022-01-12 23:20:24 +0100, build: 2022-01-12 22:25:53 +0000
[2022-01-28 15:22:11.443] [debug] Initialize - finished
[2022-01-28 15:22:11.721] [debug] Resources - Archive 'depthai-bootloader-fwp-0.0.15.tar.xz' open: 6ms, archive read: 273ms
[2022-01-28 15:22:12.734] [debug] Resources - Archive 'depthai-device-fwp-8c8315579295367f49100d0884157ad9c93339b6.tar.xz' open: 7ms, archive read: 1285ms
Setting up demo...
Available devices:
[0] 14442C1041F647D700 [X_LINK_UNBOOTED]
[2022-01-28 15:22:14.363] [debug] Device - OpenVINO version: 2021.4
Traceback (most recent call last):
File "depthai_demo.py", line 987, in <module>
runOpenCv()
File "depthai_demo.py", line 977, in runOpenCv
demo.run_all(confManager)
File "depthai_demo.py", line 120, in run_all
self.setup(conf)
File "depthai_demo.py", line 203, in setup
self._device = dai.Device(self._pm.pipeline.getOpenVINOVersion(), self._deviceInfo, usb2Mode=self._conf.args.usbSpeed == "usb2")
RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
Traceback (most recent call last):
File "depthai_demo.py", line 1000, in <module>
s.runDemo(args)
File "/home/pi/depthai/depthai_helpers/supervisor.py", line 46, in runDemo
subprocess.check_call(' '.join([f'"{sys.executable}"', "depthai_demo.py"] + new_args), env=new_env, shell=True, cwd=repo_root)
File "/usr/local/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '"/usr/local/bin/python3" depthai_demo.py --noSupervisor --guiType cv' returned non-zero exit status 1.
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
root@devraspi:/home/pi/depthai#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment