Closed WarEagleUS21 closed 3 years ago
This happens because qbittorrent does not resolve metadata and torrent size when queueing magnets. I can create a pull request for a fix.
tnx for the help
Sure thing. I totally forgot about this, lol
On Fri, Jul 16, 2021, 2:38 AM p0ps @.***> wrote:
Closed #9608 https://github.com/pymedusa/Medusa/issues/9608.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pymedusa/Medusa/issues/9608#event-5029348565, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATOPAJOQ4YD4CFV663BZZKDTX7OWLANCNFSM46DUWVLA .
Describe the bug 2021-06-04 16:20:05 ERROR DOWNLOADHANDLER :: [4d9c792] Exception while checking torrent status. with error: division by zero Traceback (most recent call last): File "C:\Medusa\Medusa\medusa\schedulers\download_handler.py", line 364, in run self._update_status(torrent_client) File "C:\Medusa\Medusa\medusa\schedulers\download_handler.py", line 173, in _update_status status = client.get_status(history_result['info_hash']) File "C:\Medusa\Medusa\medusa\clients\torrent\qbittorrent.py", line 413, in get_status client_status.progress = int(torrent['downloaded'] / torrent['size'] * 100) ZeroDivisionError: division by zero
To Reproduce Steps to reproduce the behavior: Honestly, this is probably more apt to be an open issue because I don't know what it is. Half the time I get errors (really warnings) saying it couldn't connect to the torrent handler, yet I can go and manage torrents and it pulls up qbittorrent fine. I have this pretty much automated on Windows 10 Pro 21H1 (latest Build) so I am unsure what is actually the problem. Everything downloads fine, pushes fine, processes fine, it just this was the warning and I couldn't submit it using the submit error option in Medusa.
Expected behavior I expected nothing. The more I do this the more I feel like an idiot and that this isn't a bug. I am very sorry for this.
Screenshots If applicable, add screenshots to help explain your problem.
Medusa (please complete the following information):
Debug logs (at least 50 lines): General > Advanced Settings > Enable debug
Additional context Add any other context about the problem here.