UnicodeDecodeError on test_dressing.py #54
-
|
Hi, I get this a UnicodeDecodeError when I run the provided The only line I change in the test_dressing.py file is: env = RCareWorld()to env = RCareWorld(executable_file="Build/Dressing/Windows/dressing/RCareWorld.exe")Below is my full terminal input/outputs: (rcareworld) PS C:\Users\peter\RCareWorld\hackathon_demo> python .\test_dressing.py
pybullet build time: Apr 26 2024 23:48:57
Side channel id in use:
534c891e-810f-11ea-a9d0-822485860400
d587efc8-9eb7-11ec-802a-18c04d443e7d
09bfcf57-9120-43dc-99f8-abeeec59df0f
02ac5776-6a7c-54e4-011d-b4c4723831c9
Traceback (most recent call last):
File ".\test_dressing.py", line 19, in <module>
env = RCareWorld(executable_file="Build/Dressing/Windows/dressing/RCareWorld.exe")
File "c:\users\peter\rcareworld\pyrcareworld\pyrcareworld\envs\rcareworld_env.py", line 283, in __init__
self._step()
File "c:\users\peter\rcareworld\pyrcareworld\pyrcareworld\envs\rcareworld_env.py", line 154, in _step
self.env.step()
File "c:\users\peter\rcareworld\pyrcareworld\pyrcareworld\timers.py", line 305, in wrapped
return func(*args, **kwargs)
File "c:\users\peter\rcareworld\pyrcareworld\pyrcareworld\environment.py", line 338, in step
self._update_state(rl_output)
File "c:\users\peter\rcareworld\pyrcareworld\pyrcareworld\environment.py", line 299, in _update_state
self._side_channel_manager.process_side_channel_message(output.side_channel)
File "c:\users\peter\rcareworld\pyrcareworld\pyrcareworld\side_channel\side_channel_manager.py", line 42, in process_side_channel_message
self._side_channels_dict[channel_id].on_message_received(
File "c:\users\peter\rcareworld\pyrcareworld\pyrcareworld\rfuniverse_channel\rfuniverse_channel.py", line 17, in on_message_received
self._parse_message(msg)
File "c:\users\peter\rcareworld\pyrcareworld\pyrcareworld\rfuniverse_channel\instance_channel.py", line 19, in _parse_message
this_object_type = msg.read_string()
File "c:\users\peter\rcareworld\pyrcareworld\pyrcareworld\side_channel\incoming_message.py", line 81, in read_string
val = self.buffer[self.offset : self.offset + encoded_str_len].decode("ascii")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd9 in position 23: ordinal not in range(128)``` |
Beta Was this translation helpful? Give feedback.
Answered by
YoruCathy
Apr 27, 2024
Replies: 1 comment
-
|
Hello, should be fixed in this commit. You can run |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
YoruCathy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, should be fixed in this commit. You can run
git pull(commit your local changes usinggit add <files you have changed>and thengit commit -m "commit message"before pulling) to fetch the newest changes.