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 of TypeError: argument of type 'bool' is not iterable #51

Open
zxydi1992 opened this issue Aug 6, 2021 · 1 comment
Open

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

zxydi1992 opened this issue Aug 6, 2021 · 1 comment

Comments

@zxydi1992
Copy link

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:

@hadiTab
Copy link
Contributor

hadiTab commented Aug 29, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants