File duplicates are not handled and may cause important issues

Bug #730710 reported by midenok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
High
Christophe Dumez

Bug Description

What came wrong with qbittorrent? Apart from ugly toolbar design it introduced feature with '.unwanted' directory which works wrong. The usage pattern is torrent redownload with some files added. The operations were done in roughly such order:

1. Pause old torrent
2. Add new torrent (with same location to old torrent)
3. Pause new torrent
4. Uncheck files in new torrent that were downloaded in the old torrent
5. Delete old torrent (keeping files)
6. Start new torrent

After that it complained multiple times that file is absent in .unwanted and paused. After several start attempts it finally continued the downloading. Which looks weird by itself, so the complain looks needless (groundless). But after that I discovered that all old files were gone...

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

qBittorrent does not handle file duplicates well at the moment (it never has). This is on my TODO list.

summary: - it deleted my files
+ File duplicates are not handled and may cause important issues
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I'm extremely busy at the moment but I'll do my best to fix it before next release.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
importance: Undecided → High
milestone: none → 2.7.0
status: New → Confirmed
Revision history for this message
midenok (midenok) wrote :

Thank you! You are doing great job.

Btw, creating .unwanted directory is not always friendly. This better should be configurable. If this is all about traffic saving then in our days of terrabyteful traffic this is rarely needed.

If I delete files in .unwanted it starts naggily complaining about absent files and stopping. The user interaction here is not needed. It should handle this situation by itself, silently.

Revision history for this message
pandarean (mclzc89) wrote :

I have a similar problem (I think its someway similar)...
For example... i downloaded a torrent with another client... and now i want to seed it with Qbittorrent... but i cant recheck it... it just does not recognizes the already downloaded files... it starts downloading all over again... just sometimes (by unknown reasons) it recognizes the files and rechecks them correctly.

¿It is the same problem?

Thanks

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

This should be fixed for v2.7.3. Please reopen if you still experience the problem. The fix is already on my PPA if you're using Ubuntu.

Changed in qbittorrent:
milestone: 2.7.0 → 2.7.3
status: Confirmed → Fix Committed
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

@pandarean: No, your problem is unrelated. As far as I know, torrent checking/resuming is working fine provided that you use the exact same download path as before.

Revision history for this message
pandarean (mclzc89) wrote :

Hi, then.. I should open a new bug or a questiion.. bacause Im experiencing some problems with the checking thing. I'll review this and post it later. Thanks

Changed in qbittorrent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.