LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-08-2007, 08:10 PM   #1
ckent
Member
 
Registered: Jan 2007
Distribution: Ubuntu
Posts: 59

Rep: Reputation: 15
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

-CK
 
Old 06-09-2007, 12:51 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,848

Rep: Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012
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.
 
Old 06-17-2007, 05:30 PM   #3
medya
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 87

Rep: Reputation: 15
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.
 
Old 06-17-2007, 08:49 PM   #4
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
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.
 
Old 07-08-2007, 09:57 AM   #5
ckent
Member
 
Registered: Jan 2007
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 07-08-2007, 10:13 PM   #6
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
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.
 
Old 07-09-2007, 12:13 AM   #7
ckent
Member
 
Registered: Jan 2007
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo create a *.torrent and seed it? (KTorrent or Azureus) lefty.crupps Linux - Networking 4 12-13-2011 01:00 PM
Howto use ktorrent (total torrent newbie) leupi Linux - Software 5 04-09-2009 02:55 PM
torrent download problems eiad77 Linux - Newbie 10 08-31-2006 01:47 AM
Ktorrent does not complete the download rhyan-brw Linux - Software 1 08-21-2006 04:31 PM
bit torrent download simcox1 Slackware 9 04-22-2005 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration