Open Jurys22 opened 2 years ago
Based on what you mention in the other ticket, I assume the demos all work well. Would you please also verify tests pass?
As for this particular issue, I suggest to follow the methodology mentioned in https://github.com/google-research/falken/issues/24 for testing the initial changes. If you do that, you'll be able to see which specific lines, when changed, produce this error. That'll make it a lot easier to debug it.
[libprotobuf ERROR D:\a\falken\falken\build\protobuf\src\google\protobuf\wire_format_lite.cc:577] String field 'falken.proto.SessionSpec.brain_id' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
[Falken] ERROR: Failed to create a new session for brain HFG_Brain (╕Z?F¶): Error message: Exception deserializing request!. Error code: 13. If the error persists, please contact Falken for further assistance..
I'm trying to write a custom wrapper around falken implementation and call the functions from GDScript in godot engine but this won't let me do anything, all the samples work perfectly in my custom c++ engine and I have used the same working action observation pair while creating the brain.
What am I missing here? Looks like the brain id isn't being casted properly to a string from raw bytes and it's causing this error?
After a while I got this
[Falken] ERROR: Failed to create a new session for brain (XV▀+ö): Error message: Deadline Exceeded. Error code: 4. If the error persists, please contact Falken for further assistance..
What am I missing here? Looks like the brain id isn't being casted properly to a string from raw bytes and it's causing this error?
This sounds likely; e.g. something in the GDScript -> C++ interface may be not doing what you expect. I suggest logging (eg. to a file) the arguments that are being passed into the library to ensure they are what you expect.
I also suggest checking the service logs as well (or adding logs there too if needed); the service may not be receiving any of the gRPC calls and if that's the case, it'd be good to know. Or it may be receiving the calls but not with the arguments you expect.
Hello, we encounter this error while creating the brain and we are contacting you, as it says.
Can you please give any hints to solve this? Thanks