热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

ImportercrashesonBruges

InputfileandstacktraceareincludedBrugge-RoadsOnly.zip

Input file and stacktrace are included

Brugge-RoadsOnly.zip

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Read Brugge-RoadsOnly.osm (14)... 1.3593s

OSM doc has 56624 nodes, 12042 ways, 9 relations

processing OSM nodes (56,624)... 0.0233s

processing OSM ways (12,042)... 0.0513s

processing OSM relations (9)... 0.0000s

0 ways of coastline

splitting up roads...

thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /rustc/4fb7144ed159f94491249e86d5bbd033b5d60550/src/libcore/slice/mod.rs:2842:10

stack backtrace:

   0: backtrace::backtrace::libunwind::trace

             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86

   1: backtrace::backtrace::trace_unsynchronized

             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66

   2: std::sys_common::backtrace::_print_fmt

             at src/libstd/sys_common/backtrace.rs:78

   3: <:sys_common::backtrace::_print::displaybacktrace as core::fmt::display>::fmt

             at src/libstd/sys_common/backtrace.rs:59

   4: core::fmt::write

             at src/libcore/fmt/mod.rs:1063

   5: std::io::Write::write_fmt

             at src/libstd/io/mod.rs:1426

   6: std::sys_common::backtrace::_print

             at src/libstd/sys_common/backtrace.rs:62

   7: std::sys_common::backtrace::print

             at src/libstd/sys_common/backtrace.rs:49

   8: std::panicking::default_hook::{{closure}}

             at src/libstd/panicking.rs:204

   9: std::panicking::default_hook

             at src/libstd/panicking.rs:224

  10: std::panicking::rust_panic_with_hook

             at src/libstd/panicking.rs:470

  11: rust_begin_unwind

             at src/libstd/panicking.rs:378

  12: core::panicking::panic_fmt

             at src/libcore/panicking.rs:85

  13: core::panicking::panic_bounds_check

             at src/libcore/panicking.rs:63

  14: convert_osm::split_ways::split_up_roads

  15: convert_osm::convert

  16: importer::main

  17: std::rt::lang_start::{{closure}}

  18: std::rt::lang_start_internal::{{closure}}

             at src/libstd/rt.rs:52

  19: std::panicking::try::do_call

             at src/libstd/panicking.rs:303

  20: __rust_maybe_catch_panic

             at src/libpanic_unwind/lib.rs:86

  21: std::panicking::try

             at src/libstd/panicking.rs:281

  22: std::panic::catch_unwind

             at src/libstd/panic.rs:394

  23: std::rt::lang_start_internal

             at src/libstd/rt.rs:51

  24: main

  25: __libc_start_main

  26: _start

note: Some details are omitted, run with RUST_BACKTRACE&#061;full for a verbose backtrace.


该提问来源于开源项目:dabreegster/abstreet

TBH, streetcomplete is quite straightforward to setup, it was only a few hours before I got it working. It boils down to installing android studio, clicking 'ok', 'I agree', 'download now', ... then opening the StreetComplete repo and pressing run, and again pressing 'OK' till it works ;p





   



推荐阅读
author-avatar
灵123456妞子
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有