see http://sumo.dlr.de/wiki/Simulation/SaveAndLoad


2016-01-06 16:04 GMT+01:00 Filip Minx <[email protected]>:

> Hello there.
>
> I am having a problem with loading saved states.
>
> I tried saving the state with:
>     sumo.exe -c ..\docs\examples\sumo\busses\busses.sumocfg --full-output
> savedstate.xml
> and
>     sumo.exe -c ..\docs\examples\sumo\busses\busses.sumocfg --netstate-dump
> savedstate.xml
>
> And then I am loading the state by
>     sumo.exe -c ..\docs\examples\sumo\busses\busses.sumocfg --load-state
> savedstate.xml
>
> The result is always the following error.
>     "Error: Input string '' is not a valid number or exceeds the time value
> range."
> and sometimes a warning like this:
>     "Warning: State was written at a different time 74863513369704.44 than
> the begin time 74863513369704.44!"
>
> I have tried on different scenarios and tried explicitly setting other
> relevant arguments like "--load-state.offset" or "begin".
> I have tried loading saved states from both '--full-output' and
> '--netstate-dump'.
> This happens in both sumo.exe and sumo-gui.exe.
>
> I have a feeling that the error is connected with the 'load-state.offset'
> argument. I have tracked this issue to the source file 'NLBuilder.cpp'
> where the mentioned error message would appear while converting the
> load-state.offset (being an empty string) to a 'SUMOTime' type.
>
> I have exhausted my ideas on how to proceed.
>
> If somebody could provide any help, I would really appreciate it.
>
> Thank you,
> Filip Minx
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to