Very long download path and I/O errors (directory is not a file)

Bug #967591 reported by przemal
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libtorrent-rasterbar
Unknown
Unknown
qBittorrent
Fix Released
Medium
Unassigned

Bug Description

Downloading: "magnet:?xt=urn:btih:454fface03362f237a2a2e4961121c2db4adb75c&dn=Van.Wilder.Freshman.Year.2009.720p.HDTV.x264.Feel-Free&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.ccc.de%3A80", creates very long path (.../Van.Wilder.Freshman.Year.2009.720p.HDTV.x264.Feel-Free/Van.Wilder.Freshman.Year.2009.720p.HDTV.x264.Feel-Free/Van.Wilder.Freshman.Year.2009.720p.HDTV.x264.Feel-Free/Van.Wilder.Freshman.Year.2009.720p.HDTV.x264.Feel-Free/... and so on).
In addition to the above, part of the torrent is downloaded in the default save path.
Also after some time qBittorrent reports something around 10 I/O errors (the directory is not a file) and pauses current download.

Environment details:
Download path file system: ext4
Fedora 16 x86_64
qt 4.8.0
rb_libtorrent 0.15.9 or 0.15.8
qbittorrent 2.9.7 or 2.9.5

Possible duplicates: #960492 and #659099.

Tags: fedora
Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

I can reproduce the issue here.

Changed in qbittorrent:
status: New → Confirmed
Changed in qbittorrent:
milestone: none → 2.9.7
importance: Undecided → Medium
Changed in qbittorrent:
milestone: 2.9.7 → 2.9.8
Revision history for this message
Alexandre Pereira Nunes (alexandre-nunes) wrote :

This bug annoys me for quite a while. It seems to happens whenever the torrent has a subdirectory w/ a name similar to the torrent's title.

Another example: magnet:?xt=urn:btih:RUTIUQDZEDN6I5STLUXTFUSPYRUHEFZM&dn=The%20Big%20Bang%20Theory%20-%20The%20Complete%20Season%205%20%5bHDTV%5d%20%2b%20EXTRA&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80

Changed in qbittorrent:
milestone: 2.9.8 → 3.0.0
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Yes, I know what the issue is. Unfortunately, this is not an easy fix due to the way qBittorrent handles torrents internally. I'm however, changing this behavior in v3.0.0 and it should resolve the issue. Hopefully, such torrents are not too common.

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

In the meantime, I would suggest using torrent files instead of magnet links if at all possible.

Changed in qbittorrent:
status: Confirmed → 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.