Veins tutorials

882 views
Skip to first unread message

zeki nana yaw

unread,
Jan 23, 2012, 11:51:53 AM1/23/12
to omnetpp
Hello am working on a project on vehicular communications using veins
going through the tutorials on installations my SUMO does not run
sumo.exe -c sumo.sumo.cfg. i get the error message net.net.xml does
not exist. Any solutions

Christoph Sommer

unread,
Jan 23, 2012, 12:08:59 PM1/23/12
to omn...@googlegroups.com
Dear ,

I'll be happy to help, but I'll need a much more verbose description of
the error.

It would be most helpful to know which commands you entered immediately
before the error occured and what their output was (ideally by
copy/pasting from the command line window).


Best,

Christoph

--
Dr.-Ing. Christoph Sommer
Institute of Computer Science
University of Innsbruck, Austria
Phone: +43 512 507-96835 / Fax: -9888
http://ccs.uibk.ac.at/~sommer/

zeki nana yaw

unread,
Jan 23, 2012, 12:46:17 PM1/23/12
to omnetpp
Dear Christoph,
Thanks for your response! I am going through all the installation
following the tutorials am doing the installation on windows vista. On
Step 4 - Make sure SUMO is working i followed the instructions on the
said page using the command below and the results shown below!
Thank you


wiseborn@olly-PC /c/Users/wiseborn/veins-2.0-rc1/examples/veins
$ /c/Users/wiseborn/sumo-0.13.1/bin/sumo.exe -c sumo.sumo.cfg
Error: Could not find configuration 'sumo.sumo.cfg'.
Quitting (on error).

wiseborn@olly-PC /c/Users/wiseborn/veins-2.0-rc1/examples/veins
$

On Jan 23, 7:08 pm, Christoph Sommer <christoph.som...@uibk.ac.at>
wrote:

Christoph Sommer

unread,
Jan 23, 2012, 2:22:09 PM1/23/12
to omn...@googlegroups.com
Dear ,

zeki nana yaw wrote:
> /c/Users/wiseborn/veins-2.0-rc1/examples/veins$ /c/Users/wiseborn/sumo-0.13.1/bin/sumo.exe -c sumo.sumo.cfg


>
> Error: Could not find configuration 'sumo.sumo.cfg'.

Sorry, the tutorial had the configuration file name wrong. It should be
erlangen.sumo.cfg (not sumo.sumo.cfg).

Thanks for letting me know!


Cheers,

zeki nana yaw

unread,
Jan 25, 2012, 8:20:47 AM1/25/12
to omnetpp
Dear Christoph,
Thank you for the correction. It worked but i however have a problem
in the last stage of the tutorial "Final step - Run the Veins demo
scenario" after running the commands as stated in the tutorial this is
the error i got.

wiseborn@olly-PC ~
$ /c/Users/wiseborn/veins-2.0-rc1/sumo-launchd.py -vv -c /c/Users/
wiseborn/sumo
-0.13.1/bin/sumo.exe
Traceback (most recent call last):
File "c:/Users/wiseborn/veins-2.0-rc1/sumo-launchd.py", line 47, in
<module>
import socket
File "C:\Users\wiseborn\omnetpp-4.2\msys\bin\python27.zip
\socket.py", line 47,
in <module>
_have_ssl = False
ImportError: Module use of python23.dll conflicts with this version of
Python.


2. I also tried to run the last section using OMNeT++ 4 IDE, to
simulate the Veins demo scenario by following the instruction "right-
clicking on veins-2.0-rc1/examples/veins/omnetpp.ini and choosing Run
As > OMNeT++ simulation" Once again i got an error as shown below.


Starting...

$ cd C:/Users/wiseborn/veins-2.0-rc1/examples/veins
$ veins.exe -r 0 -n ..;../../src;../../tests -l ../../tests/power/
utils/powerTestUtils -l ../../tests/testUtils/miximtestUtils -l ../../
src/base/miximbase -l ../../src/modules/miximmodules omnetpp.ini

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: 92
Loading NED files from ../../tests: 51
Loading NED files from C:\Users\wiseborn\veins-2.0-rc1\src\base: 17
Loading NED files from C:\Users\wiseborn\veins-2.0-rc1\src\modules: 74
Loading NED files from C:\Users\wiseborn\veins-2.0-rc1\examples: 36

Loading images from C:\Users\wiseborn\veins-2.0-rc1\examples\veins
\bitmaps: *: 0
Loading images from c:\Users\wiseborn\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) during network initialization: Model error: Could not connect
to TraCI server. Make sure it is running and not behind a firewall.
Error message: 10061: Unknown error.

TRAPPING on the exception above, due to a debug-on-errors=true
configuration option. Is your debugger ready?



How should i get it fixed i am running on Windows-Vista platform


Thank you very much.


On Jan 23, 9:22 pm, Christoph Sommer <christoph.som...@uibk.ac.at>
wrote:

Zhantong Mou

unread,
Apr 8, 2012, 1:23:17 AM4/8/12
to omn...@googlegroups.com

Dear Christoph ,
I used veins-2.0-rc2 in my project. I followed the tutorial. The omnetpp version is omnetpp-4.2
When I imported veins into my workspace, it had 32 warnings.But after I build the project,there 
are so many errors. the information of one error is "fatal error: MacPkt_m.h: No such file or directory"
the error of this kind is not only this one. how can I setup veins. Is the tutorial ignore something?
Before import veins ,should I install other frame? And before I build the project should I configure something in Omnetpp IDE?
My OS is winxp-32.
I shall be very thankful to you
在 2012年1月24日星期二UTC+8上午1时08分59秒,Christoph Sommer写道:
error information.png
Message has been deleted

Joanne Mun Yee

unread,
Dec 16, 2012, 12:30:34 AM12/16/12
to omn...@googlegroups.com
Dear Emmanuel,


    I have the same error. Did you manage to solve it?


Best Regards,
Joanne
Reply all
Reply to author
Forward
0 new messages