首页 > 解决方案 > 静脉:错误:无法解析主机/地址“sumo.dlr.de”

问题描述

我正在使用 Veins-4a2 和 Sumo-0.22.0。由于在这个平台上工作了好几个月,今天我尝试启动一个新的模拟,但我在终端中收到了这个错误:

<stderr><![CDATA[Warning: Environment variable SUMO_HOME is not set,
schema resolution will use slow website lookups.
Error: unable to resolve host/address 'sumo.dlr.de'
In file 'myFile.poly.xml'

以及 Omnet++ 中的这个错误:

<!> Error in module (Veins::TraCIScenarioManagerLaunchd) 

RSUExampleScenario.manager (id=6) at event #1, t=0: Attempted to read 

past end of byte buffer.

请注意,环境变量 SUMO_HOME 设置得很好。我无法理解错误,谁能帮我解决它?

这是 myFile.poly.xml:

https://www.transfernow.net/ddl/myFile

标签: omnet++veinssumo

解决方案


Sumo 尝试myFile.poly.xml使用其架构定义进行验证。我猜,xsi:noNamespaceSchemaLocationin的值myFile.poly.xml设置为某个 url,其中包括sumo.dlr.de.

显然,http ://sumo.dlr.de/ 至少已经关闭了几天,因此这不起作用。尝试改用http://sumo.sourceforge.net/xsd/polyconvertConfiguration.xsd作为值。


推荐阅读