omnet++ - 静脉:错误:无法解析主机/地址“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:
解决方案
Sumo 尝试myFile.poly.xml
使用其架构定义进行验证。我猜,xsi:noNamespaceSchemaLocation
in的值myFile.poly.xml
设置为某个 url,其中包括sumo.dlr.de
.
显然,http ://sumo.dlr.de/ 至少已经关闭了几天,因此这不起作用。尝试改用http://sumo.sourceforge.net/xsd/polyconvertConfiguration.xsd
作为值。
推荐阅读
- java - bonigarcia webdrivermanager firefox浏览器问题
- ruby - 为什么有这么多断言?简单的“断言”还不够吗?
- javascript - 通过 ES6 中的 Express 和使用 OOP 概念(类等)构建 Node js 项目
- php - Foreach 的 Selenium WebDrive 问题
- ionic2 - Ionic - 如何在离子选择上显示 [selectOptions] 中定义的自定义按钮?
- c# - 使用 LINQ 和递归从树结构(N 个嵌套列表)中获取项目 - c#
- mysql - 创建影响另一个表的触发器
- java - 如何在内部调用 API 中的某些特定抽象方法的实现?
- html - 检测div内的悬停
- java - 如何从同一个表映射多个@OneToOne 关联