Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » Eclipse Sumo » SUMO Crashes after multiple runs(Connection closed by SUMO)
SUMO Crashes after multiple runs [message #1847293] Fri, 22 October 2021 00:48
Muaid Ahmed is currently offline Muaid AhmedFriend
Messages: 3
Registered: October 2021
Junior Member
Hei,

I am running the sumo via python for a 1000 simulation runs for deep learning. At run 92, the sumo crashed and I get the following error. 'FatalTraCIError: connection closed by SUMO'. I attached the traci.log file.

The error messages as following.

File "C:\anaconda\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)

File "C:\anaconda\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "C:/Users/utar/Desktop/J1-Subang-151120/2-JUNCTIONS/Junctions/Test Set 8-9am/Adaptive Signal/Learning/Calibration Set 7-8am/tlid300921.py", line 548, in <module>
reward = TrafficLightController(tl).getReward()

File "C:/Users/utar/Desktop/J1-Subang-151120/2-JUNCTIONS/Junctions/Test Set 8-9am/Adaptive Signal/Learning/Calibration Set 7-8am/tlid300921.py", line 295, in getReward
green_reward = self.get_Green_reward_lanearea()

File "C:/Users/utar/Desktop/J1-Subang-151120/2-JUNCTIONS/Junctions/Test Set 8-9am/Adaptive Signal/Learning/Calibration Set 7-8am/tlid300921.py", line 246, in get_Green_reward_lanearea
for i in self.get_green_lanearea():

File "C:/Users/utar/Desktop/J1-Subang-151120/2-JUNCTIONS/Junctions/Test Set 8-9am/Adaptive Signal/Learning/Calibration Set 7-8am/tlid300921.py", line 217, in get_green_lanearea
for i in self.getLaneAreaIDList():

File "C:/Users/utar/Desktop/J1-Subang-151120/2-JUNCTIONS/Junctions/Test Set 8-9am/Adaptive Signal/Learning/Calibration Set 7-8am/tlid300921.py", line 78, in getLaneAreaIDList
getLinks2 = traci.lane.getLinks(getLinks1)[0][0]

File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\domain.py", line 166, in tracingWrapper
return method(*args, **kwargs)

File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\_lane.py", line 123, in getLinks
complete_data = self._getUniversal(tc.LANE_LINKS, laneID)

File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\domain.py", line 172, in _getUniversal
return _parse(self._retValFunc, varID, self._getCmd(varID, objectID, format, *values))

File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\domain.py", line 177, in _getCmd
r = self._connection._sendCmd(self._cmdGetID, varID, objID, format, *values)

File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py", line 181, in _sendCmd
return self._sendExact()

File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py", line 91, in _sendExact
raise FatalTraCIError("connection closed by SUMO")

FatalTraCIError: connection closed by SUMO
  • Attachment: traci.log
    (Size: 12.93MB, Downloaded 34 times)
Previous Topic:Vehicle 'xx' is not allowed to depart on edge 'xxxxxxxxxxxxxxxx'
Next Topic:VehiDs passing through a path
Goto Forum:
  


Current Time: Sun Mar 03 13:43:22 GMT 2024

Powered by FUDForum. Page generated in 0.02516 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top