PythonAPI icon indicating copy to clipboard operation
PythonAPI copied to clipboard

Error of TypeError: argument of type 'bool' is not iterable

Open zxydi1992 opened this issue 3 years ago • 1 comments

Hi,

I met an error when run LGSVL PythonAPI. The error happened when I called sim.run(0.04). The stack trace shows line 151 in simulator.py failed with this exception.

Trackback message here: sim.run(lgsvl_control_period) File "/root/.pyenv/versions/3.8.5/lib/python3.8/site-packages/lgsvl-2021.1-py3.8.egg/lgsvl/utils.py", line 23, in new_f return f(*args, **kwargs) File "/root/.pyenv/versions/3.8.5/lib/python3.8/site-packages/lgsvl-2021.1-py3.8.egg/lgsvl/simulator.py", line 107, in run self._process("simulator/run", {"time_limit": time_limit, "time_scale": time_scale}) File "/root/.pyenv/versions/3.8.5/lib/python3.8/site-packages/lgsvl-2021.1-py3.8.egg/lgsvl/simulator.py", line 151, in _process if "events" in j:

zxydi1992 avatar Aug 06 '21 16:08 zxydi1992

@zxydi1992 I believe there should be more to the stack trace than what you have provided here.

hadiTab avatar Aug 29 '21 07:08 hadiTab