Closed DOPEMANdd closed 10 months ago
Hello @DOPEMANdd, thank you for the report. Would you happen to have used the python -O
optimization flag?
I think we made a bad assumption that the assert would always be there to prevent other exceptions.
I will put out a patch for it.
Hello @DOPEMANdd, some progress. I have been looking deeper into the errors provided.
I need a bit more information to address this bug.
File "/data/zhangdi/smart_master/SMARTS/smarts/core/sumo_traffic_simulation.py", line 239, in _initialize_traci_conn
self._traci_conn.setOrder(0)
TypeError: 'NoneType' object is not callable
TraCI
or SUMO
versions are incompatible.engine.ini
now allows configuration of how many times to retry the TraCI
connection.
[traffic] traci_retries
.ini
configuration or SMARTS_TRAFFIC_TRACI_RETRIES
environment variable can be configured for more connection attempts if necessary.I have included changes in this patch to make this error go away.
Exception ignored in: <function SafeBulletClient.del at 0x7fd4b995cd30>
Traceback (most recent call last):
File "/data/zhangdi/smart_master/SMARTS/smarts/core/utils/pybullet.py", line 52, in del
File "/data/zhangdi/anaconda3/envs/smart/lib/python3.8/site-packages/pybullet_utils/bullet_client.py", line 43, in del
TypeError: catching classes that do not inherit from BaseException is not allowed
SafeBulletClient.__del__()
now wraps the BulletClient.__del__()
to prevent the bad error handling from escaping the method call.
High Level Description
Version
v1.4.0
Operating System
No response
Problems
No response