Veins & Sumo - Error while running my own scenario

566 views
Skip to first unread message

Georgios

unread,
Jan 12, 2015, 6:18:15 AM1/12/15
to omn...@googlegroups.com


Dear all,


I would like to solve a problem in Veins-Omnetpp-Sumo.

I have created my own scenario in veins but when I run the scenario I have the following error in SUMO:


Loading configuration... done. ***Starting server on port 34236 *** Loading net-file from 'map.net.xml'... done (528ms). Loading done. Warning: Environment variable SUMO_HOME is not set, schema resolution will use slow website lookups. Error: An exception occurred! Type:NetAccessorException, Message:Could not open file: http://sumo-sim.org/xsd/routes_file.xsd In file 'map.rou.xml' At line/column 1/0. Quitting (on error).


In the past, I used another version of veins and my scenarios worked correctly.


Thanks for your time and I m waiting for your help.


Regards,

Georgios

Christoph Sommer

unread,
Jan 20, 2015, 3:54:45 AM1/20/15
to omn...@googlegroups.com
Georgios wrote:
> when I run the scenario I have the following error in SUMO:
>
> Warning: Environment variable SUMO_HOME is not set, schema resolution
> will use slow website lookups. Error: An exception occurred!
> Type:NetAccessorException, Message:Could not open file:
> http://sumo-sim.org/xsd/routes_file.xsd In file 'map.rou.xml'
>

Unfortunately, recent versions of SUMO have started to try and validate
XML files when loading them (which often fails for various reasons).

You can turn off schema validation in the SUMO configuration file by adding

<report>
<xml-validation value="never"/>
</report>

to the top level <configuration> tree.


Best,

Christoph


--
Dr. Christoph Sommer
Distributed Embedded Systems Group
University of Paderborn, Germany
http://www.ccs-labs.org/~sommer/

Sebastiao Galeno

unread,
Mar 18, 2015, 3:34:01 PM3/18/15
to omn...@googlegroups.com
Hello all,

 I would like to solve a problem in Veins-Omnetpp-Sumo. I run my own scenario I have the following error in SUMO:

Warning: Environment variable SUMO_HOME is not set, schema resolution will use slow website lookups.
Error: unable to open file 'http://www.w3.org/TR/html4/loose.dtd'  In file 'C:\src\sumo-0.21.0\Teresina\Teresina.net.xml'  At line/column 2/103.
Quitting (on error).

What's happenned? How can I solve this?

Thank you.

Christoph Sommer

unread,
Mar 19, 2015, 5:24:13 AM3/19/15
to omn...@googlegroups.com
Dear Sebastiao,

Unfortunately, recent versions of SUMO have started to try and validate
XML files when loading them (which often fails for various reasons).

You can turn off schema validation in the SUMO configuration file by adding

<report>
<xml-validation value="never"/>
</report>

to the top level <configuration> tree.


Best,

Christoph



> http://www.ccs-labs.org/~sommer/ <http://www.ccs-labs.org/~sommer/>
>
> --
> You received this message because you are subscribed to the Google
> Groups "OMNeT++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to omnetpp+u...@googlegroups.com
> <mailto:omnetpp+u...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

hanene brahmia

unread,
Jan 31, 2019, 4:51:10 PM1/31/19
to OMNeT++ Users
hi,
i didn't get where to add this >> <report>
     <xml-validation value="never"/>
  </report>
thanks in advance for your response
Reply all
Reply to author
Forward
0 new messages