Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"On download done" actions are premature (exit, shutdown, etc). #15427

Open
5 of 6 tasks
solidus0079 opened this issue Sep 6, 2021 · 1 comment
Open
5 of 6 tasks

"On download done" actions are premature (exit, shutdown, etc). #15427

solidus0079 opened this issue Sep 6, 2021 · 1 comment
Labels
Core Triggers Procedures activated when state changes occur (i.e. torrent completes) Waiting info Waiting for participants to supply more info/fulfill template requirements

Comments

@solidus0079
Copy link

solidus0079 commented Sep 6, 2021

Bug report

Checklist

  • I have read the issue reporting section in the contributing guidelines, so I know how to submit a good bug report with the required information
  • I have verified that the issue is not fixed and is reproducible in the latest version
  • (optional but recommended) I have verified that the issue is not fixed and is reproducible in the latest CI build
  • I have checked the frequent/common issues list and searched the issue tracker for similar bug reports (including closed ones) to avoid posting a duplicate
  • This report is not a support request or question, both of which are better suited for either the discussions section, forum, or subreddit. The wiki did not contain a suitable solution either
  • I have pasted/attached the settings file and relevant log(s) in the Attachments section at the bottom of the report. Mandatory: the settings file and at least the most recent log. See this wiki page if you're not sure where to find them.

Description

qBittorrent info and operating system(s)

  • qBittorrent version: 4.3.8 (64-bit)
  • Operating system(s) where the issue occurs: Windows 10 (10.0.1xxxx)

If on Linux, libtorrent-rasterbar and Qt versions

  • Qt: (type here)
  • libtorrent-rasterbar: (type here)

What is the problem

Actions set to occur after torrents are done downloading occur too soon. Eg: if set to "exit qBitorrent" or shutdown the system upon completion of downloads, it might occur while one or more of the downloaded files are still being moved to another drive or checked for errors if that option is enabled in Advanced. It is easily reproducible by downloading two files at the same time, and setting the completed files to be moved to a network resource. When the first file is done moving, it will initiate the shutdown timer while the 2nd file is still moving.

Detailed steps to reproduce the problem

  1. have downloads set to save to a slower drive, either a network resource or something that is not overly fast for file transfers
  2. have "incomplete torrents" working folder set to a local temp drive (better than excessive network traffic that would be caused)
  3. set "On Downloads Done" to "Exit qBittorrent", "Shutdown System", or anything other than "Disabled"
  4. download more than one torrent, ping some that will complete around the same time (within the 15 second countdown timer)
  5. the program will exit or shutdown the system after the first file is done, interrupting the file transfer of others that have been initiated after the first completed

What is the expected behavior

The program should exit after all files have been completed, and not just the first file. The program should not exit or shutdown the system during other torrents' post-download file operations.

Extra info (if any)

(type here)

Attachments

(I) 2021-09-06T14:44:41 - UPnP/NAT-PMP: Port mapping successful, message: successfully mapped port using UPnP. external port: TCP/xxxxx
(I) 2021-09-06T14:44:41 - UPnP/NAT-PMP: Port mapping successful, message: successfully mapped port using UPnP. external port: UDP/xxxxx
(N) 2021-09-06T14:44:41 - 'ubuntu-21.04-live-server-amd64.iso' restored.
(N) 2021-09-06T14:44:41 - 'ubuntu-20.04.3-live-server-amd64.iso' restored.
(I) 2021-09-06T14:44:44 - Detected external IP: xxx.xxx.xxx.xxx
(N) 2021-09-06T14:45:41 - Enqueued to move "ubuntu-21.04-live-server-amd64.iso" from "D:\Temp" to "M:\Temp".
(N) 2021-09-06T14:45:41 - Moving "ubuntu-21.04-live-server-amd64.iso" to "M:\Temp"...
(N) 2021-09-06T14:46:01 - Enqueued to move "ubuntu-20.04.3-live-server-amd64.iso" from "D:\Temp" to "M:\Temp".
(N) 2021-09-06T14:46:51 - 'ubuntu-21.04-live-server-amd64.iso' reached the maximum seeding time you set. Paused.
(N) 2021-09-06T14:46:55 - "ubuntu-21.04-live-server-amd64.iso" is successfully moved to "M:\Temp".
(N) 2021-09-06T14:46:55 - Moving "ubuntu-20.04.3-live-server-amd64.iso" to "M:\Temp"...
(N) 2021-09-06T14:47:01 - 'ubuntu-20.04.3-live-server-amd64.iso' reached the maximum seeding time you set. Paused.
(I) 2021-09-06T14:47:10 - UPnP / NAT-PMP support [OFF]

@FranciscoPombal
Copy link
Member

@glassez ping, you might want to look into this (related to torrent move operations).

@luzpaz luzpaz added Triggers Procedures activated when state changes occur (i.e. torrent completes) Waiting info Waiting for participants to supply more info/fulfill template requirements labels Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Triggers Procedures activated when state changes occur (i.e. torrent completes) Waiting info Waiting for participants to supply more info/fulfill template requirements
Projects
None yet
Development

No branches or pull requests

3 participants