bluemix@blueMix:~/SUMO/veins-2.1/examples/veins$ python /home/bluemix/SUMO/veins-2.1/sumo-launchd.py -vv -c /home/bluemix/SUMO/sumo-0.19.0/bin/sumo
Logging to /tmp/sumo-launchd.log
Listening on port 9999
Connection from 127.0.0.1 on port 45234
Handling connection from 127.0.0.1 on port 45234
Got TraCI message of length 2
Got TraCI command of length 1
Got TraCI command 0x0
Got CMD_GETVERSION
Got TraCI message of length 314
Got TraCI command of length 309
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/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/examples/veins/"/>
<seed value="0"/>
</launch>
"
Creating temporary directory...
Temporary dir is /tmp/sumo-launchd-tmp-2JQTRd
Base dir is /home/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/examples/veins/
Seed is 0
Finding free port number...
Claiming lock on port
...found port 41320
Starting SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320, seed 0
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 1)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 2)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 3)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 4)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 5)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 6)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 7)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 8)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 9)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 41320 (try 10)
Error ([Errno 111] Connection refused)
Releasing lock on port
Cleaning up
Result: "<?xml version="1.0"?>
<status>
<exit-code>-1</exit-code>
<start>1390404178</start>
<end>1390404189</end>
<status>Could not connect to SUMO ([Errno 111] Connection refused). Might be protected by a personal firewall or crashed before a connection could be established.</status>
<stdout><![CDATA[Loading configuration... done.
]]></stdout>
<stderr><![CDATA[Error: Empty edges in roundabout.
Quitting (on error).
]]></stderr>
</status>
"and the information from OMNeT++ console:
<!> Error in module (TraCIScenarioManagerLaunchd) scenario.manager (id=6) at event #1, t=0: Model error: Connection to TraCI server lost. Check your server's log. Error message: 104: Connection reset by peer.
TRAPPING on the exception above, due to a debug-on-errors=true configuration option. Is your debugger ready?
Simulation terminated with exit code: 2bluemix@blueMix:~/SUMO/veins-2.1/examples/veins$ python /home/bluemix/SUMO/veins-2.1/sumo-launchd.py -vv -c /home/bluemix/SUMO/sumo-0.18.0/bin/sumo
Logging to /tmp/sumo-launchd.log
Listening on port 9999
Connection from 127.0.0.1 on port 56921
Handling connection from 127.0.0.1 on port 56921
Got TraCI message of length 2
Got TraCI command of length 1
Got TraCI command 0x0
Got CMD_GETVERSION
Got TraCI message of length 314
Got TraCI command of length 309
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/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/examples/veins/"/>
<seed value="0"/>
</launch>
"
Creating temporary directory...
Temporary dir is /tmp/sumo-launchd-tmp-ZVdazZ
Base dir is /home/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/examples/veins/
Seed is 0
Finding free port number...
Claiming lock on port
...found port 39684
Starting SUMO (/home/bluemix/SUMO/sumo-0.18.0/bin/sumo -c erlangen.sumo.cfg) on port 39684, seed 0
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.18.0/bin/sumo -c erlangen.sumo.cfg) on port 39684 (try 1)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.18.0/bin/sumo -c erlangen.sumo.cfg) on port 39684 (try 2)
Releasing lock on port
Starting proxy mode
Done with proxy mode
Done with proxy mode, killing SUMO
Done running SUMO
Cleaning up
Result: "<?xml version="1.0"?>
<status>
<exit-code>1</exit-code>
<start>1390590790</start>
<end>1390590791</end>
<status>Exited with error code 1</status>
<stdout><![CDATA[Loading configuration... done.
Step #0.00]]></stdout>
<stderr><![CDATA[Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown
Quitting (on error).
]]></stderr>
</status>
"
Closing connection from 127.0.0.1 on port 56921
^CKeyboard interrupt.
Shutting down.
RUNTIME ERROR. A cRuntimeError exception is about to be thrown, and you
requested (by setting debug-on-errors=true in the ini file) that errors
abort execution and break into the debugger.
You should now probably be running the simulation under gdb or another
debugger. The simulation kernel will now raise a SIGABRT signal which will
get you into the debugger. If you are not running under a debugger, you can
still use the core dump for post-mortem debugging. Once in the debugger,
view the call stack (in gdb: "bt" command) to see the context of the
runtime error.
<!> Error in module (TraCIScenarioManagerLaunchd) scenario.manager (id=6) at event #1, t=0: Model error: TraCI server "SUMO 0.18.0" reports API version 6. This server is unsupported..
TRAPPING on the exception above, due to a debug-on-errors=true configuration option. Is your debugger ready?
Simulation terminated with exit code: 2
Working directory: /home/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/examples/veins
Command line: veins -r 0 -n ..:../../src:../../tests -l ../../tests/power/utils/powerTestUtils -l ../../tests/testUtils/miximtestUtils -l ../../src/base/miximbase -l ../../src/modules/miximmodules omnetpp.ini
Environment variables:
PATH=/home/bluemix/OMNeTpp/omnetpp-4.3.1/bin::/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/bluemix/OMNeTpp/omnetpp-4.3.1/bin
LD_LIBRARY_PATH=/home/bluemix/OMNeTpp/omnetpp-4.3.1/lib::/home/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/tests/power/utils:/home/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/tests/testUtils:/home/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/src/base:/home/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/src/modules:/usr/lib32
OMNETPP_IMAGE_PATH=/home/bluemix/OMNeTpp/omnetpp-4.3.1/images
bluemix@blueMix:~/SUMO/veins-2.1-beta/mixim-sommer/examples/veins$ python /home/bluemix/SUMO/veins-2.1-beta/mixim-sommer/sumo-launchd.py -vv -c /home/bluemix/SUMO/sumo-0.19.0/bin/sumo
Logging to /tmp/sumo-launchd.log
Listening on port 9999
Connection from 127.0.0.1 on port 39948
Handling connection from 127.0.0.1 on port 39948
Got TraCI message of length 2
Got TraCI command of length 1
Got TraCI command 0x0
Got CMD_GETVERSION
Got TraCI message of length 314
Got TraCI command of length 309
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/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/examples/veins/"/>
<seed value="0"/>
</launch>
"
Creating temporary directory...
Temporary dir is /tmp/sumo-launchd-tmp-ecvP3E
Base dir is /home/bluemix/OMNeTpp/omnetpp-4.3.1/samples/mixim/examples/veins/
Seed is 0
Finding free port number...
Claiming lock on port
...found port 40503
Starting SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 40503, seed 0
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 40503 (try 1)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 40503 (try 2)
Error ([Errno 111] Connection refused)
Connecting to SUMO (/home/bluemix/SUMO/sumo-0.19.0/bin/sumo -c erlangen.sumo.cfg) on port 40503 (try 3)
Releasing lock on port
Starting proxy mode
Done with proxy mode
Done with proxy mode, killing SUMO
Done running SUMO
Cleaning up
Result: "<?xml version="1.0"?>
<status>
<exit-code>1</exit-code>
<start>1390663457</start>
<end>1390663621</end>
<status>Exited with error code 1</status>
<stdout><![CDATA[Loading configuration... done.
Step #87.80]]></stdout>?UPS, vehicles TOT 30 ACT 30)
<stderr><![CDATA[Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown
Quitting (on error).
]]></stderr>
</status>
"
Closing connection from 127.0.0.1 on port 39948
<stderr><![CDATA[Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown
Quitting (on error).
--For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/7QL2k6QfQqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
| Dear AbdElmomen Thanks for your response. The following is the detail of the error. I appreciate your help and guidance in order to run the first example of veins. |
Hello,
First of all, I don't use Windows. I am really sorry if I don't understand your problem.
Did you run sumo-launchd.py?
عبدالمؤمن كاظم wrote:
> Now, i installed SUMO 0.18.0, and did make install.
[..]
> Model error: TraCI server "SUMO 0.18.0" reports API version 6. This server is unsupported..
Sorry about that. I forgot that even SUMO 0.18 is not yet supported by
Veins. I have now uploaded a newer version to
https://github.com/sommer/mixim-sommer/archive/b47beb0c.zip
This one should work for all current versions of SUMO. Note that it has
not received extensive testing yet, so please let me know any problems.
Best,
--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.