I have checked
almost everything from my side. I did not find the reason for
this issue. Then I made a new folder and put the related file
there and tried to run the simulations from there. It started
working. But after almost 100 simulation runs, I am again
having the same FatalTraCIError: connection closed by SUMO.
After continus trying, it starts working but just for two or
three simulations. Jacob, please could you help me.
generally, in the case of "something works and then it
did not", this will not be due to a SUMO related issue. It
seems very unlikely that the program has changed out of
the blue.
So, places to start looking for a resolution could be:
your code: did this change?
your environment: did something about Python change?
your system: did you install some update, or some
major program? maybe something with the firewall?
Your issue, as you yourself have also observed, seems
related to that particular system. So, in order to solve
this you will have review the system and its setup. Maybe
do some rubber duck
debugging? :-) With the information you have
provided below it's impossible to determine what caused
the error; you'll have to search for this locally.
Greets,
Menno
On 12/09/2021 14:03, Hervé Diedie wrote:
Forget aboutit python it"s too Messy...use
TraCI for C++
I was using sumo version
1.7.0. I tried the same code on another system
having sumo version 1.8.0, the code is working
perfectly. But in my system, till yesterday morning it was working, but suddenly
starts giving me "FatalTraCIError: Could not connect." I reinstalled the latest version of Sumo i.e. 1.10.0 but still receiving the same error message. I have reviewed the previous discussions on the subject of the same error and tried what they suggested. But no improvement.