Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] No statistical output file while using Traci
  • From: Thodoris Zerlentis <zerlentis@xxxxxxxx>
  • Date: Mon, 7 Dec 2020 17:53:11 +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=iBgUmHkS7B3uRq0qw4m/UJBSBWcknfshA/2IxnwNqAk=; b=PW4B+6nIR16/Lr+qNOM+ey9FgzP20KkHzXRg7Q4m0HXjCuXHUybav40KhsrF1QKUxBchs0CbFv6LGqGr6Q1TAYZMCMh9cXouQdzXNL88RoQ0CNRSAjPlipFQYxvLU4VR19IJkZhxAP6ogflGbju6UCCwSDgraFcLHxTQ9Ecwu4bzMZ3gUfYUNB18Kdz+ioHzKIdK9wNjq+ED0w6KjymCi4zgdZM5anyh0y4F9FnW86dI4nzPLswP/IrIVsJOhHCvLgYUeQWwfyDZbsuccuv4+PB3dsYiIU53agkHeJut38XVj/yRkgo/PQjnJu6OM8RkjrlISN3FJFMsVGsJwzDv4Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NYRlW9gLkaaetSyGkwT7rhyPKCSvQIxkFo1K9w+xUozrCRHTbSmUXOHaqmA2mJtILK7mv41xtkzpqRQAV1nFhAUQh0XfYCkcCNgmth6klaAcviDFSAx37YGjfp8+eAUTswQI8CM+eDfrQpKSQKEEIQndjY2qbfsJI85Zc3srE0nW7wUDiabqG5xAGj7BFP4i7jwOjEyB7VdmWan66xw4ZavUD+t1z5fXqiM7JHhszoxec9Fl5xyghjqh3WakMVMMzglAtBhpmGWbwqm9k4kTrX7bvwbSo7wygBXA2/SZQhUe/Y4FPNA9BnBpL+nSfGLTysldMQQnAT6ov2MOQExlCQ==
  • 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+ZkeVi124Fqct4KnrO7+AgAAXkgyAABAtgIAAhwTL
  • Thread-topic: [sumo-user] No statistical output file while using Traci

Greeting Jacob,
So i downloaded sumo 1.8 in a different folder from my 1.2 version, installed it and run the script. Everything works perfectly, i get a fully written statistical output file and i also get a blank error-log file. So the stange thing is that i re tryed my script with the 1.2 version and now i get also a fully written output file with no error. So i deleted the 1.8 version and i continue to get the output file correct. So how is this possible?

Best regards,
Thodoris Zerlentis


From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Monday, December 7, 2020 11:44 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] No statistical output file while using Traci
 
Please try running your script with sumo/sumo-gui version 1.8.0 and if the issue still occurs, provide all input files for reproducing this issue.

Am Mo., 7. Dez. 2020 um 09:51 Uhr schrieb Thodoris Zerlentis <zerlentis@xxxxxxxx>:
Thank you for your response Jacob. I already have as my last command in my script the Traci.close(). By using sumo gui everything works perfectly. What am I missing?

Best regards,
Thodoris

Αποκτήστε το Outlook για Android


From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> on behalf of Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Sent: Monday, December 7, 2020 9:21:47 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] No statistical output file while using Traci
 
make sure to call traci.close() at the end of your script (The peer from that error message is your python script which suddenly shuts down).

Am So., 6. Dez. 2020 um 12:15 Uhr schrieb Thodoris Zerlentis <zerlentis@xxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top