【问题标题】:I need some solution please我需要一些解决方案
【发布时间】:2019-11-17 06:33:32
【问题描述】:

我收到以下错误消息:

Warning: Environment variable SUMO_HOME is not set, using built in type maps.
Warning: Environment variable SUMO_HOME is not set, schema resolution will use slow website lookups.
Error: unable to open file 'https://sumo.dlr.de/xsd/types_file.xsd'
 In file 'built in type map'
 At line/column 1/0.

  The types could not be loaded from 'built in type map'.
Quitting (on error).

这可能是什么原因造成的?

【问题讨论】:

  • 请编辑您的问题以包含导致警告和错误消息的命令。

标签: warnings environment ns2 ns-3


【解决方案1】:

错误:无法打开文件'https://sumo.dlr.de/xsd/types_file.xsd'

它是 http ,而不是 https。 ...请看本站https://sumo.dlr.de/wiki/Networks/PlainXML$ wget http://sumo.dlr.de/xsd/types_file.xsd

我的测试(我创建了一个测试目录。sumo/TEST_COMMANDS/ 带有一些默认文件 + “wget 下载”types_file.xsd):

$ cd sumo/ && export SUMO_HOME="$PWD" && cd TEST_COMMANDS/

$ netconvert --node-files=input_nodes.nod.xml --edge-files=input_edges.edg.xml \
  --connection-files=input_connections.con.xml --type-files=types_file.xsd \
  --output-file=MySUMONet.net.xml

终端回复:Success. ..... 文件MySUMONet.net.xml 61.4kB 已创建。

【讨论】:

    猜你喜欢
    • 2016-03-31
    • 1970-01-01
    • 2021-12-19
    • 1970-01-01
    • 1970-01-01
    • 2023-01-26
    • 2023-03-22
    • 2019-09-13
    • 1970-01-01
    相关资源
    最近更新 更多