Closed ldt17 closed 8 months ago
Hello, I noticed that you have set the carla_cosim
parameter to True
. Are you planning to do a co-simulation? If not, please try setting this parameter to False
and run it again.
@Fdarco Thanks for your recommendation. In fact, I have tried both “True” and “False” and obtained the same results which shows nothing with no error.
Did you modify any other code? Or did this problem occur directly when running the code?
Did you modify any other code? Or did this problem occur directly when running the code?
@Fdarco No, I'm just trying your Quick Start but failed. We haven't even reached the stage of co-simulation yet.
When we run this code, it becomes unresponsive. The window “TrafficSimulator” will open, but there is nothing on the screen except white.
I’m sorry for the inconvenience. However, I created a new environment in conda with python=3.9.18 and reinstalled the dependencies, and I was not able to reproduce your issue. I noticed that there was a problem with con.getVsersion()
in your original Tracback. May I ask what version of SUMO you have installed?
Here are the results when I run it in the new environment:
@Fdarco We completely followed the process in Quick Start, using pip install -r requirements.txt. The following is the installation environment details. Thanks.
Sorry, but can you tell me the version of SUMO you installed? I ran it again according to the environment you provided, but I am unable to reproduce this bug. I suspect it may be an issue with the SUMO version.
@Fdarco The version of SUMO is 1.18.0. And I also found that if the “sumogui” in the modelexample.py file is set to 1, the “sumogui” interface can be opened, but the traffic simulator interface still cannot be opened.
Although I cannot guarantee its effectiveness, I suspect it may be due to the backward compatibility of the versions of sumolib and traci. In fact, we have only tested SUMO before version 1.16. If possible, please try installing a lower version of SUMO or upgrading sumolib and traci to the latest version.
@Fdarco We have tried the same process on other devices and found that it runs normally. The sumo versions are 1.18 and 1.17, respectively. However, the above errors still occur on previous devices. Can we assume that the absence of the traffic simulator is not related to the sumo version
I encounter the same issue. I think if you install sumo 1.16, it would resolve
either do this through pip install eclipse-sumo==1.16.0
, or add eclipse-sumo==1.16.0
to the requirement.txt can resolve this issue.
Stale issue message, no activity
We try your Quick Start and build the environment with python=3.9.18 and sumolib = 1.16 . But the Traffic Simulator shows nothing with no error.