I am having the above stated problem when i run the pygame-client command. I am using Ubuntu 20.04 with python 3.8.5
abrar@DESKTOP-ABRAR:~/minos$ python3 -m minos.tools.pygame_client --dataset mp3d --scene_ids 1LXtFkjw3qL --env_config pointgoal_mp3d_m --width 600 --height 400 --agent_config agent_gridworld
pygame 2.0.0 (SDL 2.0.12, python 3.8.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
2020-12-16 14:05:58,666 INFO {'sim_id': 'sim00', 'machine': 'DESKTOP-ABRAR', 'sim_git_hash': 'ce7b7c2', 'stk_git_hash': 'ce7b7c2'}
/home/abrar/minos/minos/lib/Simulator.py:124: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
sensor_configs = yaml.load(open(sensors_file, 'r'))
/home/abrar/minos/minos/lib/Simulator.py:158: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
agent_cfg = yaml.load(f)
Starting simulator...
2020-12-16 14:05:58,674 INFO sim00:Starting sim server at /home/abrar/minos/minos/server/server.js with port 55183
Traceback (most recent call last):
File "/home/abrar/minos/minos/tools/pygame_client.py", line 438, in main
ep_info = sim.start()
File "/home/abrar/minos/minos/lib/Simulator.py", line 324, in start
started = self.start_child_servers()
File "/home/abrar/minos/minos/lib/Simulator.py", line 258, in start_child_servers
self._sio = SocketIO(self.params.host, self.params.port)
File "/home/abrar/socket_io/socketIO_client/init.py", line 343, in init
super(SocketIO, self).init(
File "/home/abrar/socket_io/socketIO_client/init.py", line 58, in init
self._transport
File "/home/abrar/socket_io/socketIO_client/init.py", line 66, in _transport
self._engineIO_session = self._get_engineIO_session()
File "/home/abrar/socket_io/socketIO_client/init.py", line 79, in _get_engineIO_session
engineIO_packet_type, engineIO_packet_data = next(
File "/home/abrar/socket_io/socketIO_client/transports.py", line 92, in recv_packet
for engineIO_packet in decode_engineIO_content(response.content):
File "/home/abrar/socket_io/socketIO_client/parsers.py", line 94, in decode_engineIO_content
content_index, packet_length = _read_packet_length(
File "/home/abrar/socket_io/socketIO_client/parsers.py", line 202, in _read_packet_length
while get_byte(content, content_index) not in [0, 1]:
File "/home/abrar/socket_io/socketIO_client/symmetries.py", line 28, in get_byte
return six.indexbytes(x, index)
IndexError: index out of range
Error running simulator. Aborting.
2020-12-16 14:06:00,210 INFO sim00:Stopping the simulator
2020-12-16 14:06:00,210 INFO Counter()
2020-12-16 14:06:00,210 INFO sim00:Stopping child servers
2020-12-16 14:06:00,210 INFO sim00:Killing sim pid 82759
2020-12-16 14:06:00,215 INFO sim00:Stopped child servers
2020-12-16 14:06:00,215 INFO sim00:Simulator killed.
I am having the above stated problem when i run the pygame-client command. I am using Ubuntu 20.04 with python 3.8.5
abrar@DESKTOP-ABRAR:~/minos$ python3 -m minos.tools.pygame_client --dataset mp3d --scene_ids 1LXtFkjw3qL --env_config pointgoal_mp3d_m --width 600 --height 400 --agent_config agent_gridworld pygame 2.0.0 (SDL 2.0.12, python 3.8.5) Hello from the pygame community. https://www.pygame.org/contribute.html 2020-12-16 14:05:58,666 INFO {'sim_id': 'sim00', 'machine': 'DESKTOP-ABRAR', 'sim_git_hash': 'ce7b7c2', 'stk_git_hash': 'ce7b7c2'} /home/abrar/minos/minos/lib/Simulator.py:124: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. sensor_configs = yaml.load(open(sensors_file, 'r')) /home/abrar/minos/minos/lib/Simulator.py:158: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. agent_cfg = yaml.load(f) Starting simulator... 2020-12-16 14:05:58,674 INFO sim00:Starting sim server at /home/abrar/minos/minos/server/server.js with port 55183 Traceback (most recent call last): File "/home/abrar/minos/minos/tools/pygame_client.py", line 438, in main ep_info = sim.start() File "/home/abrar/minos/minos/lib/Simulator.py", line 324, in start started = self.start_child_servers() File "/home/abrar/minos/minos/lib/Simulator.py", line 258, in start_child_servers self._sio = SocketIO(self.params.host, self.params.port) File "/home/abrar/socket_io/socketIO_client/init.py", line 343, in init super(SocketIO, self).init( File "/home/abrar/socket_io/socketIO_client/init.py", line 58, in init self._transport File "/home/abrar/socket_io/socketIO_client/init.py", line 66, in _transport self._engineIO_session = self._get_engineIO_session() File "/home/abrar/socket_io/socketIO_client/init.py", line 79, in _get_engineIO_session engineIO_packet_type, engineIO_packet_data = next( File "/home/abrar/socket_io/socketIO_client/transports.py", line 92, in recv_packet for engineIO_packet in decode_engineIO_content(response.content): File "/home/abrar/socket_io/socketIO_client/parsers.py", line 94, in decode_engineIO_content content_index, packet_length = _read_packet_length( File "/home/abrar/socket_io/socketIO_client/parsers.py", line 202, in _read_packet_length while get_byte(content, content_index) not in [0, 1]: File "/home/abrar/socket_io/socketIO_client/symmetries.py", line 28, in get_byte return six.indexbytes(x, index) IndexError: index out of range Error running simulator. Aborting. 2020-12-16 14:06:00,210 INFO sim00:Stopping the simulator 2020-12-16 14:06:00,210 INFO Counter() 2020-12-16 14:06:00,210 INFO sim00:Stopping child servers 2020-12-16 14:06:00,210 INFO sim00:Killing sim pid 82759 2020-12-16 14:06:00,215 INFO sim00:Stopped child servers 2020-12-16 14:06:00,215 INFO sim00:Simulator killed.
My log files are: simserver.log simulator.log