Please see below the transcript from SUMO and OMNET when I launch the "inetmanet/examples/traci_launchd".
Any help will be greatly appreciated! Many thanks!
=========================
Logging to c:\users\vrinjoy\appdata\local\temp\sumo-launchd.log
Listening on port 9999
Connection from 127.0.0.1 on port 64355
Handling connection from 127.0.0.1 on port 64355
Got TraCI message of length 2
Got TraCI command of length 1
Got TraCI command 0x0
Got CMD_GETVERSION
Got TraCI message of length 293
Got TraCI command of length 288
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="D:/programs/omnet/omnetpp-4.2.1/inetmanet-inetmanet-0746
3fd/examples/traci_launchd/"/>
<seed value="0"/>
</launch>
"
Creating temporary directory...
Temporary dir is c:\users\vrinjoy\appdata\local\temp\sumo-launchd-tmp-ihvod0
Base dir is D:/programs/omnet/omnetpp-4.2.1/inetmanet-inetmanet-07463fd/e
xamples/traci_launchd/
Seed is 0
Finding free port number...
Claiming lock on port
...found port 64356
Starting SUMO (d:/programs/omnet/omnetpp-4.2.1/sumo-0.13.1/bin/sumo.exe -
c sumo.sumo.cfg) on port 64356, seed 0Connecting to SUMO (d:/programs/omnet/omnetpp-4.2.1/sumo-0.13.1/bin/sumo.
exe -c sumo.sumo.cfg) on port 64356 (try 1)
Error ([Errno 10061] No connection could be made because the target machine acti
vely refused
it)
....
<repeated 10 times>
....
Releasing lock on port
Cleaning up
Aborting on error: [Error 32] The process cannot access the file because it is b
eing used by another process: 'c:\\users\\vrinjoy\\appdata\\local\\temp\\sumo-la
unchd-tmp-ihvod0\\sumo-launchd.err.log'
Closing connection from 127.0.0.1 on port 64355
==================================
On the OMNET side this is what I see:
Loading images from D:\programs\omnet\omnetpp-4.2.1\inetmanet-inetmanet-07463fd\examples\traci_launchd\bitmaps: *: 1
Loading images from d:\programs\omnet\omnetpp-4.2.1\images: *: 0 abstract/*: 90 background/*: 4 block/*: 320 device/*: 195 maps/*: 9 misc/*: 70 msg/*: 55 old/*: 111 status/*: 28
Plugin path: ./plugins
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: Unknown error.
TRAPPING on the exception above, due to a debug-on-errors=true configuration option. Is your debugger ready?
===========================================
In the sumo error log:
Error: Could not build projection!
Quitting (on error).
========================================