rivenmedia / riven

Handle your Media Library with ease!
https://rivenmedia.github.io/wiki/
GNU General Public License v3.0
404 stars 54 forks source link

Error occured when removing specific series, in my case its gintama (working on other series). #775

Open xanderford00 opened 1 month ago

xanderford00 commented 1 month ago

can't remove gintama once added : 24-10-09 14:13:59 | ❌ ERROR | event_manager._process_future - Error in future for <Future at 0x7fc6e67d3890 state=finished returned generator>: list.remove(x): x not in list 24-10-09 14:13:59 | ❌ ERROR | event_manager._process_future - Traceback (most recent call last): File "/riven/src/utils/event_manager.py", line 63, in _process_future self._futures.remove(future) ValueError: list.remove(x): x not in list

Traceback (most recent call last): File "/riven/src/utils/event_manager.py", line 63, in _process_future self._futures.remove(future) ValueError: list.remove(x): x not in list

xanderford00 commented 1 month ago

To replicate : Add a series (e.g. gintama) -> let it scrape for a while (in my case its until episode 9-10) , remove it. (error will show in the backend logs and after a while the site will encountered an internal error indicates the backend crashes, I was able to resolve it via restarting the database, but then gintama will start to scrape again due to failed deletion earlier.

reason why I removed it : i got bored on scraping of other incomplete episode.