File went missing as soon as download completed

Bug #700214 reported by Matt Giuca on 2011-01-08
This bug affects 2 people
Affects Status Importance Assigned to Milestone
transmission (Ubuntu)

Bug Description

Binary package hint: transmission

I downloaded a file from the torrent I saved the file to my Desktop. After the download completed, Transmission started seeding the file (I don't know if it actually uploaded any data). I opened the Desktop in Nautilus and the file was not there. I went back to Transmission (never having closed the app) and asked it to verify the download. The file immediately changed to red and said "Error: Can't find local data. Try "Set Location" to find it, or restart the torrent to re-download."

Needless to say, this was quite frustrating. This happened within seconds of the download completing and I did no other activities which could have caused the file to be deleted or moved.

Transmission version 2.04-0ubuntu2.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: transmission-gtk 2.04-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic
Uname: Linux 2.6.35-24-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Jan 8 16:23:30 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/transmission
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
 PATH=(custom, user)
SourcePackage: transmission
 (polkit-gnome-authentication-agent-1:1998): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (gnome-panel:1995): GConf-WARNING **: Directory `/apps/panel/toplevels/bottom_panel_screen1/screen' was not being monitored by GConfClient 0xa1331a0
 (gnome-panel:1995): GConf-WARNING **: Directory `/apps/panel/toplevels/top_panel_screen1/screen' was not being monitored by GConfClient 0xa1331a0

Matt Giuca (mgiuca) wrote :
Charles Kerr (charlesk) wrote :

Hi Matt,

Thanks for reporting this issue. I've downloaded that same file to my ~/Desktop and everything seems to be alright. So I'm wondering if there is something different between our two configurations. Here are a couple of questions that might help us to figure out what happened:

  * In Edit > Preferences > Torrents, do you have an "incomplete directory" configured?

  * What is your default Download directory?

  * Did you use "Add Torrent" and then set ~/Desktop as the download path? Or, did you move it to ~/Desktop after downloading it?

  * Do you have "append .part to incomplete files" checked?

  * This is a long shot, but if you search your hard drive for the .iso, does it show up anywhere?

Changed in transmission (Ubuntu):
status: New → Incomplete
Matt Giuca (mgiuca) wrote :

Hi Jordan, thanks for responding. I'm aware of how hard tracking bugs down is and unfortunately this seems pretty hard to reproduce. This is the first time I have used Transmission, and I haven't fiddled with any of the settings, so they should be the default for Ubuntu.

* My default "Save to Location" is ~/Desktop.
* My Edit -> Preferences -> Torrents "keep incomplete torrents in" checkbox is unchecked.
* I do have "append .part to incomplete files" checked.
* I just added the file and started downloading it; I did not manually specify to store it on the desktop. I remember seeing the file partially downloaded on the Desktop as it was going (but I don't remember whether or not it had a .part extension).
* I searched my hard drive for the .iso. I found a copy I downloaded using another program (since then), so I don't think Transmission put it there. That one downloaded to ~, so there is a slight chance Transmission put it in ~ and then I overwrote it with this other program, but I don't think so.

By your question about the ".part", do you think Transmission somehow forgot to set the filename to .part (of the partial download), then when it went to delete the .part file, accidentally deleted the original?

Anyway now that I'm not in immediate need of this file, I will try to repeat the exact same steps and see if I can get it to happen again.

Matt Giuca (mgiuca) wrote :

Although, a quick check of the source code (torrent.c:tr_torrentFileCompleted) indicates that it doesn't attempt to delete the old file, only renames from the .part name to the completed name (using the standard library 'rename' function, which is guaranteed to do nothing if for some reason both the oldname and newname are identical). So that can't be it.

Launchpad Janitor (janitor) wrote :

[Expired for transmission (Ubuntu) because there has been no activity for 60 days.]

Changed in transmission (Ubuntu):
status: Incomplete → Expired
Sam Freed (sam-freed) wrote :

I have the same issue, on Ubuntu 17.10. I solved it by moving the download-to directory to home. My "Desktop" is a symlink to DropBox/Desktop, which is a DropBox, with that may entail.

In summary - my suspicion is that it is DropBox to blame.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers