rllib-energyplus icon indicating copy to clipboard operation
rllib-energyplus copied to clipboard

error happened when running run.py

Open agl71 opened this issue 1 year ago • 1 comments

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.

agl71 avatar May 05 '23 10:05 agl71

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 avatar May 05 '23 12:05 antoine-galataud