taggartsoftware / albumdownload

https://albumdownload.ctaggart.com
Other
2 stars 2 forks source link

coverPhotoBaseUrl is optional #8

Closed ctaggart closed 4 years ago

ctaggart commented 4 years ago

Reported by James Kleiner:

image

Album Download 0.2.1
albumdownload.js:565 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
inline733.js:1 Encountered a panic!
__cargo_web_snippet_dc2fd915bd92f9e9c6a3bd15174f1414eee3dbaf @ inline733.js:1
imports.wbg.__wbg_cargowebsnippetdc2fd915bd92f9e9c6a3bd15174f1414eee3dbaf_ce5c721cab10d020 @ albumdownload.js:499
stdweb::webcore::initialization::initialize::{{closure}}::h9747e92f8813f36a
std::panicking::rust_panic_with_hook::h5f3eaec6afab45bb
rust_begin_unwind
core::panicking::panic_fmt::h316af5a7a3c308db
core::option::expect_none_failed::hb426589204fe2d50
std::future::poll_with_tls_context::he90b4df0e745906f
<std::future::GenFuture<T> as core::future::future::Future>::poll::hf94e5282270bcd91
wasm_bindgen_futures::task::singlethread::Task::run::hbc19b7fb6734f7df
wasm_bindgen_futures::queue::Queue::new::{{closure}}::h581a1b22bde421f9
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_b6fef331fde5cf0a @ albumdownload.js:603
js_sys::Promise::then::hf6411fe899660489
wasm_bindgen_futures::queue::Queue::push_task::h7e6fc1a092629bc8
std::thread::local::LocalKey<T>::with::hfeafcd7237ed692d
wasm_bindgen_futures::task::singlethread::Task::into_raw_waker::raw_wake::hfc92799609b249fa
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::finish::h8689a0b801f03cf4
<T as wasm_bindgen::closure::WasmClosureFnOnce<A,R>>::into_fn_mut::{{closure}}::h9a2ce74f7cc1599e
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_7d828a330efec051 @ albumdownload.js:607
js_sys::Promise::then2::h4de1b8f8e0a591e1
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::h8e1fd8ff6893d503
std::future::poll_with_tls_context::he90b4df0e745906f
<std::future::GenFuture<T> as core::future::future::Future>::poll::hf94e5282270bcd91
wasm_bindgen_futures::task::singlethread::Task::run::hbc19b7fb6734f7df
wasm_bindgen_futures::queue::Queue::new::{{closure}}::h581a1b22bde421f9
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_b6fef331fde5cf0a @ albumdownload.js:603
js_sys::Promise::then::hf6411fe899660489
wasm_bindgen_futures::queue::Queue::push_task::h7e6fc1a092629bc8
std::thread::local::LocalKey<T>::with::hfeafcd7237ed692d
wasm_bindgen_futures::task::singlethread::Task::into_raw_waker::raw_wake::hfc92799609b249fa
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::finish::h8689a0b801f03cf4
<T as wasm_bindgen::closure::WasmClosureFnOnce<A,R>>::into_fn_mut::{{closure}}::h9a2ce74f7cc1599e
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
inline732.js:1 Panic error message: called `Result::unwrap()` on an `Err` value: Error("missing field `coverPhotoBaseUrl`", line: 1, column: 4015)
__cargo_web_snippet_97495987af1720d8a9a923fa4683a7b683e3acd6 @ inline732.js:1
imports.wbg.__wbg_cargowebsnippet97495987af1720d8a9a923fa4683a7b683e3acd6_a438202dc16f44c0 @ albumdownload.js:502
stdweb::webcore::initialization::initialize::{{closure}}::h9747e92f8813f36a
std::panicking::rust_panic_with_hook::h5f3eaec6afab45bb
rust_begin_unwind
core::panicking::panic_fmt::h316af5a7a3c308db
core::option::expect_none_failed::hb426589204fe2d50
std::future::poll_with_tls_context::he90b4df0e745906f
<std::future::GenFuture<T> as core::future::future::Future>::poll::hf94e5282270bcd91
wasm_bindgen_futures::task::singlethread::Task::run::hbc19b7fb6734f7df
wasm_bindgen_futures::queue::Queue::new::{{closure}}::h581a1b22bde421f9
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_b6fef331fde5cf0a @ albumdownload.js:603
js_sys::Promise::then::hf6411fe899660489
wasm_bindgen_futures::queue::Queue::push_task::h7e6fc1a092629bc8
std::thread::local::LocalKey<T>::with::hfeafcd7237ed692d
wasm_bindgen_futures::task::singlethread::Task::into_raw_waker::raw_wake::hfc92799609b249fa
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::finish::h8689a0b801f03cf4
<T as wasm_bindgen::closure::WasmClosureFnOnce<A,R>>::into_fn_mut::{{closure}}::h9a2ce74f7cc1599e
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_7d828a330efec051 @ albumdownload.js:607
js_sys::Promise::then2::h4de1b8f8e0a591e1
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::h8e1fd8ff6893d503
std::future::poll_with_tls_context::he90b4df0e745906f
<std::future::GenFuture<T> as core::future::future::Future>::poll::hf94e5282270bcd91
wasm_bindgen_futures::task::singlethread::Task::run::hbc19b7fb6734f7df
wasm_bindgen_futures::queue::Queue::new::{{closure}}::h581a1b22bde421f9
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_b6fef331fde5cf0a @ albumdownload.js:603
js_sys::Promise::then::hf6411fe899660489
wasm_bindgen_futures::queue::Queue::push_task::h7e6fc1a092629bc8
std::thread::local::LocalKey<T>::with::hfeafcd7237ed692d
wasm_bindgen_futures::task::singlethread::Task::into_raw_waker::raw_wake::hfc92799609b249fa
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::finish::h8689a0b801f03cf4
<T as wasm_bindgen::closure::WasmClosureFnOnce<A,R>>::into_fn_mut::{{closure}}::h9a2ce74f7cc1599e
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
inline731.js:1 Panic location: src/photoslibrary.rs:223
__cargo_web_snippet_72fc447820458c720c68d0d8e078ede631edd723 @ inline731.js:1
imports.wbg.__wbg_cargowebsnippet72fc447820458c720c68d0d8e078ede631edd723_ece3da0a4474dbeb @ albumdownload.js:505
stdweb::webcore::initialization::initialize::{{closure}}::h9747e92f8813f36a
std::panicking::rust_panic_with_hook::h5f3eaec6afab45bb
rust_begin_unwind
core::panicking::panic_fmt::h316af5a7a3c308db
core::option::expect_none_failed::hb426589204fe2d50
std::future::poll_with_tls_context::he90b4df0e745906f
<std::future::GenFuture<T> as core::future::future::Future>::poll::hf94e5282270bcd91
wasm_bindgen_futures::task::singlethread::Task::run::hbc19b7fb6734f7df
wasm_bindgen_futures::queue::Queue::new::{{closure}}::h581a1b22bde421f9
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_b6fef331fde5cf0a @ albumdownload.js:603
js_sys::Promise::then::hf6411fe899660489
wasm_bindgen_futures::queue::Queue::push_task::h7e6fc1a092629bc8
std::thread::local::LocalKey<T>::with::hfeafcd7237ed692d
wasm_bindgen_futures::task::singlethread::Task::into_raw_waker::raw_wake::hfc92799609b249fa
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::finish::h8689a0b801f03cf4
<T as wasm_bindgen::closure::WasmClosureFnOnce<A,R>>::into_fn_mut::{{closure}}::h9a2ce74f7cc1599e
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_7d828a330efec051 @ albumdownload.js:607
js_sys::Promise::then2::h4de1b8f8e0a591e1
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::h8e1fd8ff6893d503
std::future::poll_with_tls_context::he90b4df0e745906f
<std::future::GenFuture<T> as core::future::future::Future>::poll::hf94e5282270bcd91
wasm_bindgen_futures::task::singlethread::Task::run::hbc19b7fb6734f7df
wasm_bindgen_futures::queue::Queue::new::{{closure}}::h581a1b22bde421f9
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_b6fef331fde5cf0a @ albumdownload.js:603
js_sys::Promise::then::hf6411fe899660489
wasm_bindgen_futures::queue::Queue::push_task::h7e6fc1a092629bc8
std::thread::local::LocalKey<T>::with::hfeafcd7237ed692d
wasm_bindgen_futures::task::singlethread::Task::into_raw_waker::raw_wake::hfc92799609b249fa
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::finish::h8689a0b801f03cf4
<T as wasm_bindgen::closure::WasmClosureFnOnce<A,R>>::into_fn_mut::{{closure}}::h9a2ce74f7cc1599e
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
albumdownload.js:252 Uncaught (in promise) RuntimeError: unreachable
    at __rust_start_panic (wasm-function[2619]:0x1cdcca)
    at rust_panic (wasm-function[2120]:0x1cb735)
    at std::panicking::rust_panic_with_hook::h5f3eaec6afab45bb (wasm-function[1440]:0x1b79de)
    at rust_begin_unwind (wasm-function[1970]:0x1c9996)
    at core::panicking::panic_fmt::h316af5a7a3c308db (wasm-function[2045]:0x1ca91f)
    at core::option::expect_none_failed::hb426589204fe2d50 (wasm-function[1739]:0x1c40ad)
    at std::future::poll_with_tls_context::he90b4df0e745906f (wasm-function[468]:0x12f126)
    at <std::future::GenFuture<T> as core::future::future::Future>::poll::hf94e5282270bcd91 (wasm-function[410]:0x11a358)
    at wasm_bindgen_futures::task::singlethread::Task::run::hbc19b7fb6734f7df (wasm-function[1363]:0x1b3016)
    at wasm_bindgen_futures::queue::Queue::new::{{closure}}::h581a1b22bde421f9 (wasm-function[1281]:0x1ad56f)
