Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidChildElement("extensions", "gpx")', src\main.rs:60:37
- stack backtrace:
- 0: std::panicking::begin_panic_handler
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\std\src\panicking.rs:578
- 1: core::panicking::panic_fmt
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\core\src\panicking.rs:67
- 2: core::result::unwrap_failed
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library\core\src\result.rs:1687
- 3: enum2$<core::result::Result<gpx::types::Gpx,enum2$<gpx::errors::GpxError> > >::unwrap<gpx::types::Gpx,enum2$<gpx::errors::GpxError> >
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca\library\core\src\result.rs:1089
- 4: app::get_gpx
- at .\src\main.rs:60
- 5: app::main::closure$1
- at .\src\main.rs:22
- 6: alloc::boxed::impl$47::call<tuple$<tauri::hooks::Invoke<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > > >,dyn$<core::ops::function::Fn<tuple$<tauri::hooks::Invoke<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > > >,assoc$<Output,tuple$
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca\library\alloc\src\boxed.rs:1987
- 7: tauri::manager::WindowManager<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > >::run_invoke_handler<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > >
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-1.3.0\src\manager.rs:1089
- 8: tauri::window::Window<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > >::on_message<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > >
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-1.3.0\src\window.rs:1465
- 9: tauri::manager::impl$2::prepare_ipc_handler::closure$0<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > >
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-1.3.0\src\manager.rs:780
- 10: alloc::boxed::impl$47::call<tuple$<tauri_runtime::window::DetachedWindow<enum2$<tauri::EventLoopMessage>,tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > >,alloc::string::String>,dyn$<core::ops::function::Fn<tuple$<tauri_runtime::window::DetachedW
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca\library\alloc\src\boxed.rs:1987
- 11: tauri_runtime_wry::create_ipc_handler::closure$0<enum2$<tauri::EventLoopMessage> >
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-runtime-wry-0.13.0\src\lib.rs:3249
- 12: alloc::boxed::impl$47::call<tuple$<ref$<tao::window::Window>,alloc::string::String>,dyn$<core::ops::function::Fn<tuple$<ref$<tao::window::Window>,alloc::string::String>,assoc$<Output,tuple$<> > > >,alloc::alloc::Global>
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca\library\alloc\src\boxed.rs:1987
- 13: alloc::boxed::impl$47::call<tuple$<ref$<tao::window::Window>,alloc::string::String>,dyn$<core::ops::function::Fn<tuple$<ref$<tao::window::Window>,alloc::string::String>,assoc$<Output,tuple$<> > > >,alloc::alloc::Global>
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca\library\alloc\src\boxed.rs:1987
- 14: wry::webview::webview2::impl$1::init_webview::closure$2
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wry-0.24.3\src\webview\webview2\mod.rs:361
- 15: alloc::boxed::impl$46::call_mut<tuple$<enum2$<core::option::Option<webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2> >,enum2$<core::option::Option<webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2WebMessageReceivedEventArgs>
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca\library\alloc\src\boxed.rs:1980
- 16: webview2_com::callback::impl$279::Invoke
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-0.19.1\src\callback.rs:267
- 17: webview2_com_sys::Microsoft::Web::WebView2::Win32::impl$2507::new::Invoke<webview2_com::callback::WebMessageReceivedEventHandler_Impl,webview2_com::callback::WebMessageReceivedEventHandler,-2>
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\src\Microsoft\Web\WebView2\Win32\mod.rs:65485
- 18: CreateWebViewEnvironmentWithOptionsInternal
- 19: CreateWebViewEnvironmentWithOptionsInternal
- 20: DllCanUnloadNow
- 21: DllCanUnloadNow
- 22: telemetry_client::IDataFieldVisitor::IDataFieldVisitor
- 23: DllCanUnloadNow
- 24: GetHandleVerifier
- 25: GetHandleVerifier
- 26: GetHandleVerifier
- 27: GetHandleVerifier
- 28: GetHandleVerifier
- 29: DllCanUnloadNow
- 30: DllCanUnloadNow
- 31: GetHandleVerifier
- 32: DllCanUnloadNow
- 33: GetHandleVerifier
- 34: GetHandleVerifier
- 35: DllCanUnloadNow
- 36: DllCanUnloadNow
- 37: DllCanUnloadNow
- 38: GetHandleVerifier
- 39: GetHandleVerifier
- 40: DllCanUnloadNow
- 41: DispatchMessageW
- 42: DispatchMessageW
- 43: windows::Windows::Win32::UI::WindowsAndMessaging::DispatchMessageW
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows-0.39.0\src\Windows\Win32\UI\WindowsAndMessaging\mod.rs:2671
- 44: tao::platform_impl::platform::event_loop::EventLoop<enum2$<tauri_runtime_wry::Message<enum2$<tauri::EventLoopMessage> > > >::run_return<enum2$<tauri_runtime_wry::Message<enum2$<tauri::EventLoopMessage> > >,tauri_runtime_wry::impl$47::run::closure_env$0<en
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.2\src\platform_impl\windows\event_loop.rs:264
- 45: tao::platform_impl::platform::event_loop::EventLoop<enum2$<tauri_runtime_wry::Message<enum2$<tauri::EventLoopMessage> > > >::run<enum2$<tauri_runtime_wry::Message<enum2$<tauri::EventLoopMessage> > >,tauri_runtime_wry::impl$47::run::closure_env$0<enum2$<ta
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.2\src\platform_impl\windows\event_loop.rs:218
- 46: tao::event_loop::EventLoop<enum2$<tauri_runtime_wry::Message<enum2$<tauri::EventLoopMessage> > > >::run<enum2$<tauri_runtime_wry::Message<enum2$<tauri::EventLoopMessage> > >,tauri_runtime_wry::impl$47::run::closure_env$0<enum2$<tauri::EventLoopMessage>,ta
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.2\src\event_loop.rs:179
- 47: tauri_runtime_wry::impl$47::run<enum2$<tauri::EventLoopMessage>,tauri::app::impl$18::run::closure_env$0<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> >,tauri::app::impl$19::run::closure_env$0<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage>
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-runtime-wry-0.13.0\src\lib.rs:2193
- 48: tauri::app::App<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > >::run<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> >,tauri::app::impl$19::run::closure_env$0<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> >,tauri_utils::assets::
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-1.3.0\src\app.rs:875
- 49: tauri::app::Builder<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> > >::run<tauri_runtime_wry::Wry<enum2$<tauri::EventLoopMessage> >,tauri_utils::assets::EmbeddedAssets>
- at C:\Users\USERNAME\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-1.3.0\src\app.rs:1726
- 50: app::main
- at .\src\main.rs:12
- 51: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
- at /rustc/90c541806f23a127002de5b4038be731ba1458ca\library\core\src\ops\function.rs:250
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement