Alternatively, you can run your project with traci.start(...,
traceFile="traci.log") and send in your input files along with traci.log.

Am Sa., 22. Aug. 2020 um 22:12 Uhr schrieb Harald Schaefer <
[email protected]>:

> Hi Weronika,
>
> it may be, that Sumo terminates unexpected.
>
> Please build the Debug version and run SUMO with gdb.
>
> If Sumo terminates, the stack trace can help the developers
>
> See
> https://sumo.dlr.de/docs/Installing/Linux_Build.html#building_the_sumo_binaries_with_cmake
> and
> https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html#debugging_a_traci_session_on_linux
>
> Best regards, Harald
> Am 21.08.20 um 18:30 schrieb Weronika:
>
> 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 [email protected]
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to