Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manga page: Deserializing response fails #2

Closed
Phoeenix05 opened this issue Jun 3, 2023 · 1 comment
Closed

Manga page: Deserializing response fails #2

Phoeenix05 opened this issue Jun 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working fatal Some important feature isn't working

Comments

@Phoeenix05
Copy link
Owner

When opening the chapter page the page fetches and deserializes the data successfully.

Fetching the data works just fine the problem lies in deserializing that data.

[Error] Unhandled Promise Rejection: RuntimeError: Unreachable code should not be executed (near '...e__h56875eda74031bdc(arg0, arg1, addHeap...')
	<?>.wasm-function[__rust_start_panic] (tauri-app-ui-451a6cf88759b469.js:227:135)
	<?>.wasm-function[rust_panic]
	<?>.wasm-function[std::panicking::rust_panic_with_hook::h039f5419503f0164]
	<?>.wasm-function[std::panicking::begin_panic_handler::{{closure}}::h7325d367fef07b2d]
	<?>.wasm-function[std::sys_common::backtrace::__rust_end_short_backtrace::h53520acd8fe8aebc]
	<?>.wasm-function[rust_begin_unwind]
	<?>.wasm-function[core::panicking::panic_fmt::h4dd928da5b37757b]
	<?>.wasm-function[core::panicking::panic::h9c6576f483d1a11b]
	<?>.wasm-function[core::option::Option<T>::unwrap::h7c8b891edcabd96e]
	<?>.wasm-function[tauri_app_ui::routes::manga::Manga::__Manga::{{closure}}::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h94b39d629cb9e1b4]
	<?>.wasm-function[leptos_dom::components::fragment::Fragment::lazy::h314b7746c55e47f1]
	<?>.wasm-function[tauri_app_ui::routes::manga::Manga::__Manga::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h9db8436a3465f5fa]
	<?>.wasm-function[core::ops::function::FnOnce::call_once{{vtable.shim}}::he48a3a420f641975]
	<?>.wasm-function[<alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd20b31c57126e8cc]
	<?>.wasm-function[leptos_router::components::link::A::__A::inner::hc9f43f6e96460070]
	<?>.wasm-function[leptos_router::components::link::A::__A::h0f4128d5cbb8b63e]
	<?>.wasm-function[leptos_router::components::link::A::{{closure}}::h85b6a3352a7f02e5]
	<?>.wasm-function[<leptos_dom::components::Component<F,V> as leptos_dom::IntoView>::into_view::{{closure}}::{{closure}}::h83e5eaf3811afcb3]
	<?>.wasm-function[leptos_reactive::scope::Scope::untrack::{{closure}}::h3dddf8e6fa03aa84]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::{{closure}}::hf7e1879bc2e75401]
	<?>.wasm-function[std::thread::local::LocalKey<T>::try_with::he2da240b3a34fca1]
	<?>.wasm-function[std::thread::local::LocalKey<T>::with::h81734b4542134d23]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::hc9e013a588bc54c6]
	<?>.wasm-function[leptos_reactive::scope::Scope::untrack::h653f5243b040883b]
	<?>.wasm-function[<leptos_dom::components::Component<F,V> as leptos_dom::IntoView>::into_view::{{closure}}::hee5589ca457a29f4]
	<?>.wasm-function[leptos_reactive::runtime::RuntimeId::run_scope_undisposed::{{closure}}::h05e75cb7a84750ee]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::{{closure}}::h1c3df017e1038193]
	<?>.wasm-function[std::thread::local::LocalKey<T>::try_with::haa57a18ace343796]
	<?>.wasm-function[std::thread::local::LocalKey<T>::with::h6cb060a696759b6b]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::hb391be7c5831df39]
	<?>.wasm-function[leptos_reactive::runtime::RuntimeId::run_scope_undisposed::h1687b159ef701fdc]
	<?>.wasm-function[leptos_reactive::scope::Scope::run_child_scope::hfc2b49a75d192fed]
	<?>.wasm-function[<leptos_dom::components::Component<F,V> as leptos_dom::IntoView>::into_view::had275b79ad764a0d]
	<?>.wasm-function[tauri_app_ui::routes::manga::Manga::__Manga::{{closure}}::{{closure}}::{{closure}}::h31655f1e50dcaf40]
	<?>.wasm-function[leptos_dom::components::fragment::Fragment::lazy::h6ddc531830ab3115]
	<?>.wasm-function[tauri_app_ui::routes::manga::Manga::__Manga::{{closure}}::{{closure}}::h257eafebc208caba]
	<?>.wasm-function[core::iter::adapters::map::map_fold::{{closure}}::h3be0300149ffbf9e]
	<?>.wasm-function[core::iter::traits::iterator::Iterator::fold::h00895b45543985ce]
	<?>.wasm-function[<core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::hc2211fa0a1200689]
	<?>.wasm-function[core::iter::traits::iterator::Iterator::for_each::h4e883c640822cb09]
	<?>.wasm-function[alloc::vec::Vec<T,A>::extend_trusted::hff4a295d62f07e7a]
	<?>.wasm-function[<alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<T,I>>::spec_extend::h961ba6128f48f2f2]
	<?>.wasm-function[<alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter::hcabf9e78e818b52c]
	<?>.wasm-function[alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter::hfd578151de73fb21]
	<?>.wasm-function[<alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter::hbd0626c62be0e3c8]
	<?>.wasm-function[core::iter::traits::iterator::Iterator::collect::hddc5d62701eae7b4]
	<?>.wasm-function[tauri_app_ui::routes::manga::Manga::__Manga::{{closure}}::h3b959c47244f125d]
	<?>.wasm-function[<leptos_dom::components::dyn_child::DynChild<CF,N> as leptos_dom::IntoView>::into_view::{{closure}}::hb267e7b6f05ef50f]
	<?>.wasm-function[<alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h9f54bbd0a13ac1b8]
	<?>.wasm-function[<leptos_dom::components::dyn_child::DynChild<CF,N> as leptos_dom::IntoView>::into_view::create_dyn_view::{{closure}}::{{closure}}::h15886ba175799d28]
	<?>.wasm-function[leptos_reactive::runtime::RuntimeId::run_scope_undisposed::{{closure}}::hc4ab4c78e129f673]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::{{closure}}::hc41c6e8936c51c74]
	<?>.wasm-function[std::thread::local::LocalKey<T>::try_with::h25f3a814fd8fb75a]
	<?>.wasm-function[std::thread::local::LocalKey<T>::with::h7c16e65813308fee]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::h03fe38bd0b372b32]
	<?>.wasm-function[leptos_reactive::runtime::RuntimeId::run_scope_undisposed::h7d785d3843bc84e1]
	<?>.wasm-function[leptos_reactive::scope::Scope::run_child_scope::h187e7d73e7c3c2d8]
	<?>.wasm-function[<leptos_dom::components::dyn_child::DynChild<CF,N> as leptos_dom::IntoView>::into_view::create_dyn_view::{{closure}}::hcb4c1f29f8c8150a]
	<?>.wasm-function[<leptos_reactive::effect::Effect<T,F> as leptos_reactive::effect::AnyComputation>::run::h371f9ba29fa2292d]
	<?>.wasm-function[leptos_reactive::runtime::Runtime::update::{{closure}}::haecff5fb0c5eeeb2]
	<?>.wasm-function[leptos_reactive::runtime::Runtime::with_observer::ha464a55626c20133]
	<?>.wasm-function[leptos_reactive::runtime::Runtime::update::h8cf8e9fea0caa897]
	<?>.wasm-function[leptos_reactive::runtime::Runtime::update_if_necessary::h365b4c8a4f3f267a]
	<?>.wasm-function[leptos_reactive::runtime::Runtime::run_your_effects::h2dacd3a4d8dfaa79]
	<?>.wasm-function[leptos_reactive::runtime::Runtime::run_effects::{{closure}}::hbd75f6cdfa3c8525]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::{{closure}}::h7681193392bbae91]
	<?>.wasm-function[std::thread::local::LocalKey<T>::try_with::he32f77d4350bb2d0]
	<?>.wasm-function[std::thread::local::LocalKey<T>::with::h8c260c302e45d176]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::haee2d75ce87f600d]
	<?>.wasm-function[leptos_reactive::runtime::Runtime::run_effects::h1c196b55e216d083]
	<?>.wasm-function[leptos_reactive::signal::<impl leptos_reactive::node::NodeId>::update::{{closure}}::hab6c2c8584be73dc]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::{{closure}}::h0fb87bc827cc1828]
	<?>.wasm-function[std::thread::local::LocalKey<T>::try_with::h957a2b7f970a52eb]
	<?>.wasm-function[std::thread::local::LocalKey<T>::with::hfacd402af1bfad0d]
	<?>.wasm-function[leptos_reactive::runtime::with_runtime::h113dd289e3332e08]
	<?>.wasm-function[leptos_reactive::signal::<impl leptos_reactive::node::NodeId>::update::hc526d8c26258959b]
	<?>.wasm-function[<leptos_reactive::signal::WriteSignal<T> as leptos_reactive::signal::SignalUpdate<T>>::update::h5e61dbcd80a148ab]
	<?>.wasm-function[leptos_reactive::resource::ResourceState<S,T>::load::{{closure}}::{{closure}}::hcc6b5b617c5e9cdd]
	<?>.wasm-function[wasm_bindgen_futures::task::singlethread::Task::run::h6929925e1e1395e0]
	<?>.wasm-function[wasm_bindgen_futures::queue::QueueState::run_all::hd49b82193eef35cc]
	<?>.wasm-function[wasm_bindgen_futures::queue::Queue::new::{{closure}}::hf690a5ef75b226e1]
	<?>.wasm-function[<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h56875eda74031bdc]
	wasm-stub
	__wbg_adapter_38 (tauri-app-ui-451a6cf88759b469.js:227:135)
	real (tauri-app-ui-451a6cf88759b469.js:204)
@Phoeenix05 Phoeenix05 added the bug Something isn't working label Jun 3, 2023
@Phoeenix05 Phoeenix05 self-assigned this Jun 3, 2023
@Phoeenix05 Phoeenix05 added the fatal Some important feature isn't working label Jun 3, 2023
Phoeenix05 added a commit that referenced this issue Jun 3, 2023
@Phoeenix05
Copy link
Owner Author

Error occurred not because of deserializing the data but trying to call unwrap() on a None value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fatal Some important feature isn't working
Projects
None yet
Development

No branches or pull requests

1 participant