This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Auto remove torrent script not working

Tags: None
(comma "," separated)
nss
Registered Member
Posts
22
Karma
0
OS
Auto remove torrent script not working!
Sometimes crash when loading the operating system
also sometimes after deleting a torrent he reappears in seed tab!
I use Ktorrent 4.1.1 and open Suse 11.4
George
Moderator
Posts
5421
Karma
1
Do you have a backtrace of the crash ? You can generate one with the KDE crash dialog.
nss
Registered Member
Posts
22
Karma
0
OS
https://bugs.kde.org/show_bug.cgi?id=253159

It is not my but is the same....
nss
Registered Member
Posts
22
Karma
0
OS
Now my report
ktorrent-20110612-164444.kcrash.txt
nss
Registered Member
Posts
22
Karma
0
OS
I found the reason for restarting the deleted torrents!It seems that this is the use of protocol uTP.....
imported4-John
Registered Member
Posts
4
Karma
0
niki wrote:I found the reason for restarting the deleted torrents!It seems that this is the use of protocol uTP.....


Doesn't completely solve the problem.

George,

Can we just delete a torNNN directory to get rid of it? Or are there any other references or config files we'd have to delete it from as well?
nss
Registered Member
Posts
22
Karma
0
OS
I found the reason for restarting the deleted torrents!It seems that this is the use of protocol uTP.....


Sorry, this is not the reason!!
But I think it relates to function Syndication.
I use the following string for every one:
^ Movie (?!.*( x264 | 720p))
George
Moderator
Posts
5421
Karma
1
John wrote:
niki wrote:I found the reason for restarting the deleted torrents!It seems that this is the use of protocol uTP.....


Doesn't completely solve the problem.

George,

Can we just delete a torNNN directory to get rid of it? Or are there any other references or config files we'd have to delete it from as well?


Delete of a torrent in essence is removing the torNNN directory, nothing more is needed.
George
Moderator
Posts
5421
Karma
1
niki wrote:
I found the reason for restarting the deleted torrents!It seems that this is the use of protocol uTP.....


Sorry, this is not the reason!!
But I think it relates to function Syndication.
I use the following string for every one:
^ Movie (?!.*( x264 | 720p))


Doesn't make any sense, syndication has nothing to do with removing torrents or the queue manager, it only loads torrents.

Can you post your log file of a session with this happening ? I can't reproduce it with the latest code.
nss
Registered Member
Posts
22
Karma
0
OS
I noticed that after I delete a torrent, it appears, only if by Syndication loadet. And even if I delete it again after some time appears again ,if I deleted the file begins to download, but if I just deleted the torrent seed starting. Where can I find the session log?
imported4-Sam
Registered Member
Posts
22
Karma
0
In my bug thread I think George provided the answer.

Broken symlinks

I checked several of my can't delete torrents, and found all had broken symlinks in the cache directory.

I did this:

1) remove the torrent in KT, but keep the data (crashes KT otherwise)
2) record the tor directory KT says it can't delete
3) manually delete the directory
4) restart KT (I'm pretty sure KT will need to clean up it's queue numbering?)

Note: KT will take much longer to load on the restart, but it does come back up with those torrents deleted.

Seems to have worked,
Sam

To Find Broken links:
cd to your torrents directory (see: Settings > Config > Application > Folder to store torrent information:)
Code: Select all
for i in `find `; do if (test -h $i); then file $i|grep broken; fi; done > ../broken.txt

cat ../broken.txt


If you have a bunch, then the command is very spammy, so piped to a hardfile...

1) may not be needed? But I don't know the inner working of KT, so George will have to tell us if its okay to close KT and skip step 1).
nss
Registered Member
Posts
22
Karma
0
OS
Can anyone tell me where is defined the reason, after the torrent is downloaded to the Syndication not be downloaded again?


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]