Error in running sumo-launchd.py

252 views
Skip to first unread message

Hanin

unread,
Mar 10, 2014, 7:04:54 PM3/10/14
to omn...@googlegroups.com
Hello everyone

I'm trying to run sumo-launchd.py using VACamobile .
after the Omnet++ start and open the Sumo when I tried to run the sumo it's gave me an error message ! (it's shown the attachment ).



the error in the Omnet++ console :

<!> Error in module (VACaMobil) Highway.manager (id=3) at event #1, t=0: Model error: TraCI server "SUMO 0.19.0" reports API version 7. This server is unsupported..

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:/omnetpp-4.3.1/samples/Final
Command line: c:/omnetpp-4.3.1/bin/opp_run.exe -r 0 -c General -n .;../inet/examples;../inet/src -l ../inet/src/inet omnetpp.ini

Environment variables:
OMNETPP_ROOT=c:/omnetpp-4.3.1
PATH=;C:/omnetpp-4.3.1/samples/inet/src;c:\omnetpp-4.3.1\bin;c:\omnetpp-4.3.1\msys\bin;c:\omnetpp-4.3.1\mingw\bin;c:/omnetpp-4.3.1/ide/jre/bin/client;c:/omnetpp-4.3.1/ide/jre/bin;c:/omnetpp-4.3.1/ide/jre/lib/i386;.;C:\omnetpp-4.3.1\msys\local\bin;c:\omnetpp-4.3.1\mingw\bin;C:\omnetpp-4.3.1\msys\bin;c:\omnetpp-4.3.1\bin;c:\Program Files (x86)\Rockwell Software\RSCommon;c:\Program Files\Common Files\Microsoft Shared\Windows Live;c:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;c:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;c:\Program Files\Intel\WiFi\bin\;c:\Program Files\Common Files\Intel\WirelessCommon\;c:\Program Files (x86)\Common Files\Adobe\AGL;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Windows Live\Shared;c:\Program Files\MATLAB\R2010a\runtime\win64;c:\Program Files\MATLAB\R2010a\bin; C;C:\omnetpp-4.3.1\msys\cygwin\bin;c,\cygwin\bin;c:\python27;c:\Program Files (x86)\QuickTime\QTSystem\;c:\Program Files (x86)\Google\google_appengine\;c:\omnetpp-4.3.1;
OMNETPP_IMAGE_PATH=c:\omnetpp-4.3.1\images



I used Omnet++ 4.3.1 , SUMO-0.19.0 ,windows64bit .

Can anyone help me to fix this error please ?
 


Capture2.PNG

Alfonso Ariza Quintana

unread,
Mar 10, 2014, 7:07:15 PM3/10/14
to omn...@googlegroups.com
I have actualized the traci code from inetmanet-2.0 it should work with sumo 0.19


Date: Mon, 10 Mar 2014 16:04:54 -0700
From: just...@gmail.com
To: omn...@googlegroups.com
Subject: [Omnetpp-l] Error in running sumo-launchd.py
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hanin

unread,
Mar 11, 2014, 10:47:11 AM3/11/14
to omn...@googlegroups.com



 
I did copy the inetmanet traci code and replace it with the VACaMobil code and still not working ?
any other suggestions ?!

Alvaro Torres Cortes

unread,
Mar 11, 2014, 11:07:54 AM3/11/14
to omn...@googlegroups.com

VACaMobil code is not updated to the last traci version, so I suggest you to use Sumo 0.17.1

Bye.


El 11/03/14 15:47, Hanin escribió:



 
I did copy the inetmanet traci code and replace it with the VACaMobil code and still not working ?
any other suggestions ?!
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 
Alvaro Torres Cortes
PhD Student
Grupo de Redes de Computadores (GRC)
Departamento de Informatica de Sistemas y Computadores (DISCA)
Universitat Politecnica de Valencia (UPV)
UPV, Edificio 1G, Camino de Vera S/N, Valencia 46022 España
e-mail: atco...@batousay.com
Web: http://www.grc.upv.es

Hanin

unread,
Mar 11, 2014, 1:56:46 PM3/11/14
to omn...@googlegroups.com
I used the sumo0.17.1 and an error shows :
<!> Error in module (VACaMobil) Highway.manager (id=3) at event #2, t=1: Model error: ASSERT: A new car cannot be added, check the number of routes in function handleMessage, world/VACaMobil/VACaMobil.cc line 145.

Alvaro Torres Cortes

