eith0s / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

retrackers Causing Entire Data Directory to Be Moved on Torrent Completion #817

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a mostly default .rtorrent.rc, with only the following added (for moving 
completed downloads):
system.method.set_key = 
event.download.finished,move_complete,"d.set_directory=~/completed/;execute=mv,-
u,$d.get_base_path=,~/completed/"

My "directory" in the config. is "~/incomplete/".

I have a few trackers listed to add and one listed to remove in the settings 
for the retrackers plugin.

If retrackers is enabled, and I add a torrent which downloads a directory 
(instead of a single file), when the torrent data finishes downloading, the 
entire "incomplete" directory is moved to inside of the "completed" directory, 
the status of the torrent is changed to "Pausing" in rutorrent, and rtorrent 
shows "Inactive: Download registered as completed, but hash check returned 
unfinished chunks." for the torrent.

When the "incomplete" directory is moved to be inside the "completed" 
directory, all of the files from the torrent's directory are moved to be 
directly inside the incomplete directory; the torrent's directory no longer 
exists.  For example, if the torrent downloaded a directory called "Example 
Directory" with a file "foo" inside it, at the end, the path to "foo" would be 
"~/completed/incomplete/foo".

I've tested it with all plugins removed from the plugins directory except for 
retrackers.

ruTorrent 3.5
rTorrent 0.9.2
Apache 2.2.24 on Arch Linux (fully updated)

Original issue reported on code.google.com by zcall...@gmail.com on 14 Apr 2013 at 11:43

GoogleCodeExporter commented 8 years ago
On a hunch, I thought to test one more thing:
It only happens when I add the torrent via a magnet URL in the Torrent URL 
field in ruTorrent.  If I add the torrent by uploading an actual torrent file 
in that same dialog, it doesn't happen.

Original comment by zcall...@gmail.com on 14 Apr 2013 at 11:50

GoogleCodeExporter commented 8 years ago
It also happens if I add the torrent via a magnet URL directly in rtorrent (if 
ruTorrent's web interface is open or gets opened while the torrent data is 
downloading).

Original comment by zcall...@gmail.com on 14 Apr 2013 at 11:54

GoogleCodeExporter commented 8 years ago
First of all, try to disable ruTorrent at all. And check yet once.

Original comment by novik65 on 15 Apr 2013 at 10:07

GoogleCodeExporter commented 8 years ago
The problem doesn't occur without ruTorrent.  Again, it occurs with the 
retrackers plugin enabled (alone), and doesn't occur otherwise, either with no 
plugins or with a ton of plugins.

Original comment by zcall...@gmail.com on 15 Apr 2013 at 10:19

GoogleCodeExporter commented 8 years ago

Original comment by novik65 on 19 Apr 2013 at 2:05