__rust_start_panic
rust_panic
std::panicking::rust_panic_with_hook::h5f3eaec6afab45bb
rust_begin_unwind
core::panicking::panic_fmt::h316af5a7a3c308db
core::option::expect_none_failed::hb426589204fe2d50
std::future::poll_with_tls_context::he90b4df0e745906f
<std::future::GenFuture<T> as core::future::future::Future>::poll::hf94e5282270bcd91
wasm_bindgen_futures::task::singlethread::Task::run::hbc19b7fb6734f7df
wasm_bindgen_futures::queue::Queue::new::{{closure}}::h581a1b22bde421f9
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_b6fef331fde5cf0a @ albumdownload.js:603
js_sys::Promise::then::hf6411fe899660489
wasm_bindgen_futures::queue::Queue::push_task::h7e6fc1a092629bc8
std::thread::local::LocalKey<T>::with::hfeafcd7237ed692d
wasm_bindgen_futures::task::singlethread::Task::into_raw_waker::raw_wake::hfc92799609b249fa
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::finish::h8689a0b801f03cf4
<T as wasm_bindgen::closure::WasmClosureFnOnce<A,R>>::into_fn_mut::{{closure}}::h9a2ce74f7cc1599e
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_7d828a330efec051 @ albumdownload.js:607
js_sys::Promise::then2::h4de1b8f8e0a591e1
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::h8e1fd8ff6893d503
std::future::poll_with_tls_context::he90b4df0e745906f
<std::future::GenFuture<T> as core::future::future::Future>::poll::hf94e5282270bcd91
wasm_bindgen_futures::task::singlethread::Task::run::hbc19b7fb6734f7df
wasm_bindgen_futures::queue::Queue::new::{{closure}}::h581a1b22bde421f9
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737
Promise.then (async)
imports.wbg.__wbg_then_b6fef331fde5cf0a @ albumdownload.js:603
js_sys::Promise::then::hf6411fe899660489
wasm_bindgen_futures::queue::Queue::push_task::h7e6fc1a092629bc8
std::thread::local::LocalKey<T>::with::hfeafcd7237ed692d
wasm_bindgen_futures::task::singlethread::Task::into_raw_waker::raw_wake::hfc92799609b249fa
<wasm_bindgen_futures::JsFuture as core::convert::From<js_sys::Promise>>::from::finish::h8689a0b801f03cf4
<T as wasm_bindgen::closure::WasmClosureFnOnce<A,R>>::into_fn_mut::{{closure}}::h9a2ce74f7cc1599e
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h30d8710a6fa0bf9e
__wbg_adapter_38 @ albumdownload.js:252
real @ albumdownload.js:737