Drapersniper / Qbitrr

A simple Python script to talk to Qbit and Arr's
MIT License
26 stars 4 forks source link

Manually marking as failed when it did not fail #19

Closed Treverr closed 2 years ago

Treverr commented 2 years ago

Sonarr downloaded a season episodes for me and it completed and then it looks like Qbitrr came in and saw it was completed, paused it, but the Sonarr says that it was manually marked as failed.

dfd18af39434 [2021-12-22 02:50:26.379835] [140412323866432] WARNING: Sonarr-TV: Missing Torrent: [TorrentStates.UPLOADING] The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES (818a6009fa09874bca0d1075c669cfff8be7e1e5) - File does not seem to exist: /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES
dfd18af39434 [2021-12-22 02:50:26.279427] [140412323866432] TRACE: Utilities: Attempt 10/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:26.179094] [140412323866432] TRACE: Utilities: Attempt 9/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:26.078747] [140412323866432] TRACE: Utilities: Attempt 8/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:25.978365] [140412323866432] TRACE: Utilities: Attempt 7/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:25.877990] [140412323866432] TRACE: Utilities: Attempt 6/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:25.777619] [140412323866432] TRACE: Utilities: Attempt 5/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:25.677240] [140412323866432] TRACE: Utilities: Attempt 4/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:25.576874] [140412323866432] TRACE: Utilities: Attempt 3/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:25.476539] [140412323866432] TRACE: Utilities: Attempt 2/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:25.376249] [140412323866432] TRACE: Utilities: Attempt 1/10: File does not yet exists! (Possibly being moved?) | /downloads/tv-sonarr/The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES | Sleeping for 0.1s
dfd18af39434 [2021-12-22 02:50:25.373919] [140412323866432] DEBUG: Sonarr-TV: Pausing The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES (818a6009fa09874bca0d1075c669cfff8be7e1e5)
dfd18af39434 [2021-12-22 02:50:25.373735] [140412323866432] INFO: Sonarr-TV: Pausing Completed torrent: [Progress: 100%][Added On: 2021-12-22 01:15:03][Availability: -100%][Time Left: 2:56:41][Last active: 2021-12-22 02:50:24] | [TorrentStates.UPLOADING] | The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES (818a6009fa09874bca0d1075c669cfff8be7e1e5)
dfd18af39434 [2021-12-22 02:49:25.010360] [140412323866432] TRACE: Sonarr-TV: Skipping torrent: Unresolved state: [Progress: 100%][Added On: 2021-12-22 01:15:03][Availability: -100%][Time Left: 2:45:47][Last active: 2021-12-22 02:49:24] | [TorrentStates.UPLOADING] | The.Witcher.S02.1080p.NF.WEB-DL.DDP5.1.Atmos.HDR.H.265-TEPES (818a6009fa09874bca0d1075c669cfff8be7e1e5)

Why would it get marked as failed when it completed? Shouldn't It have been told to import?

Please let me know if there is anything else I can provide!

Thanks, Trever

Drapersniper commented 2 years ago

Hey what version of it are you currently running?

qbitrr --version should dump a version code if not you are on an older version, can you please update and see if it reproduces? (I've fixes several issues recently and wrongfully marking an edge case as failed is one of them)

Drapersniper commented 2 years ago

The actual commit that fixes was part of the v2.0.0 release specifically https://github.com/Drapersniper/Qbitrr/commit/0ea34c23337e10a0a40dc8437291c9964a88d45e

Treverr commented 2 years ago

Let me give the newer version a go and see if that does it!

Treverr commented 2 years ago

I was on version 1.0.2 and updated to the most recent, having trouble getting it running now..

FileNotFoundError: [Errno 2] No such file or directory: '/home/trever/.local/lib/python3.8/site-packages/git_hash.txt'
Drapersniper commented 2 years ago

I was on version 1.0.2 and updated to the most recent, having trouble getting it running now..


FileNotFoundError: [Errno 2] No such file or directory: '/home/trever/.local/lib/python3.8/site-packages/git_hash.txt'

Hmmm that's interesting you are the first one to report that issue for the time being use the binary in https://github.com/Drapersniper/Qbitrr/releases/latest tomorrow I'll have a look into why you are seeing that.