Bug 167136

Summary: KGet fails to download torrents, as .torrent files in /var/tmp/kdecache-user/krun are being deleted.
Product: [Applications] kget Reporter: Peter Lewis <pete>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: My kgetrc file
My kgetrc file
Screenshot of kget when I click on a .torrent file in konqueror

Description Peter Lewis 2008-07-21 13:39:43 UTC
Version:           2.0.98 (using KDE 4.0.98)
Installed from:    Ubuntu Packages
OS:                Linux

If I click a torrent file in konqueror, it starts KGet, and begins to download the data, storing the .torrent file in /var/tmp/kdecache-user/krun/.

Later, if I restart while the downloading is not finished, the .torrent file has disappeared from /var/tmp/... and kget just sits there with the download in the "stopped" state. Since the torrent file is no longer present, kget doesn't know where to get the rest of the data from.

Thanks.
Comment 1 Lukas Appelhans 2008-07-21 22:01:02 UTC
Can u attach your kgetrc- and your kget_bittorrentfactory.rc-file here?

Lukas
Comment 2 Peter Lewis 2008-07-21 22:06:55 UTC
Created attachment 26316 [details]
My kgetrc file

Thanks.

Here's my kgetrc file. I don't seem to be able to find a
kget_bittorrentfactory.rc file anywhere... where would it be?
Comment 3 Peter Lewis 2008-07-21 22:06:58 UTC
Created attachment 26317 [details]
My kgetrc file

Thanks.

Here's my kgetrc file. I don't seem to be able to find a
kget_bittorrentfactory.rc file anywhere... where would it be?
Comment 4 Lukas Appelhans 2008-07-21 22:24:36 UTC
Mmh ok...
kget_bittorrent.rc is in the same dir than kgetrc, but if you haven't changed the settings, it's indeed not there :)
Well, at the moment, I see no reason why it should be downloaded to /var/tmp as it should download the .torrent file to your $KDEHOME/share/apps/kget/tmp...

Lukas
Comment 5 Peter Lewis 2008-07-21 22:52:15 UTC
Created attachment 26319 [details]
Screenshot of kget when I click on a .torrent file in konqueror

Okay, just to confirm, if I click on a link to a .torrent file in Konqueror,
kget starts and shows me this window.

Once the download has started, I get:

$ ls /var/tmp/kdecache-pete/krun/
10257.0.ubuntu-8.04.1-desktop-i386.iso.torrent

Thanks again!
Comment 6 Lukas Appelhans 2008-07-21 23:00:16 UTC
Mmh that's strange, you have your configs in .kde4 or sth like that or? It seems to be a failure of KStandardDirs :/

Lukas
Comment 7 Peter Lewis 2008-07-21 23:18:43 UTC
Yeah, it's the way the packages are set up at the moment with Kubuntu.

Take a look here for more info:

http://www.kubuntu.org/news/kde-4.1rc1

Could it be a bug for the distro people instead?
Comment 8 Lukas Appelhans 2008-07-21 23:56:12 UTC
SVN commit 836213 by lappelhans:

Append a "%U"-parameter to kget.desktop-file to make it working with konqueror

BUG:167136


 M  +1 -1      kget.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=836213
Comment 9 Lukas Appelhans 2008-07-21 23:57:08 UTC
Thanks for reporting.

Lukas
Comment 10 Peter Lewis 2008-07-22 12:12:28 UTC
Excellent - that works.

Thanks!
Comment 11 Lukas Appelhans 2008-07-22 13:04:59 UTC
SVN commit 836476 by lappelhans:

Backport:
SVN commit 836213 by lappelhans:

Append a "%U"-parameter to kget.desktop-file to make it working with konqueror

CCBUG:167136


 M  +1 -1      kget.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=836476