[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[sumo-user] FatalTraCIError: connection closed by SUMO (receiving error message while zooming-in)
|
Dear all
I am encountering the problem (error message) when I am trying to zoom in on
my simulation to some particular extent to observe the movements. Below is
the error message that I am receiving and I don't know how to deal with
that.
---------------------------------------------------------------------------
FatalTraCIError Traceback (most recent call last)
<ipython-input-2-d09da2f2afce> in <module>
38
39 for step in range(3000):
---> 40 traci.simulationStep()
41
42 """
C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py in
simulationStep(step)
211 args = "" if step == 0 else str(step)
212
_traceFile[_currentLabel[0]].write("traci.simulationStep(%s)\n" % args)
--> 213 return _connections[""].simulationStep(step)
214
215
C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py in
simulationStep(self, step)
289 if type(step) is int and step >= 1000:
290 warnings.warn("API change now handles step as floating
point seconds", stacklevel=2)
--> 291 result = self._sendCmd(tc.CMD_SIMSTEP, None, None, "D",
step)
292 for subscriptionResults in
self._subscriptionMapping.values():
293 subscriptionResults.reset()
C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py in
_sendCmd(self, cmdID, varID, objID, format, *values)
176 self._string += struct.pack("!i", len(objID)) +
objID.encode("latin1")
177 self._string += packed
--> 178 return self._sendExact()
179
180 def _readSubscription(self, result):
C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py in
_sendExact(self)
86 self._socket.close()
87 del self._socket
---> 88 raise FatalTraCIError("connection closed by SUMO")
89 for command in self._queue:
90 prefix = result.read("!BBB")
FatalTraCIError: connection closed by SUMO
--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/