Hi all,
I encountered one problem, I installed SUMO 1.0.1 on win7 and Ubuntu 16.04 
successfully, and ran the same code piece, then I found it works well on Win7 
but failed in Ubuntu docker. At the same time, I started another docker to 
install SUMO 0.32.0 on Ubuntu, I found the same code piece work well also.
My code is very simple, shown as followed, and the attachment provide all the 
used input file, I tried to use -log, but no output.

import traci
sumo_cmd="sumo-gui --net-file luxiang_lize.net.xml --route-files 
POC3wdv6ie2.rou.xml" \
         " --tripinfo-output trip_log_0b54w98fc.xml --additional-files 
addition_0ubaqj5y0add.xml,addition2_0t9fipyubadd.xml,addition3_0p9zlyw08add.xml"
sumo_cmd=sumo_cmd.split(" ")
cnt=2902
while True:
    cnt+=1
    print(cnt)
    traci.start(sumo_cmd,cnt)
    simulate_count = 0
    while simulate_count < 11000:
        print(simulate_count)
        simulate_count += 1
        traci.simulationStep()
traci.close()


The error message of SUMO 1.0.1 on Ubuntu is
Traceback (most recent call last):
  File "/mnt/test/test/test.py", line 20, in <module>
    traci.simulationStep()
  File "/usr/local/share/sumo/tools/traci/__init__.py", line 149, in 
simulationStep
    responses = _connections[""].simulationStep(step)
  File "/usr/local/share/sumo/tools/traci/connection.py", line 323, in 
simulationStep
    result = self._sendExact()
  File "/usr/local/share/sumo/tools/traci/connection.py", line 99, in _sendExact
    raise FatalTraCIError("connection closed by SUMO")
traci.exceptions.FatalTraCIError: connection closed by SUMO




Attachment: test.rar
Description: test.rar

_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to