-
Notifications
You must be signed in to change notification settings - Fork 21
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
[Bug] Returning data in different types #267
Comments
It looks like this is basically the same as what I was about to report, though the description is unclear. Basically it seems that if you try to store binary data it gets incorrectly interpreted as utf-8 which fails, and the result is that the db holds a record that is a base64 encoded string saying that it failed to interpret the data as utf-8: aW52YWxpZCB1dGYtOCBzZXF1ZW5jZSBvZiAxIGJ5dGVzIGZyb20gaW5kZXggNzA => "invalid utf-8 sequence of 1 bytes from index 70" To reproduce
|
Here's the culprit https://github.com/eclipse-zenoh/zenoh-backend-influxdb/blob/main/v1/src/lib.rs#L446 Changing to this makes it work |
Any updates in this area? |
This fix has just been merged into main : 1095b3c |
Fixed by #284. Thanks @mangodan2003 ! |
Describe the bug
I switched from zenoh 0.11.0 to 1.0.0 version. I use influxdb v1 to store data from ros2 node. Ask Rest api to get data from db returns valued in different formats like:
On version 0.11.0 every row was the same format, because now values has different format it's hard to deserialize the in the sam way.
To reproduce
System info
The text was updated successfully, but these errors were encountered: