Hi!
I got *a new build of SUMO* and I am getting an error
*traci.exceptions.FatalTraCIError:
connection closed by SUMO*. The last time when I ran it and it worked
properly was with the build from ~15.06.
(The problem already appeared before when I used the build from 12.07, but
I left it as I thought maybe will not occur later.)
Traceback (most recent call last):
File "runner.py", line 376, in <module>
run()
File "runner.py", line 265, in run
traci.simulationStep()
File "/Users/weronika/Desktop/sumo/tools/traci/main.py", line 210, in
simulationStep
return _connections[""].simulationStep(step)
File "/Users/weronika/Desktop/sumo/tools/traci/connection.py", line 291,
in simulationStep
result = self._sendCmd(tc.CMD_SIMSTEP, None, None, "D", step)
File "/Users/weronika/Desktop/sumo/tools/traci/connection.py", line 178,
in _sendCmd
return self._sendExact()
File "/Users/weronika/Desktop/sumo/tools/traci/connection.py", line 88,
in _sendExact
raise FatalTraCIError("connection closed by SUMO")
traci.exceptions.FatalTraCIError: connection closed by SUMO
I tried: „>> run your simulation with the option --duration-log.statistics
and --log
>> logfile.txt
>> you will find the results in logfile.txt”
When the simulation gets this error the log file is empty.
Worth to mention is that at the beginning of my simulation I set up a
number for using randomTrips.py and generate trips file
command = 'python ' + os.environ['SUMO_HOME'] + '/tools/randomTrips.py -n
osm.net.xml -p ' + vehiclesDensity +' -o trips.trips.xml '+
'--trip-attributes=\'departLane=\"best\" departSpeed=\"max\" type=\"car\"
departPos=\"random\"\' --validate'
os.system(command)
And depending on this argument the simulation fails or not (mostly fails..).
I would appreciate your help on how I can find the problem. I checked the
input files and they look fine (and works with earlier versions)
Best,
Weronika
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user