New Problem - Pls Help (SUMO+Veins+Omnet++)

122 views
Skip to first unread message

Ravneet Kaur

unread,
Sep 11, 2019, 6:59:54 AM9/11/19
to OMNeT++ Users
Hi,

Please look into the error and guide me in the problem.

Any help is appreciated.

rkaur@rkaur-VirtualBox:~/veins-5a2/veins-veins-5a2$ ./sumo-launchd.py -vv -c /sumo/bin/sumo
Logging to /tmp/sumo-launchd.log
Listening on port 9999
Connection from 127.0.0.1 on port 44450
Handling connection from 127.0.0.1 on port 44450
Got TraCI message of length 2
Got TraCI command of length 1
Got TraCI command 0x0
Got CMD_GETVERSION
Got TraCI message of length 302
Got TraCI command of length 297
Got TraCI command 0x75
Got CMD_FILE_SEND for "sumo-launchd.launch.xml"
Got CMD_FILE_SEND with data "<launch>
  <copy file="erlangen.net.xml"/>
  <copy file="erlangen.rou.xml"/>
  <copy file="erlangen.poly.xml"/>
  <copy file="erlangen.sumo.cfg" type="config"/>
  <basedir path="/home/rkaur/veins-5a2/veins-veins-5a2/examples/veins/"/>
  <seed value="0"/>
</launch>
"
Creating temporary directory...
Temporary dir is /tmp/sumo-launchd-tmp-HIemuy
Base dir is /home/rkaur/veins-5a2/veins-veins-5a2/examples/veins/
Seed is 0
Finding free port number...
Claiming lock on port
...found port 37693
Starting SUMO (/sumo/bin/sumo -c erlangen.sumo.cfg) on port 37693, seed 0
Releasing lock on port
Cleaning up
Result: "<?xml version="1.0"?>
<status>
    <exit-code>-1</exit-code>
    <start>1568198004</start>
    <end>1568198004</end>
    <status>Could not start SUMO (/sumo/bin/sumo -c erlangen.sumo.cfg): [Errno 2] No such file or directory</status>
    <stdout><![CDATA[]]></stdout>
    <stderr><![CDATA[]]></stderr>
</status>
"
Closing connection from 127.0.0.1 on port 44450
Connection from 127.0.0.1 on port 44496
Handling connection from 127.0.0.1 on port 44496
Got TraCI message of length 2
Got TraCI command of length 1
Got TraCI command 0x0
Got CMD_GETVERSION
Got TraCI message of length 302
Got TraCI command of length 297
Got TraCI command 0x75
Got CMD_FILE_SEND for "sumo-launchd.launch.xml"
Got CMD_FILE_SEND with data "<launch>
  <copy file="erlangen.net.xml"/>
  <copy file="erlangen.rou.xml"/>
  <copy file="erlangen.poly.xml"/>
  <copy file="erlangen.sumo.cfg" type="config"/>
  <basedir path="/home/rkaur/veins-5a2/veins-veins-5a2/examples/veins/"/>
  <seed value="0"/>
</launch>
"
Creating temporary directory...
Temporary dir is /tmp/sumo-launchd-tmp-qoevSc
Base dir is /home/rkaur/veins-5a2/veins-veins-5a2/examples/veins/
Seed is 0
Finding free port number...
Claiming lock on port
...found port 57613
Starting SUMO (/sumo/bin/sumo -c erlangen.sumo.cfg) on port 57613, seed 0
Releasing lock on port
Cleaning up
Result: "<?xml version="1.0"?>
<status>
    <exit-code>-1</exit-code>
    <start>1568198918</start>
    <end>1568198918</end>
    <status>Could not start SUMO (/sumo/bin/sumo -c erlangen.sumo.cfg): [Errno 2] No such file or directory</status>
    <stdout><![CDATA[]]></stdout>
    <stderr><![CDATA[]]></stderr>
</status>
"
Closing connection from 127.0.0.1 on port 44496


Christoph Sommer

unread,
Sep 14, 2019, 8:04:24 AM9/14/19
to OMNeT++ Users
Ravneet Kaur wrote:
>
> Could not start SUMO (/sumo/bin/sumo -c erlangen.sumo.cfg): [Errno 2] No such file or directory

Most likely your SUMO binary is not located in '/sumo/bin/sumo', but rather something like '/home/rkaur/sumo/bin/sumo'.

Best,

Christoph

--
Jun.-Prof. Dr.-Ing. Christoph Sommer
Cooperative Mobile Systems (CCS Labs)
Heinz Nixdorf Institute, Paderborn University, Germany
http://www.ccs-labs.org/~sommer/

Reply all
Reply to author
Forward
0 new messages