unread,
Mar 12, 2014, 5:53:24 AM3/12/14
to omn...@googlegroups.com
The message is quite clear, you don't have enough routes in your routefile.

Please, test first the VACaMobil example.

Bye.




El 11/03/14 18:56, Hanin escribió:
I used the sumo0.17.1 and an error shows :
<!> Error in module (VACaMobil) Highway.manager (id=3) at event #2, t=1: Model error: ASSERT: A new car cannot be added, check the number of routes in function handleMessage, world/VACaMobil/VACaMobil.cc line 145.

--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hanin

unread,
Mar 12, 2014, 2:12:24 PM3/12/14
to omn...@googlegroups.com
Hello sir
I'm sorry, did you mean the routefile in the sumo? how can I generate more routes ?

Hanin

unread,
Mar 12, 2014, 7:36:14 PM3/12/14
to omn...@googlegroups.com
I test the VACaMobil examples and I get:

 "<!> Error in module (VACaMobil) Highway.manager (id=3) at event #1, t=0: Model error: Could not connect to TraCI server. Make sure it is running and not behind a firewall. Error message: 10061: Unknown error."

I did enabled the antivirus+firewall.
I tied the Sumo version 0.15.0 / 0.17.1 / 0.19.0 all of them showed the same error !.


Alvaro Torres Cortes

unread,
Mar 13, 2014, 11:24:35 AM3/13/14
to omn...@googlegroups.com
Please, check that sumo-launchd.py is up and running in the correct port when you launch the example.

Also, make sure that sumo-launchd.py is using the proper version of Sumo.

And if all of that fails, please, attach the error output from sumo-launchd



El 13/03/14 00:36, Hanin escribió:
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hanin

unread,
Mar 13, 2014, 8:43:45 PM3/13/14
to omn...@googlegroups.com
Hello again,
I checked the sumo-launchd.py and the error was in some files name . I correct that and it works and open the Sumo

another problem showed :

" <!> Error in module (TraCIMobility) Highway.host[0].mobility (id=8) at event #2, t=1: Mobility position (x=12400.1,y=28.6089,z=0) is outside the constraint area (0,0,0 - 10699,17131,0). "


I tried to changed constraint area in TraCIMobility but still don't solve it. Can you help me to solve this ?

this is the TraCIMobility parameters:

{
    parameters
:
       
@display("i=block/cogwheel");
       
bool debug = default(false);
       
double constraintAreaMinX @unit(m) = default(0m); // min x position of the constraint area, unconstrained by default (negative infinity)
       
double constraintAreaMinY @unit(m) = default(0m); // min y position of the constraint area, unconstrained by default (negative infinity)
       
double constraintAreaMinZ @unit(m) = default(0m); // min z position of the constraint area, unconstrained by default (negative infinity)
       
double constraintAreaMaxX @unit(m) = default(10699m); // max x position of the constraint area, unconstrained by default (positive infinity)
       
double constraintAreaMaxY @unit(m) = default(17131m); // max y position of the constraint area, unconstrained by default (positive infinity)
       
double constraintAreaMaxZ @unit(m) = default(0m); // max z position of the constraint area, unconstrained by default (positive infinity)
}


Susana Rodriguez

unread,
Jun 10, 2014, 12:29:42 PM6/10/14
to omn...@googlegroups.com
Doe anyone if VACaMobil works with Omnet++ 4.4.1 and SUMO-0.17 

Sergio Martínez Tornell

unread,
Nov 17, 2014, 9:12:48 AM11/17/14
to omn...@googlegroups.com
Hi Susana,

I have updated VACaMobil and now it is based in Inet 2.5. I have tested it with SUMO 0.18.0. You can get it from our github page:

https://github.com/GRCDEV/inet/releases



--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
PhD candidate: Sergio Martínez Tornell
web: http://sertinell.es
Universidad Politécnica de Valencia.
Spain

Sergio Martínez Tornell

unread,
Nov 17, 2014, 9:14:27 AM11/17/14
to omn...@googlegroups.com
You should define the size of your network in your ini file. Look at the example configuration for VACaMobil:

https://github.com/GRCDEV/inet/blob/VACaMobil/examples/VACaMobil/omnetpp.ini

--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Susana Rodriguez

unread,
Nov 17, 2014, 10:12:51 AM11/17/14
to omn...@googlegroups.com
Hi Sergio, 
thanks I will have a look at it. 
Have a good day. 
Susana 

--
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/0tjcK3Kdfzw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages