Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] No statistical output file while using Traci
  • From: Thodoris Zerlentis <zerlentis@xxxxxxxx>
  • Date: Sun, 6 Dec 2020 11:15:28 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mjG3vcxu8invg7k+xq92Stl37LDb8rbm4M5dDz2whVM=; b=kk/F4lUXaMQ8C6SikIAG2EgmcqqI2txfS9Mrt0tjf+B/xIGgNAjEbpJUfbmiw6DoST/QObvwk0qPOQSJnh8cd49likqoORomp0nFqC4roLKY6C6XcuNMTmdu0R3x7fdpAQUh/L+AdI6iA4GrtzPmPoa1dzwsKYOY6bDCJHJaM/IR5oAQi7MOe0wPM75inVosjY8sSVh8WsR5pmQszyJ9VaWjaZSa36EU2sE5UNiT5P34aCJg9ckN6XTv0M4GoCVOXiEYN0idovq+Bm8k181/KOW/Yf2lOpRN0j+6MRZ1s6s/MTxbPTRO6TxBtG22qy6Byhari40dDg0ulOQgooIudg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TNWXn1YLDvrMWh2kj35g8HlFpcAtvU/nlWNYSRtXzpPF7i44vohvJbFBmvyGlfG+dL0Qlr9WoFyWuuaBIMDBKFnq6ESez9YP0PZ2kB12TMpwGEgx9oKC5Pr/7cfm7IuN4k1sIyX7hJ2YQWPY0b8JWcT/DfGomYJO/sEzZDN4qBWTEGbj2mCoj/6s9KWhnRhrexKGCa4GS+oVAzU8weLk2QReZ5rSV203T6d73tSEuSgtRAYs9iMAsGxuuG3OQrdbI34BlBa3PIjJrQD+fEVf1jmfbIV0+LHF6fGHOk/zcy4utZ4RVdkxaji8KeHEpBCVelpKE7P++sVAUpaLUyRtCg==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWy7+76YKW4rr+ZkeVi124Fqct4A==
  • Thread-topic: No statistical output file while using Traci

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>

Back to the top