Hi Abdullah,
states are not meant for long term saving, so you cannot use a 1.3.1
state with sumo 1.7.0. Depending on the size there is a small chance you
might be able to convert it by hand but it is not something which is
easily done.
Usually new states contain more values which you will not be able to
recreate without rerunning the simulation.

Best regards,
Michael

Am 21.10.20 um 01:26 schrieb . Abdullah:
> Hi everyone,
> 
> I updated SUMO to 1.7.0 and now I get this error:
> 
> Loading configuration ... done.
> Warning: State was written with sumo version 1.3.1 (present: 1.7.0)!
> Traceback (most recent call last):
>   File "traci_demo.py", line 164, in <module>
>     traci.start([checkBinary('sumo'), "-c", "config.sumocfg",
> "--no-step-log","--load-state", simulation_file])
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py", line
> 158, in start
>     return init(sumoPort, numRetries, "localhost", label, sumoProcess)
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py", line
> 138, in init
>     return getVersion()
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py", line
> 242, in getVersion
>     return _connections[""].getVersion()
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py",
> line 345, in getVersion
>     result = self._sendCmd(command, None, None)
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py",
> line 178, in _sendCmd
>     return self._sendExact()
>   File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py",
> line 88, in _sendExact
>     raise FatalTraCIError("connection closed by SUMO")
> traci.exceptions.FatalTraCIError: connection closed by SUMO
> 
> Is there any way to get around this? Or do I have to resave my states
> again using the newer version of SUMO?
> 
> 
> -- 
> Thank you.
> Abdullah
> 
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to