Skip to content

unwrap on a None value #42

@wolf39us

Description

@wolf39us

Summary

Getting an error on Sonarr LSIO. Latest version: 4.0.14.2939

Reproduction Steps

I believe this might be some setting I have on my sonarr potentially. I'm not 100% sure.

I did analyze the error and poked around my sonarr instance to see if there was anything out of place.

I then created a new sonarr instance with binhex and it connected just fine. That being said, I'd hate to rebuild my sonarr from scratch. Any way to put some logging or error handling here so I can figure out what is happening?

Managarr log

"name" = "managarr"
"operating_system" = "Debian 12.0.0 [64-bit]"
"crate_version" = "0.5.0"
"explanation" = """
Panic occurred in file 'src/ui/sonarr_ui/library/mod.rs' at line 122
"""
"cause" = "called Option::unwrap() on a None value"
"method" = "Panic"
"backtrace" = """
0: 0x55db8012c81c - rust_begin_unwind
1: 0x55db7fa2908f - core::panicking::panic_fmt::h896a0727a1a943f9
2: 0x55db7fa290db - core::panicking::panic::h06336e0c962d4a4a
3: 0x55db7fa293f8 - core::option::unwrap_failed::ha2239fe7bcf32a06
4: 0x55db7fd4b57e - managarr::ui::sonarr_ui::library::draw_library::hd1027d4bf05d413a
5: 0x55db7fd43523 - <managarr::ui::sonarr_ui::library::LibraryUi as managarr::ui::DrawUi>::draw::hfda06fae24af1e96
6: 0x55db7fd75cc6 - managarr::ui::ui::h44937dae223add4e
7: 0x55db7fd7f25c - managarr::start_ui::{{closure}}::h29db4c846ba43573
8: 0x55db7fe314f6 - managarr::main::{{closure}}::h35d9e9667a26874f
9: 0x55db7fe2fc2b - managarr::main::h454a422e5ada29f5
10: 0x55db7fa5b283 - std::sys::backtrace::__rust_begin_short_backtrace::h5b1f738d4d18f19a
11: 0x55db7fe46be4 - main
12: 0x14ba60e8c24a -
13: 0x14ba60e8c305 - __libc_start_main
14: 0x55db7fa3d781 - _start
15: 0x0 -
"""

Platform

unRAID - Docker

Terminal Emulator

.

Managarr Version

managarr 0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions