Problem in VEINS

203 views
Skip to first unread message

Neeraj Mudgil

unread,
Feb 21, 2012, 11:50:52 PM2/21/12
to omn...@googlegroups.com
Hi Everyone,



I am using veins for my project. For this I am following VEINS tutorial given at http://veins.car2x.org/tutorial/ . Till day before yesterday every example given in veins was running fine without any error But now I am getting the following error:

Loading images from /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd/bitmaps: *: 0 
Loading images from /home/sandeep/omnetpp-4.1/images: *: 0  misc/*: 70  abstract/*: 90  maps/*: 9  background/*: 4  device/*: 195  status/*: 28  old/*: 111  block/*: 320  msg/*: 55 

Plugin path: ./plugins
OMNeT++ Discrete Event Simulation  (C) 1992-2010 Andras Varga, OpenSim Ltd.
Version: 4.1, build: 100611-4b63c38, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
Setting up Tkenv...
Loading NED files from /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples: 67
Loading NED files from /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/src: 189

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=3) during network initialization: Model error: Could not read 4 bytes from TraCI server, got only 0: 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: 134
Command line: /home/sandeep/omnetpp-4.1/bin/opp_run -r 0 -n /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples:/home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/src -l /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/src/inet /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd/omnetpp.ini

Working directory: /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd

PATH=/home/sandeep/omnetpp-4.1/bin::/usr/lib64/mpi/gcc/openmpi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/home/sandeep/omnetpp-4.1/bin:/home/sandeep/omnetpp-4.1/bin
LD_LIBRARY_PATH=/home/sandeep/omnetpp-4.1/lib::/home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/src:/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/server:/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64:/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/../lib/amd64:/usr/lib64/mpi/gcc/openmpi/lib64:/usr/lib64/xulrunner-addons
OMNETPP_IMAGE_PATH=/home/sandeep/omnetpp-4.1/images



 The output in terminal is



sandeep@linux-oh07:~> cd omnetpp-4.1/samples/sommer-inet-sommer-fa9561b
sandeep@linux-oh07:~/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b> cd etc
sandeep@linux-oh07:~/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/etc> python sumo-launchd.py -vv -c sumo
Logging to /tmp/sumo-launchd.log
Listening on port 9999
Connection from 127.0.0.1 on port 39202
Handling connection from 127.0.0.1 on port 39202
Got TraCI message of length 2
Got TraCI command of length 1
Got TraCI command 0x0
Got CMD_GETVERSION
Got TraCI message of length 287
Got TraCI command of length 282
Got TraCI command 0x75
Got CMD_FILE_SEND for "sumo-launchd.launch.xml"
Got CMD_FILE_SEND with data "<launch>
  <copy file="net.net.xml"/>
  <copy file="routes.rou.xml"/>
  <copy file="sumo.sumo.cfg" type="config"/>
  <basedir path="/home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd/"/>
  <seed value="0"/>
</launch>
"
Creating temporary directory...
Temporary dir is /tmp/sumo-launchd-tmp-tNf2hd
Base dir is /home/sandeep/omnetpp-4.1/samples/sommer-inet-sommer-fa9561b/examples/traci_launchd/
Seed is 0
Finding free port number...
Claiming lock on port
...found port 47133
Starting SUMO (sumo -c sumo.sumo.cfg) on port 47133, seed 0
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 1)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 2)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 3)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 4)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 5)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 6)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 7)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 8)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 9)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c sumo.sumo.cfg) on port 47133 (try 10)
Error ([Errno 111] Connection refused)
Releasing lock on port
Cleaning up
Result: "None"
Aborting on error: [Errno 111] Connection refused
Closing connection from 127.0.0.1 on port 39202
                                        


Can anyone please help me?

Thans You!                                  


--
Neeraj Mudgil
M.Tech Computer Engg.(2010-12)
NIT Kurukshetra
Contact: 09992300873
*
**(¨`·.·´¨) Alwayz
`·.¸(¨`·.·´¨) Keep
       (¨`·.·´¨)¸.·´ Smiling!
        `·.¸.·´ *



--
Neeraj Mudgil
M.Tech Computer Engg.(2010-12)
NIT Kurukshetra
Contact: 09992300873

(¨`·.·´¨) Alwayz
`·.¸(¨`·.·´¨) Keep
       (¨`·.·´¨)¸.·´ Smiling!
        `·.¸.·´


Neeraj Mudgil

unread,
Feb 22, 2012, 1:38:44 AM2/22/12
to omnetpp
Reply all
Reply to author
Forward
0 new messages