Hello, I successfully followed the tutorials at: http://veins.car2x.org/tutorial/ I also read the FAQ. Initially, I was getting the error message "Could not connect to TraCI server. Make sure it is running and not behind a firewall" when trying to run the last step of the tutorials. My simulation crashes whenever I try to run the "Veins demo scenario" - I get the same error message with both Veins 2.1 and Veins 2.2. I am running Windows 7.
What sumo version do you recommend running veins 2.2 with? The tutorials says use sumo-0.17.1, but the change log for Veins 2.2 says it supports sumo-0.19.0? What do I do to solve this problem? Thanks After I made sure it was not being blocked by a firewall, it started giving me the error message below: DEBUG:root:Closing connection from 127.0.0.1 on port 3442 DEBUG:root:Logging to c:\users\nekedebe\appdata\local\temp\sumo-launchd.log WARNING:root:Superfluous command line arguments: "C:/Users/nekedebe/sumo-0.19.0/bin/sumo.exe" INFO:root:Listening on port 9999 DEBUG:root:Connection from 127.0.0.1 on port 36581 DEBUG:root:Handling connection from 127.0.0.1 on port 36581 DEBUG:root:Got TraCI message of length 2 DEBUG:root:Got TraCI command of length 1 DEBUG:root:Got TraCI command 0x0 DEBUG:root:Got CMD_GETVERSION DEBUG:root:Got TraCI message of length 312 DEBUG:root:Got TraCI command of length 307 DEBUG:root:Got TraCI command 0x75 DEBUG:root:Got CMD_FILE_SEND for "sumo-launchd.launch.xml" DEBUG:root: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="C:/Users/nekedebe/src/omnetpp-4.2/samples/mixim/examples/veins/"/> <seed value="0"/> </launch> " DEBUG:root:Creating temporary directory... DEBUG:root:Temporary dir is c:\users\nekedebe\appdata\local\temp\sumo-launchd-tmp-dtqvcj DEBUG:root:Cleaning up DEBUG:root:Result: "None" ERROR:root:Aborting on error: DLL load failed: The specified procedure could not be found. DEBUG:root:Closing connection from 127.0.0.1 on port 36581 DEBUG:root:Connection from 127.0.0.1 on port 36585 DEBUG:root:Handling connection from 127.0.0.1 on port 36585 DEBUG:root:Got TraCI message of length 2 DEBUG:root:Got TraCI command of length 1 DEBUG:root:Got TraCI command 0x0 DEBUG:root:Got CMD_GETVERSION DEBUG:root:Got TraCI message of length 312 DEBUG:root:Got TraCI command of length 307 DEBUG:root:Got TraCI command 0x75 DEBUG:root:Got CMD_FILE_SEND for "sumo-launchd.launch.xml" DEBUG:root: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="C:/Users/nekedebe/src/omnetpp-4.2/samples/mixim/examples/veins/"/> <seed value="0"/> </launch> " DEBUG:root:Creating temporary directory... DEBUG:root:Temporary dir is c:\users\nekedebe\appdata\local\temp\sumo-launchd-tmp-l67oqr DEBUG:root:Cleaning up DEBUG:root:Result: "None" ERROR:root:Aborting on error: DLL load failed: The specified procedure could not be found. DEBUG:root:Closing connection from 127.0.0.1 on port 36585 DEBUG:root:Connection from 127.0.0.1 on port 36587 DEBUG:root:Handling connection from 127.0.0.1 on port 36587 DEBUG:root:Got TraCI message of length 2 DEBUG:root:Got TraCI command of length 1 DEBUG:root:Got TraCI command 0x0 DEBUG:root:Got CMD_GETVERSION DEBUG:root:Got TraCI message of length 312 DEBUG:root:Got TraCI command of length 307 DEBUG:root:Got TraCI command 0x75 DEBUG:root:Got CMD_FILE_SEND for "sumo-launchd.launch.xml" DEBUG:root: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="C:/Users/nekedebe/src/omnetpp-4.2/samples/mixim/examples/veins/"/> <seed value="0"/> </launch> " ----------------------------------------------------------- I get the following error message from OMNeT++ 4.2 OMNeT++ Discrete Event Simulation (C) 1992-2011 Andras Varga, OpenSim Ltd. Version: 4.2, build: 111116-7631e2d, edition: Academic Public License -- NOT FOR COMMERCIAL USE See the license for distribution terms and warranty disclaimer Setting up Tkenv... Loading NED files from ..: 36 Loading NED files from ../../src: 91 Loading NED files from ../../tests: 51 Loading NED files from C:\Users\nekedebe\src\veins-2.2\src\base: 17 Loading NED files from C:\Users\nekedebe\src\veins-2.2\src\modules: 73 Loading NED files from C:\Users\nekedebe\src\veins-2.2\examples: 36 Loading images from C:\Users\nekedebe\src\veins-2.2\examples\veins\bitmaps: *: 0 Loading images from C:\Users\nekedebe\src\omnetpp-4.2\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=6) at event #1, t=0: Model error: Connection to TraCI server lost. Check your server's log. Error message: 10054: Unknown error. TRAPPING on the exception above, due to a debug-on-errors=true configuration option. Is your debugger ready? Simulation terminated with exit code: -2147483645 Working directory: C:/Users/nekedebe/src/veins-2.2/examples/veins Command line: veins.exe -r 0 -n ..;../../src;../../tests -l ../../tests/power/utils/powerTestUtils -l ../../tests/testUtils/miximtestUtils -l ../../src/base/miximbase -l ../../src/modules/miximmodules --debug-on-errors=true omnetpp.ini ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
