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

error happened when running run.py #3

Open
agl71 opened this issue May 5, 2023 · 1 comment
Open

error happened when running run.py #3

agl71 opened this issue May 5, 2023 · 1 comment
Labels
bug Something isn't working needs-repro-script Issue needs a runnable script to be reproduced

Comments

@agl71
Copy link

agl71 commented May 5, 2023

Dear @antoine-galataud

Error happened when I run the run.py in a win10 enviroment.
The following is logs. Could you tell me how to fix it?
Best regards.

(raylet) [libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/wire_format_lite.cc:581] String field 'ray.rpc.WorkerTableData.exit_detail' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
(raylet) [libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/wire_format_lite.cc:581] String field 'ray.rpc.ErrorTableData.error_message' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
(pid=gcs_server) [libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/wire_format_lite.cc:581] String field 'ray.rpc.WorkerTableData.exit_detail' contains invalid UTF-8 data when parsing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
(pid=gcs_server) [libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/wire_format_lite.cc:581] String field 'ray.rpc.ErrorTableData.error_message' contains invalid UTF-8 data when parsing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.

@antoine-galataud
Copy link
Member

Hi @agl71, looking at the stack trace you provided it seems like some text message in the gym env contains non UTF-8 chars, which is not supported by protobuf (the communication protocol used for remote procedure calls in Ray).
Did you modify run.py to add some extra error messages in exceptions? Check also the encoding format of your file if you edited it (stick to UTF-8).

@antoine-galataud antoine-galataud added bug Something isn't working needs-repro-script Issue needs a runnable script to be reproduced labels Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-repro-script Issue needs a runnable script to be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants