Starting a new torrent saves files in folder of previous torrent.

Bug #1130442 reported by Andrew Betts
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
transmission (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After starting a torrent that contains a folder, any subsequently started torrent downloads are saved within this folder.

(Edit -> Preferences -> Downloading -> Location -> 'Save to location' is also updated to this new folder)

This leads to infinitely nested downloads.

Eg:

└── Download1
    ├── Download1.avi
    ├── sample.avi
    ├── Download2
    │   ├── Download3
    │   │   ├── Download3.avi
    │   │   ├── Download3.jpg
    │   │   └── Download3.txt
    │   ├── Download2.mp4
    │   ├── Download2.jpg
    │   └── Download2.txt
    └── Download1.txt

This bug has been hanging around for a long time.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: transmission-gtk 2.51-0ubuntu1.1
ProcVersionSignature: Ubuntu 3.2.0-37.58-generic 3.2.35
Uname: Linux 3.2.0-37-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Wed Feb 20 00:01:30 2013
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/transmission-gtk
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
MarkForUpload: True
SourcePackage: transmission
UpgradeStatus: No upgrade log present (probably fresh install)
XsessionErrors: (compiz:2200): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed

Revision history for this message
Andrew Betts (andrew-betts) wrote :
Revision history for this message
Charles Kerr (charlesk) wrote :

Andrew, thanks for reporting this problem.

This sounds a little like https://trac.transmissionbt.com/ticket/5246#comment:9, which was fixed in 2.77. Could you try upgrading from https://launchpad.net/~transmissionbt/+archive/ppa/ and see if this resolves the problem?

Revision history for this message
Andrew Betts (andrew-betts) wrote :

Thank you Charles.

I've tried 2.77 very quickly.

Of the 7 torrents I started 6 were nested correctly.

However 1 of them (its contents were a single file) was saved in the directory of another torrent.

...

I've now realised that the problem appears to be with the 'Torrent Options' dialog that opens when I click on a torrent file. The 'destination folder' defaults to the folder of a previous torrent. It seems to be schizophrenic because I cannot get it to select the correct folder without first selecting 'Other' and then wrestling with it a bit.

Revision history for this message
Andreas Altaïr Redmer (altair-ibn-la-ahad) wrote :

hello. I cannot confirm this bug in 2.51

i have tried:

http://ca.isohunt.com/download/441429029/gentoo.torrent

http://releases.ubuntu.com/12.10/ubuntu-12.10-desktop-amd64.iso.torrent

The first one is a minimal Gentoo withsome files in a folder. The second one is an Ubuntu single file image torrent.

The destination folder was unchanged to "Downloads" and the second torrent was not inserted into the folder of the first torrent.

Should the first download be completed before I start the second one?

Revision history for this message
Andrew Betts (andrew-betts) wrote :

Perhaps I should add that I'm using ecryptfs.

I have found a way to reproduce this problem without actually downloading anything.

1. I create an empty directory with nautilus. Eg: ~/torrents/
2. Start transmission and set default download location to: ~/torrents/
3. Create another empty folder inside the first: eg: ~/torrents/dontdownloadhere/
4. Start any torrent file. Eg: http://ca.isohunt.com/download/441429029/gentoo.torrent
5. 'Torrent Options' dialog appears with the 'Destination folder' set as 'dontdownloadhere'.

From there on it is very difficult to select the folder above 'dontdownloadhere'. It _wants_ to select the deepest folder.

I get the feeling this is a filesystem issue, but transmission is the only application that I'm effected by.

Revision history for this message
Andreas Altaïr Redmer (altair-ibn-la-ahad) wrote :

Im also using ecryptfs. I tried to reproduce it in the same way like you did it now, but it works fine for me. The default directory remains ~/torrents/ . I am also on Ubuntu 12.04 using transmission version 2.51.

What is the output of your

transmission-gtk --version

?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in transmission (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergio (sergio-otero) wrote :

I cannot remember since when, but at least in 14.04 and 13.10 i've been having a similar problem.

In my case, the steps are:

 * Click on a magnet link
 * Choose in the dialog a directory "d1"
 * The directory of the file is "Downloads" => change it to "d1"

 * Click on another magnet link
 * Choose in the dialog another directory "d2"
 * The directory of the file is "d1" => change it to "d2"

 * Click on another magnet link
 * Choose in the dialog another directory "d3"
 * The directory of the file is "d2" => don't change it

 * Click on another magnet link
 * Choose in the dialog another directory "d4"
 * The directory of the file is "d2" !!

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.