Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Cannot run state saved from previous version

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

Back to the top