Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OdinDataController.process_config_changes does not handle setting elements of lists #378

Open
GDYendell opened this issue Dec 17, 2024 · 0 comments

Comments

@GDYendell
Copy link
Collaborator

Setting one element of a list, e.g. fp/hdf/dataset/data/chunks/0, formats the value into a dictionary:

[D 241217 10:47:25 odin_data_adapter:106] PUT path: 0/config/hdf/dataset/data/chunks/0
[D 241217 10:47:25 odin_data_adapter:107] PUT request: 2
...
[D 241217 10:54:48 odin_data_controller:182] Config deltas: {'values_changed': {"root[0]['config']['hdf']['dataset']['data']['chunks'][0]": {'new_value': 2, 'old_value': 1}}}
[D 241217 10:54:48 odin_data_controller:192] Path: ['0', 'config', 'hdf', 'dataset', 'data', 'chunks', '0']
[D 241217 10:54:48 odin_data_controller:200] Client config [0]: {}
[D 241217 10:54:48 odin_data_controller:209] Sending configs: [{'hdf': {'dataset': {'data': {'chunks': {'0': 2}}}}}, None]
[D 241217 10:54:51 ipc_tornado_client:218] Sending control message [tcp://127.0.0.1:10004]:
    {"id": 370, "msg_type": "cmd", "msg_val": "configure", "timestamp": "2024-12-17T10:54:51.020583", "params": {"hdf": {"dataset": {"data": {"chunks": {"0": 2}}}}}}
/workspaces/odin-data/cpp/frameProcessor/src/FileWriterPlugin.cpp:259:
 10:54:51,023 FP.FileWriterPlugin INFO  - {"params":{"dataset":{"data":{"chunks":{"0":2}}}},"msg_type":"cmd","msg_val":"configure","id":0,"timestamp":"2024-12-17T10:54:51.023462"}
/workspaces/odin-data/cpp/frameProcessor/src/FileWriterPlugin.cpp:278:
 10:54:51,023 FP.FileWriterPlugin INFO  - Checking for string name of dataset
/workspaces/odin-data/cpp/frameProcessor/src/FileWriterPlugin.cpp:292:
 10:54:51,023 FP.FileWriterPlugin INFO  - Dataset name data found, creating...
/workspaces/odin-data/cpp/frameProcessor/src/FrameProcessorController.cpp:192:
 10:54:51,023 FP.FrameProcessorController ERROR - Error decoding control channel request: rapidjson assertion thrown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant