-2

I use sumo 0.21, veins 3.0, OMNet++ 4.6 but when I run simulation without internet connection i get the error

Attempted to read past end of byte buffer

and even using low speed internet connection make noticeable latency before running simulation i used previous version of these simulator but only in these version this problem occurred What is the cause of this problem? how can I fix it?

S.kh
  • 15
  • 7

1 Answers1

0

For recent versions of SUMO, you will need to either turn XML schema validation off, set the SUMO_HOME environment variable so that XML schema files can be found, or attach your machine to the Internet so they can be downloaded on-demand.

Quoting from the SUMO Wiki:

--xml-validation <STRING>: Set schema validation scheme of XML inputs ("never", "auto" or "always"); default: auto

The schema files can be found in the /data/xsd directory of your SUMO installation. If the environment variable SUMO_HOME is set, these files will be used when validation inputs.

Otherwise, the files are loaded from http://sumo.dlr.de/xsd/SCHEMA_FILE which may slow down the application (or fail if there is no internet connection).

Christoph Sommer
  • 6,413
  • 1
  • 14
  • 34