Failed to parse channel schema on example_msg
windsice opened this issue · comments
Description
I was trying out the Cpp live example_server, and got the following error when I try to view the data. I tried with the python server example, that one works, but not the cpp, can someone can look into that? thanks.
Failed to parse channel schema on example_msg
Error: invalid encoding
at base64.decode (file:///snap/foxglove-studio/20/resources/app.asar/renderer/main.js:434:42123)
at EventEmitter. (file:///snap/foxglove-studio/20/resources/app.asar/renderer/main.js:4808:481)
at EventEmitter.emit (file:///snap/foxglove-studio/20/resources/app.asar/renderer/main.js:1202:12257)
at ws.onmessage (file:///snap/foxglove-studio/20/resources/app.asar/renderer/main.js:4807:210908)
- Version:
- Platform: cpp
Steps To Reproduce
make example_server under the cpp folder.
Expected Behavior
Able to see protobuf message from studio.
Actual Behavior
Shows up the error as what Description described.
When I run make build
and make example_server
, and connect Studio, I see this:
Screen.Recording.2022-11-21.at.3.47.24.PM.mov
Which version of studio are you using? Does it work on studio.foxglove.dev?
Thanks for the quick reply, it's Foxglove Studio version 1.31.1 in ubuntu, it does not work on studio.foxglove.dev, shows a similar error.
Error: invalid encoding
at base64.decode (https://studio.foxglove.dev/main.0d7c912f92ef77188316.js:434:42123)
at EventEmitter. (https://studio.foxglove.dev/main.0d7c912f92ef77188316.js:1499:481)
at EventEmitter.emit (https://studio.foxglove.dev/main.0d7c912f92ef77188316.js:1202:12268)
at ws.onmessage (https://studio.foxglove.dev/main.0d7c912f92ef77188316.js:1498:204357)
Have you modified anything in the example server? This sounds like a base64 decoding error, coming from here. Can you use the chrome dev tools to inspect the websocket messages and see what channel/schema data the app is receiving?
I have not modified anything in the server.
Here's what I see from the localhost.
{channels: [{encoding: "protobuf", id: 1,…}], op: "advertise"}
channels: [{encoding: "protobuf", id: 1,…}]
0: {encoding: "protobuf", id: 1,…}
encoding: "protobuf"
id: 1
schema: "C\u0000gBChpmb3hnbG92ZS9TY2VuZVVwZGF0ZS5wcm90bxIIZm94Z2xvdmUaGmZveGdsb3ZlL1NjZW5lRW50aXR5LnByb3RvGiJmb3hnbG92ZS9TY2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xgEIAEoAWIGcHJvdG8z"
schemaName: "foxglove.SceneUpdate"
topic: "example_msg"
op: "advertise"
Also did that for the python server that works.
{op: "advertise",…}
channels: [{id: 0, topic: "example_msg", encoding: "protobuf", schemaName: "ExampleMsg",…}]
0: {id: 0, topic: "example_msg", encoding: "protobuf", schemaName: "ExampleMsg",…}
encoding: "protobuf"
id: 0
schema: "ClAKEEV4YW1wbGVNc2cucHJvdG8iNAoKRXhhbXBsZU1zZxIQCgNtc2cYASABKAlSA21zZxIUCgVjb3VudBgCIAEoBVIFY291bnRiBnByb3RvMw=="
schemaName: "ExampleMsg"
topic: "example_msg"
op: "advertise"
Are they meant to be different? The fact that cpp version shows up to have a 'C\u' seems like an issue, what can I do for the decoding?
Yes, the \u0000 (null byte) is definitely wrong. It could be an error in this function, but I don't see the same error. On my machine I get:
CtgBChpmb3hnbG92ZS9TY2VuZVVwZGF0ZS5wcm90bxIIZm94Z2xvdmUaGmZveGdsb3ZlL1NjZW5lRW50aXR5LnByb3RvGiJmb3hnbG92ZS9TY2VuZUVudGl0eURlbGV0aW9uLnByb3RvImgKC1NjZW5lVXBkYXRlEjAKCWRlbGV0aW9ucxgBIAMoCzIdLmZveGdsb3ZlLlNjZW5lRW50aXR5RGVsZXRpb24SJwoIZW50aXRpZXMYAiADKAsyFS5mb3hnbG92ZS5TY2VuZUVudGl0eWIGcHJvdG8zCrIHChpmb3hnbG92ZS9TY2VuZUVudGl0eS5wcm90bxIIZm94Z2xvdmUaHWZveGdsb3ZlL0Fycm93UHJpbWl0aXZlLnByb3RvGhxmb3hnbG92ZS9DdWJlUHJpbWl0aXZlLnByb3RvGiBmb3hnbG92ZS9DeWxpbmRlclByaW1pdGl2ZS5wcm90bxobZm94Z2xvdmUvS2V5VmFsdWVQYWlyLnByb3RvGhxmb3hnbG92ZS9MaW5lUHJpbWl0aXZlLnByb3RvGh1mb3hnbG92ZS9Nb2RlbFByaW1pdGl2ZS5wcm90bxoeZm94Z2xvdmUvU3BoZXJlUHJp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nByb3RvIlYKBFBvc2USIwoIcG9zaXRpb24YASABKAsyES5mb3hnbG92ZS5WZWN0b3IzEikKC29yaWVudGF0aW9uGAIgASgLMhQuZm94Z2xvdmUuUXVhdGVybmlvbmIGcHJvdG8zClYKFmZveGdsb3ZlL1ZlY3RvcjMucHJvdG8SCGZveGdsb3ZlIioKB1ZlY3RvcjMSCQoBeBgBIAEoARIJCgF5GAIgASgBEgkKAXoYAyABKAFiBnByb3RvMwpUChVmb3hnbG92ZS9Qb2ludDMucHJvdG8SCGZveGdsb3ZlIikKBlBvaW50MxIJCgF4GAEgASgBEgkKAXkYAiABKAESCQoBehgDIAEoAWIGcHJvdG8zCmcKGWZveGdsb3ZlL1F1YXRlcm5pb24ucHJvdG8SCGZveGdsb3ZlIjgKClF1YXRlcm5pb24SCQoBeBgBIAEoARIJCgF5GAIgASgBEgkKAXoYAyABKAESCQoBdxgEIAEoAWIGcHJvdG8z
No, the two examples you shared are not expected to be the same because they are using different schemas (ExampleMsg vs foxglove.SceneUpdate). However, this python example also uses SceneUpdate.
@windsice can you please try out this change and let me know if that fixes the problem? https://github.com/foxglove/ws-protocol/pull/279/files
Yes that fixed it, thank you.
One more question though, I don't see the same 3d view as what you shown above, is there instruction or settings to make it appear like yours?
You need to enable the topic manually. See: https://foxglove.dev/docs/studio/panels/3d#introduction