Closed traversaro closed 5 months ago
As I guess it can be useful for debug, I will also provide the info requested by @zrezke in a similar issue (https://github.com/luxonis/depthai-viewer/issues/60#issuecomment-2138990841):
conda create -n calibdump python==3.10.* pip
conda activate calibdump
git clone https://github.com/luxonis/depthai-python
cd depthai-python
python examples/install_requirements.py
python examples/calibration/calibration_dump.py
that gave in output:
fyi @STaliani @AleMel
The problematic commit seems https://github.com/luxonis/depthai-viewer/pull/62/commits/ab098263f0b60e91bf6502c69861654ace670736 . Indeed, the fix https://github.com/luxonis/depthai-viewer/commit/36fb948287575ac53657912f6692dbe703f1ae6b seems to be working, but I am not familiar enough with the codebase to understand if it makes sense.
Ah thanks for this thorough report @traversaro ! The issue is caused by OAK-D default config enabling CAM_A which is not present on OAK-D-SR... It was an oversight, I will ship a fix in 0.2.3
.
Great, thanks!
Thanks!
Describe the bug
Since depthai-viewer 0.2.1, trying to launch it with OAK-D-SR USB fails with the following error:
I noticed the problem in the latest depthai-viewer, but then testing earlier versions I noticed that everything worked fine in 0.2.0, while it stopped working in 0.2.1 .
To Reproduce
Create non-working (0.2.1) environment:
Create working environment:
Expected behavior
In the working environment,
depthai-viewer
starts and can connect to the OAK-D-SR without problem, with this output:Backtrace
Instead, with depthai-viewer==0.2.1, the following error happens:
The
depthai-viewer
window remains open, it does not display anything.Desktop (please complete the following information):
Additional context
For all tests I used a python==3.10.14 installed via conda, the conda packages installed in all the environments are (beside the pip packages that instead change depend on the environment):
The packages installed in the internal
venv
ofdepthai-viewer==0.2.0
(working) are:while for
depthai-viewer==0.2.1
(not working) are:the diff is:
I also tried with a OAK-D Pro Wide, and the problem is not there.