Greeting everyone,
I am using traci commands through a python script in order to run some 
simulations. My sumo version is 1.2.0. The problem is that after simulation 
ends with the command traci.close() i get a non fully written statistical 
output file. I only get the coming lines:
***Starting server on port 42389 ***
Loading net-file from '../../../../.net.xml'... done (13ms).
Loading additional-files from '../../../../.add.xml'... done (12ms).
Loading done.
Simulation version 1.2.0 started with time: 0.00

In the error log i get Error: tcpip::Socket::recvAndCheck @ recv: peer 
shutdownQuitting (on error).

The strange thing is that if i run the exact same script but using the sumo-gui 
the output files are fully writen.

My configuration file:
<?xml version="1.0" encoding="iso-8859-1"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="http://sumo.sf.net/xsd/sumoConfiguration.xsd";>
    <input>
        <net-file value="net.xml"/>
        <route-files value="rou.xml"/>
        <additional-files value="add.xml"/>
    </input>

    <output>
         <tripinfo-output value="output/tripinfo.xml"/>
         <tripinfo-output.write-unfinished value="true"/>
    </output>

    <report>
         <duration-log.statistics value="true"/>
         <message-log value="output/statistic.xml"/>
         <error-log value="output/error.log.xml"/>
    </report>

    <time>
        <begin value="0"/>
        <end value="81600"/>
        <step-length value="0.01"/>
    </time>

    <gui_only>
        <start value="true"/>
        <gui-settings-file value="gui.xml"/>
    </gui_only>

</configuration>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to