librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Issue serializing json in adv mode: Value not found in map! value=8

Open wingillis opened this issue 8 years ago • 7 comments

Required Info
Camera Model D415
Firmware Version 05.09.02.00
Operating System & Version MacOS 10.13.4
SDK Version 2.10.3

Issue Description

When running the example python script python-rs400-advanced-mode-example.py to get the advanced mode parameters, I receive normal output for each get call for the parameters, but once the line running serialize_json() (line 72) is run, I get an exception: Value not found in map! value=8. I don't know if this is an issue with the python wrapper or to c++ serialization algorithm.

At first I thought it was a mismatch between the firmware and the SDK, so I updated the firmware. Serializing worked after the firmware update, but after I tried to set a parameter and serialize, I started receiving the same Value not found in map! value=8 error.

wingillis avatar Apr 20 '18 13:04 wingillis

Hi @wingillis We will look into it.

dorodnic avatar Apr 22 '18 11:04 dorodnic

Thanks! I should note that I also see this error when I run a similar program written in c++, so I don't think the issue is constrained to the python wrapper, but maybe the serializer, or wherever the parameters are saved on the realsense itself.

wingillis avatar Apr 22 '18 23:04 wingillis

[Realsense Customer Engineering Team Comment] hi @wingillis finally I finish my setup and I can reproduce this issue and confirmed v2.12.0 still having this issue. at the same time, python-tutorial-1-depth.py is working good. will continue investigate on this.

Great thanks for checking in! Yeah I still receive this error as well, even with the new SDK and firmware updates. I am able to load json parameters though.

On Wed, Jun 13, 2018, 3:57 AM RealSense Customer Engineering < [email protected]> wrote:

[Realsense Customer Engineering Team Comment] hi @wingillis https://github.com/wingillis finally I finish my setup and I can reproduce this issue and confirmed v2.12.0 still having this issue. at the same time, python-tutorial-1-depth.py is working good. will continue investigate on this.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/IntelRealSense/librealsense/issues/1587#issuecomment-396849020, or mute the thread https://github.com/notifications/unsubscribe-auth/AEatMtSNgSLXLYp7QPF6R_LMUPlhDxzNks5t8MXXgaJpZM4TdexJ .

wingillis avatar Jun 13 '18 13:06 wingillis

I have the same problem. I'm trying to load the advanced mode so that I can use different settings of D435. I'm wondering if anyone has solved this issue. Seems like a c++ level issue.

neubotech avatar Jul 12 '18 07:07 neubotech

I wanted to use high-accuracy mode, and I am also having the same issue.

syncle avatar Sep 30 '18 03:09 syncle

Should be resolved in latest release

dorodnic avatar Nov 05 '18 16:11 dorodnic