Error during startup: Cannot open ini file

1,070 views
Skip to first unread message

Qi LI

unread,
Jun 29, 2012, 11:33:06 AM6/29/12
to omn...@googlegroups.com
Hello everyone,

I am trying to get familiar with how Omnetpp works. I am using Omnetpp 4.1 on Windows 7. I tried to run the simple project source-sink example(also the tic-toc one), but everytime I get an error.

What I did to execute the simulation: 

1)1. Open the OMNeT++ IDE, create new omnet++ project, project name is demo, select the source-sink example and finish.

2) select the project, choose run configurations, working directory is /demo, simulation executable /demo/out/gcc-debug/src/demo, simulation ini file: simulations/omnetpp.ini, choose config name, command line is user interface.

3) And got the following error:
<!> Error during startup: Cannot open ini file `workspace/demo/src;D:/omnetpp-4.1/omnet'.

Simulation terminated with exit code: 1
Command line: D:/omnetpp-4.1/omnet workspace/demo/out/gcc-debug/src/demo.exe -r 0 -u Cmdenv -c General -n D:/omnetpp-4.1/omnet workspace/demo/src;D:/omnetpp-4.1/omnet workspace/demo/simulations D:/omnetpp-4.1/omnet workspace/demo/simulations/omnetpp.ini

Working directory: D:/omnetpp-4.1/omnet workspace/demo

Can anyone please give me some hints why there is this error?

Thanks.

Michael

unread,
Jul 2, 2012, 2:06:02 AM7/2/12
to omn...@googlegroups.com
Do not use directories with spaces in OMNeT++!

Yuliya Kopylova

unread,
Sep 6, 2012, 9:03:30 PM9/6/12
to omn...@googlegroups.com
REMOVE ME
> --
> Sent from the OMNeT++ mailing list. To configure your membership,
> visit http://groups.google.com/group/omnetpp



--
Thanks,
Yuliya

Elnaz

unread,
Aug 5, 2014, 2:48:14 AM8/5/14
to omn...@googlegroups.com
Hi
 The reason why this error is: the queueinglib model in the final release now requires that you specify time units for distribution. Just open the INI file in text mode and fix the issues at the problematic lines by adding "s" (second) after the values..

It sould look like:
**.source.interArrivalTime = 0s
**.seviceTime = exponential(${serviceMean=1..3 step 1}s)
Reply all
Reply to author
Forward
0 new messages