question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND with OAK-D Pro PoE

See original GitHub issue

Check if issue already exists I found this post, but I couldn’t solve my issue.

Describe the bug I run the simple python scripts in this section but I got following error.

Traceback (most recent call last):
  File "sample.py", line 16, in <module>
    with dai.Device(pipeline, device_info) as device:
RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND

To Reproduce [Environment] PoE Hub: NETGEAR GS108PE (15.4W/port) Architecture: x86_64 OS: Ubuntu 20.04.4 LTS IP address and subnet mask: 169.254.1.1, 255.255.0.0 (Success to ping to 169.254.1.222) Python version: 3.8.10 Depthai version (installed by pip): 2.17.1.0

Run following scripts.

import cv2
import depthai as dai

pipeline = dai.Pipeline()

camRgb = pipeline.createColorCamera()

xoutRgb = pipeline.createXLinkOut()
xoutRgb.setStreamName("rgb")
camRgb.preview.link(xoutRgb.input)

device_info = dai.DeviceInfo("169.254.1.222")
device_info.state = dai.XLinkDeviceState.X_LINK_BOOTLOADER
device_info.protocol = dai.XLinkProtocol.X_LINK_TCP_IP

with dai.Device(pipeline, device_info) as device:
    qRgb = device.getOutputQueue(name="rgb", maxSize=4, blocking=False)
    while True:
        cv2.imshow("rgb", qRgb.get().getCvFrame())
        if cv2.waitKey(1) == ord('q'):
            break

Expected behavior A window show images captured by camera should be given.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:23 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
samialperencommented, Aug 2, 2022

Changing depth-ai version worked for me. https://github.com/luxonis/depthai-ros-examples/issues/57

1reaction
calebc01commented, Nov 30, 2022

Thanks for your help!

It looks like the issue was that we had the machine on WiFI and the camera on a cable. It shares a network, but maybe something caused the TCP connection to fail.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RuntimeError: Failed t...after booting, error message - Luxonis
Hi, so i am having the following issue: python3 main.py [192.168.1.7] [88.288] [system] [warning] Calibration Data on device is empty
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found