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

bugs in new syndication plugin

Tags: None
(comma "," separated)
agforsyth
Registered Member
Posts
133
Karma
0

bugs in new syndication plugin

Sun Jan 11, 2009 1:02 am
1. Only one item per filter will be downloaded each time the feed is refreshed, so if two lines in the filter each match an item in the feed, it will take two refreshes of the feed before both items are downloaded.

2. I have a number of items set to download, but I don't have them set to open silently, so KTorrent sits there with the "Open (name of torrent)" window open for hours, which is what I want. The problem is, when I click "OK", the torrent is instantly shown as 100% complete, and it will begin to upload data. I noticed this several days ago but didn't have time to investigate. Today, I tried to view the torrents, to discover they were not downloaded: a "Check Data" reveals they are empty. So, I've uploaded roughly 10gb of bad data to people over the last several days.

EDIT: This description of bug #2 is partially incorrect. The files did in fact download, to the directory the torrent files were set to save to when fetched from the URLs in the feed. However, the files were also created in the proper place (though no data went there), and then KTorrent attempted to seed those empty files. They shouldn't start downloading until I click "OK" on the "Open (name of torrent)" window.
George
Moderator
Posts
5421
Karma
1

Re: bugs in new syndication plugin

Mon Jan 12, 2009 6:13 pm
phantom042 wrote:1. Only one item per filter will be downloaded each time the feed is refreshed, so if two lines in the filter each match an item in the feed, it will take two refreshes of the feed before both items are downloaded.


This is fixed

2. I have a number of items set to download, but I don't have them set to open silently, so KTorrent sits there with the "Open (name of torrent)" window open for hours, which is what I want. The problem is, when I click "OK", the torrent is instantly shown as 100% complete, and it will begin to upload data. I noticed this several days ago but didn't have time to investigate. Today, I tried to view the torrents, to discover they were not downloaded: a "Check Data" reveals they are empty. So, I've uploaded roughly 10gb of bad data to people over the last several days.

EDIT: This description of bug #2 is partially incorrect. The files did in fact download, to the directory the torrent files were set to save to when fetched from the URLs in the feed. However, the files were also created in the proper place (though no data went there), and then KTorrent attempted to seed those empty files. They shouldn't start downloading until I click "OK" on the "Open (name of torrent)" window.


Will investigate tomorrow
George
Moderator
Posts
5421
Karma
1

Wed Jan 14, 2009 10:21 am
For number 2, did you check the skip data check if existing files are found checkbox in the dialog ?
agforsyth
Registered Member
Posts
133
Karma
0

Wed Jan 14, 2009 6:36 pm
Nope. It's not checked.

You should be able to reproduce this simply by not checking the "open torrents silently" box in the syndication plugin then leaving the "open [torrent name]" box open for a while, then clicking "OK" or "Cancel" for various different results.

I've had the files show up on my desktop and KTorrent attempt to upload from another location (and send bad data), I've had the "files missing" box pop up, I've had the "Checking Data" box pop up, and other variations on this theme.
George
Moderator
Posts
5421
Karma
1

Thu Jan 15, 2009 8:38 am
I can't reproduce, what version is this ?
agforsyth
Registered Member
Posts
133
Karma
0

Thu Jan 15, 2009 5:22 pm
Latest svn, and has been happening since I started using the new plugin about a week before I posted.

You don't have ANY problems with various things happening if you leave the "open silently" option unchecked and wait after the box pops up to select files / location when it pulls a torrent from the feed? I get the file appearing in the wrong place every time (if I leave it long enough) and sometimes it doesn't download to it, and just leaves a zero length file there, but sometimes I get other odd behavior like the "check files" box or uploading bad data because the file is actually somewhere else.

EDIT: Just had a crash when an Open window was left open from the syndication plugin. This time, when I restarted KTorrent, I got the files missing box, and the location listed was where I save torents rather than where I save files again.
George
Moderator
Posts
5421
Karma
1

Fri Jan 16, 2009 12:35 pm
phantom042 wrote:Latest svn, and has been happening since I started using the new plugin about a week before I posted.

You don't have ANY problems with various things happening if you leave the "open silently" option unchecked and wait after the box pops up to select files / location when it pulls a torrent from the feed? I get the file appearing in the wrong place every time (if I leave it long enough) and sometimes it doesn't download to it, and just leaves a zero length file there, but sometimes I get other odd behavior like the "check files" box or uploading bad data because the file is actually somewhere else.

EDIT: Just had a crash when an Open window was left open from the syndication plugin. This time, when I restarted KTorrent, I got the files missing box, and the location listed was where I save torents rather than where I save files again.


How long do you need to keep it open ?
agforsyth
Registered Member
Posts
133
Karma
0

Fri Jan 16, 2009 2:26 pm
I don't know for sure: I believe I've had problems with it open just a few minutes, certainly at an hour. I took a look at the code today and didn't spot the bug, it looks to me like it must actually be in core->open() and the only time I've ever left the open... window up for that long is with the syndication plugin. I'll try to do more testing today.
agforsyth
Registered Member
Posts
133
Karma
0

Sat Jan 17, 2009 6:35 am
The window was just open for a couple of hours, and when I came back, the file was downloaded entirely to my desktop, and a zero length file was in my storage directory. I de-queued the torrent and moved the file, and then was able to data check successfully, but had I not done this, I would have got an error or uploaded bad data if there were peers to seed to when the torrent cycled to the top of the queue.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar