Hi,

Am 2015-06-10 09:48, schrieb Manuel Alejandro Echeverri Márquez:
> I am calling Sumo with this command in python:
> 
>  sumoProcess = subprocess.Popen([sumoBinary, "-c",
> "data/karlsruhe.sumocfg","--save-state.files","data/state.xml","--save-state.times","50,100","--fcd-output","data/result.xml","--remote-port",
> str(PORT)], stdout=sys.stdout, stderr=sys.stderr)
> 
> It is suppose that in the time 50s and 100s it will save the state of
> the simulation, but in Sumo I have this error:
> 
> Error: Wrong number of state file names!

If you have two states to save you will need to specify two file names.

> And the state of the 20s is saved but the xml files is not complete,
> miss the close line of the xml (</snapshot>) and the last vehicle has
> the information incomplete. (<vehicle id="7" depart="-2"
> route="route0" type="type4" state="12000 )
> 
> At time 100s sumo crashes and stop working and the second save state
> doesn't happen.

The crash should not happen nevertheless. Are you using the GUI or 
command line sumo?

Regards,
Michael

------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to