Supergamer1337 / media-cleaner

Media Cleaner is a simple CLI tool to clean up your media library based on your Overseerr requests and Tautulli history, written in Rust.
MIT License
38 stars 4 forks source link

0: Empty list of items given to `MultiSelect` #7

Closed bryceprutsos closed 1 year ago

bryceprutsos commented 1 year ago

Getting error

`Error: 0: Empty list of items given to MultiSelect

Location: src\main.rs:30

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets.`

image

image

Krysset commented 1 year ago

I have the same problem!

Supergamer1337 commented 1 year ago

The issue here is that your overseerr instance either didn't return any valid requests to check, or there was a failure to get the appropriate data from one or multiple of the other services. This should probably have a more user friendly error, but without knowing exactly what came back from the different responses there's really nothing I can do. I am in the middle of improving error handling, as I've realized that there are a lot of cases I've not yet covered. So there should be an update that will help with further diagnosing this problem.

Supergamer1337 commented 1 year ago

Just released a new version of the application that should give you more information when an error occurs. Could you try it and report back?

bryceprutsos commented 1 year ago

hi @Supergamer1337, I have downloaded the new version and have updated my Tautulli to latest version errors below Error 4 was Got 404 Not Found from Tautulli. Please create issue on Github. Dependent API seems to have changed.

Error 5 was error decoding response body: expected value at line 1 column 1

image

Supergamer1337 commented 1 year ago

Could you try to remove the / at the end of your urls?

Supergamer1337 commented 1 year ago

This should have been fixed as of v1.0.0, could you try that version and report back?

bryceprutsos commented 1 year ago

I took off the / at the end of the URLs and it works now.

Thank you very much.

I additional question I had was whether there was a way to sort its findings such as sorting by most space. This would help out users that have a large amount of different series.

Supergamer1337 commented 1 year ago

Issue marked as resolved, and your request has been moved to #8