Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337662 - net-p2p/transmission-1.92 doesn't delete torrent files
Summary: net-p2p/transmission-1.92 doesn't delete torrent files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-16 16:13 UTC by Tiago Marques
Modified: 2010-10-15 15:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Marques 2010-09-16 16:13:58 UTC
I have a download completed and want to move files to another directory. I press the "remove from list" option on the file, "trash and remove data", and none of those deletes the torrent file. Upon restarting the daemon the file will download again, as it still finds a torrent for which the file was moved and hence becomes a new transfer.
It obviously should delete the torrent file.

Reproducible: Always
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2010-09-19 18:07:52 UTC
Hm, until we've started to investigate this issue, are you able to reproduce the problem with transmission-2.04-r1?
Comment 2 Tiago Marques 2010-09-19 19:46:54 UTC
I didn't tested since it was masked. I will try it and let you know ASAP.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-10-14 17:11:07 UTC
Tiago 2.04-r1 is stable on x86 and amd64. Do you experience same problem with it?
Comment 4 Tiago Marques 2010-10-14 22:23:21 UTC
Just noticed that it is a configuration setting in settings.json
I had set the "trash-original-torrent-files" as false by mistake. "false" is the default setting, which is kind of wrong if you're using the watch dir feature, like I was.

I have found that most of the time I can't get the init script to stop the service(I have lots of downloads).

I am also using a custom init script since the one provided doesn't let me run as a non-root user without OpenRC.

The init script not stopping should be fixed, I use this, with all configs in settings.json, since the conf.d file doesn't allow near as much customization:

#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/files/transmission-daemon.initd.2,v 1.1 2009/06/20 12:55:37 ssuominen Exp $

opts="start stop"
description="Transmission is a fast, easy and free bittorrent client"
description_start="Start transmission-daemon server and web interface"
description_stop="Stop transmission-daemon server and web interface"

depend() {
        need net
}

start() {
        ebegin "Starting transmission daemon"
        su files -c "transmission-daemon";
        eend $?
}

stop() {
        ebegin "Stopping transmission daemon"
        killall transmission-daemon
        while [ "`ps ax | grep transmission-daemon | grep -v grep | wc -l`" -ne "0" ]; do
                sleep 0.5;
        done
        eend $?
}


As for this bug, it can be fixed. Want me to open one up for the init script stop?

Best regards
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-10-15 09:05:31 UTC
(In reply to comment #4)
> As for this bug, it can be fixed. Want me to open one up for the init script
> stop?

I'll bump to transmission-2.10 today. If init script will still fail there, please, open new bug. Closing this one as INVALID since this is configuration problem. Thank you for you feedback, Tiago :)
Comment 6 Tiago Marques 2010-10-15 12:00:58 UTC
You're welcome.
No need to bump, I'll try out 2.10 in ~x86 and you should probably leave it there until it is confirmed stable by more people.

Best regards
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2010-10-15 12:04:28 UTC
(In reply to comment #6)
> No need to bump, I'll try out 2.10 in ~x86

Yea, but I've just added it to the tree. This is kind of slang - version bump == add new version of the package to the tree :)
Comment 8 Tiago Marques 2010-10-15 15:50:30 UTC
ok :)