LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ktorrent error - will not download a certain torrent (https://www.linuxquestions.org/questions/linux-software-2/ktorrent-error-will-not-download-a-certain-torrent-560333/)

ckent 06-08-2007 07:10 PM

ktorrent error - will not download a certain torrent
 
hey all,

my ktorrent has recently been acting funny. it will crash several times a day and more over i get a message saying one of my files has been stopped.

the error message is:
Error: Cannot open /home/XXXX/.kde/share/apps/ktorrent/tor7/cache/ : is a directory


i don't know what to do since that directory is supposed to be there as it contains the files that have downloaded.

any help is appreciated :D

-CK

David the H. 06-08-2007 11:51 PM

I had problems with it crashing all the time too. It turns out that something about the DHT subsystem makes it segfault, so disable that and it should run fine.

According to what I've read, this has been fixed in newer versions of the program, but Debian, and I assume *buntu, are still using a rather old package. But when I tried installing the newest .deb package of ktorrent available from the kde project, it said I needed an upgraded version of the kde libraries also. Since I wasn't interested in manually upgrading my entire kde setup, I gave up on that and decided to just wait until it makes it's way into the package system.

If you want to ensure that ktorrent automatically restarts itself after a crash, run it in a while loop like this:

while true; do ktorrent --nofork --nocrashhandler; done

After that, the only way to kill it permanently is to crtl+c it in the console.

medya 06-17-2007 04:30 PM

why not trying other torrent cilents like deluge or others...
this is a great article about all torrent cilents for ubuntu (review and screenshot) check it out.

Cogar 06-17-2007 07:49 PM

I believe David the H. made the point. The 1.x versions of KTorrent were more crash prone. It is quite unlikely in the 2.x versions.

ckent 07-08-2007 08:57 AM

ok the crashing has been fixed (turning of DHT seemed to work), but my one torrent will still not download properly. I keep getting the error message "Error: Cannot open /home/XXXX/.kde/share/apps/ktorrent/tor7/cache/ : is a directory"

is there a way to fix this?

CK

Cogar 07-08-2007 09:13 PM

When you say open, does that mean that you are trying to open an existing torrent that you have already "downloaded" on your machine? If so, you need to open the torrent file (the one ending in .torrent--the one containing metadata about the file(s) to be shared and the tracker), not the downloaded files themselves.

ckent 07-08-2007 11:13 PM

i don't know what is meant. that is the exact error message that i get from the program. i doubt that it is trying to open the downloaded .torrent file. it seems to be having issues with the cache of files that it is downloading to. these files need to be there, so i don't know why it is giving me this error message or how to fix it.

CK


All times are GMT -5. The time now is 08:05 AM.