qbittorrent pre-allocates unneeded files

Bug #428369 reported by Veksha
114
This bug affects 21 people
Affects Status Importance Assigned to Milestone
libtorrent-rasterbar
Unknown
Unknown
qBittorrent
Fix Released
Medium
Christophe Dumez

Bug Description

1. open .torrent file
2. mark all files in torrent as "ignored", except one file.
3. press "Add" button
4. start download

Expected result: only non-ingored files are pre-allocated

Actual result: ALL files are pre-allocated.

Revision history for this message
Veksha (veksha) wrote :

version v1.5.0 beta 4

Revision history for this message
Veksha (veksha) wrote :

actual for version 1.5.1

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

I'm waiting for an easier support for this in libtorrent-rasterbar. At the moment, although libtorrent-rasterbar may allow it, the solution is complicated and not elegant. I asked libtorrent author to add a simpler mecanism and I hope he can implement it soon.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
nE0sIghT (ne0sight) wrote :

Any progress in this issue? Maybe fill bugreport to libtorrent's bugtracker?

Revision history for this message
ustass (u-stass1) wrote :

Same problem!

Revision history for this message
ustass (u-stass1) wrote :

It's not LOW importance! It's really problem. For example: I need one 100Mb file of 50Gb .torrent. Program pre-allocates 50Gb! I haven't unlimited disk space! Next: I delete all unneeded files, but after restarting program it's re-allocate all of unneeded files!
Option "pre-allocate all files" works impropertly. It's really pre-allocate ALL files...

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

Forwarding to the libtorrent author again.

Changed in qbittorrent:
importance: Low → Medium
status: Confirmed → Triaged
Revision history for this message
40rozbojnik (40rozbojnik) wrote :

I have the same problem. This is a very tedious :(

Revision history for this message
Daniel Hahler (blueyed) wrote :

According to http://code.google.com/p/libtorrent/issues/detail?id=92#c9 this is fixed in libtorrent-rasterbar.

The commit in question appears to be http://libtorrent.svn.sourceforge.net/viewvc/libtorrent?view=revision&revision=4683 and it has not been released yet (will be in 0.16 probably).

Revision history for this message
pisya (2e450a) wrote :
Revision history for this message
pisya (2e450a) wrote :
Revision history for this message
40rozbojnik (40rozbojnik) wrote :

It would really be the best program for torrents, but this mistake spoils the whole effect :( (sorry for any mistakes, I use Google Translate)

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

@Daniel: Yes, the fix will be in libtorrent v0.16. However, qBittorrent is still based on v0.14 or v0.15, which is why the issue is still there. The good news is that the fix is coming.

Revision history for this message
Neuro (neuro-picnics) wrote :

In my case, I mark for download 5th and 6th of 6 files (450~500 Mb each) while adding torrent. After downloading I saw 3 of them: 4th (0.6%), 5th (100%), 6th (100%).
When I delete 4th file and recheck torrent, I saw this: 4th - 0%, 5th - 98,8%, 6th - 100%. QBittorrent starts this torrent, preallocate 4th file again, download 0.6% of 4th and 0.2% of 5th and stopped. I got 2 full needed files and 1 preallocated unneeded file again.

Revision history for this message
Artamonov Denis (dart77) wrote :

and qbittorent pre-allocates empty folders with torrent stukture and status not downloading

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

This should be fixed in v2.6.0 (to be released tomorrow).

Changed in qbittorrent:
milestone: none → 2.6.0
status: Triaged → Fix Committed
Revision history for this message
Veksha (veksha) wrote :

i can't believe)

Revision history for this message
nE0sIghT (ne0sight) wrote :

Thanks a lot, Christophe!
Which version of libtorrent needed for this feature to work?

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

Bug attachments

Remote bug watches

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