[Bug 1207589] Re: ktorrent fails to unzip peerguardian filter file

Bug Watch Updater 1207589 at bugs.launchpad.net
Fri Aug 2 03:22:24 UTC 2013


Launchpad has imported 23 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=315239.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-02-15T21:40:21+00:00 God-g wrote:

Hello, with version 4.3.0 this wasn't present.
After upgrading to 4.3.1, when ktorrent tries to download an IP filter file from (for example) the default location "http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz" it successfully downloads the file but does not decompress it.


Reproducible: Always

Steps to Reproduce:
1. KTorrent downloads the IP filter list
2. It "forgets" to decompress (gunzip) it 
3. It renames(?) the file to level1.txt but the file is still compressed
Actual Results:  
KTorrent shows an error message.


If I manually go to the ~/.kde4/share/apps/ktorrent/ and rename the level1.txt file to level1.txt.gz and do `gunzip level1.txt.gz` the file gets decompressed and ktorrent recognizes it as valid file.

I attach a screenshot of the error message and what the level1.txt file
looks like before doing my trick said above.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/0

------------------------------------------------------------------------
On 2013-02-15T21:40:46+00:00 God-g wrote:

Created attachment 77345
snapshot of the error.png

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/1

------------------------------------------------------------------------
On 2013-02-18T16:59:58+00:00 Joris Guisson wrote:

Seems to work fine here

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/2

------------------------------------------------------------------------
On 2013-02-20T11:10:07+00:00 vootey wrote:

I get the same error-popup after downloading from the default location
(didn't try other sources). Btw the level1.txt file gets deleted after
confirming the popup-message.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/3

------------------------------------------------------------------------
On 2013-02-20T22:34:40+00:00 God-g wrote:

(In reply to comment #3)
> Btw the level1.txt file gets deleted after confirming the popup-message.
Yup, same here. I forgot to mention that in my description message above.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/4

------------------------------------------------------------------------
On 2013-02-22T23:13:22+00:00 Madafa wrote:

I cannot update ipfilter list, getting following error message:
"There are no IP addresses to convert in /home/user/.kde4/share/apps/ktorrent/level1.txt"

Should I create new bug report or is it connected to this bug?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/5

------------------------------------------------------------------------
On 2013-02-22T23:23:23+00:00 God-g wrote:

(In reply to comment #5)
> Should I create new bug report or is it connected to this bug?
This is the same bug yes, see the screenshot in comment 1.

Good to see I wasn't the only one getting this issue.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/6

------------------------------------------------------------------------
On 2013-03-11T18:35:21+00:00 Joris Guisson wrote:

Must be the file type detection which is going wrong and thinking it is
a text file, while it is a zip file.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/7

------------------------------------------------------------------------
On 2013-03-11T18:51:41+00:00 Joris Guisson wrote:

Git commit cb643c530b0b8a906032f0f2d8947a4cee6553bc by Joris Guisson.
Committed on 11/03/2013 at 19:51.
Pushed by guisson into branch 'master'.

Use file contents to figure out which type of blocklist we are dealing
with in IP filter

M  +1    -0    ChangeLog
M  +16   -18   plugins/ipfilter/downloadandconvertjob.cpp

http://commits.kde.org/ktorrent/cb643c530b0b8a906032f0f2d8947a4cee6553bc

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/8

------------------------------------------------------------------------
On 2013-03-11T23:31:41+00:00 vootey wrote:

I applied this patch to the released ktorrent-4.3.1. The behaviour
described above is unchanged. The bug still is not fixed!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/9

------------------------------------------------------------------------
On 2013-03-12T01:36:25+00:00 God-g wrote:

(In reply to comment #9)
> I applied this patch to the released ktorrent-4.3.1. The behaviour described
> above is unchanged. The bug still is not fixed!
This is not entirely true.

The supplied patch works, BUT only for ZIP archive formats.
So if you select to use http://list.iblocklist.com/?list=bt_level3&fileformat=p2p&archiveformat=zip it will work. Although if you select archiveformat=gz or 7z it won't work showing an error window which says: "Cannot determine file type of http://list.iblocklist.com/?list=bt_level3&fileformat=p2p&archiveformat=gz"

I allow myself to change the bug status back to unconfirmed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/10

------------------------------------------------------------------------
On 2013-03-12T16:06:22+00:00 vootey wrote:

(In reply to comment #10)
> The supplied patch works, BUT only for ZIP archive formats.
> So if you select to use
> http://list.iblocklist.com/?list=bt_level3&fileformat=p2p&archiveformat=zip
> it will work.
It doesn't work for me. Although the error message after downloading is different:
"Cannot find blocklist in zip file /home/vootey/.kde4/share/apps/ktorrent/level1.zip."

> Although if you select archiveformat=gz or 7z it won't work
> showing an error window which says: "Cannot determine file type of
> http://list.iblocklist.com/?list=bt_level3&fileformat=p2p&archiveformat=gz"
For me the same old error message:
"There are no IP addresses to convert in /home/vootey/.kde4/share/apps/ktorrent/level1.txt"

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/11

------------------------------------------------------------------------
On 2013-03-31T15:16:10+00:00 Tomáš Coufal wrote:

*** This bug has been confirmed by popular vote. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/12

------------------------------------------------------------------------
On 2013-04-18T17:20:51+00:00 Joris Guisson wrote:

I have tested both the gz and zip urls, they both work on the master
branch.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/13

------------------------------------------------------------------------
On 2013-05-14T16:37:58+00:00 Andy wrote:

Hi, 
this error still occours.

KTorrent Version 4.3.1
Archlinux 64bit

It happens with both:

http://list.iblocklist.com/?list=bt_level3&fileformat=p2p&archiveformat=zip

and

http://list.iblocklist.com/?list=bt_level3&fileformat=p2p&archiveformat=gz

Greetings,
Andy

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/14

------------------------------------------------------------------------
On 2013-05-14T20:34:11+00:00 Bugs-kde-org-6 wrote:

Snap. v4.3.1 still has the bug, Kubuntu 13.04.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/15

------------------------------------------------------------------------
On 2013-05-16T22:29:15+00:00 Paulo-fidalgo-pt wrote:

Sill happens Version 4.3.1 on Fedora 18.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/16

------------------------------------------------------------------------
On 2013-05-17T03:41:33+00:00 adaptee wrote:

Joris, which version will the master branch use when it is released ?
Please set the "Version Fixed In" field to avoid confusions.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/17

------------------------------------------------------------------------
On 2013-05-30T16:41:48+00:00 Joris Guisson wrote:

OK, it seems I can reproduce it now to, probably since my upgrade to
raring.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/18

------------------------------------------------------------------------
On 2013-07-15T15:21:16+00:00 Mathias-dietrich wrote:

As a workaround you can unzip the blocklist locally and enter the
filepath to the text-blocklist in ktorrent

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/19

------------------------------------------------------------------------
On 2013-08-01T10:51:56+00:00 Joris Guisson wrote:

Git commit 09421b0222c7552ddcfecbd8c05d8c069a05ba5f by Joris Guisson.
Committed on 01/08/2013 at 10:51.
Pushed by guisson into branch 'master'.

Fix gzip not working in ipfilter plugin due to wrong mimetype

M  +1    -0    ChangeLog
M  +15   -3    plugins/ipfilter/downloadandconvertjob.cpp

http://commits.kde.org/ktorrent/09421b0222c7552ddcfecbd8c05d8c069a05ba5f

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/20

------------------------------------------------------------------------
On 2013-08-01T10:55:44+00:00 Joris Guisson wrote:

gzip is back to normal, apparently the mimetype changed from
application/x-gzip to application/gzip in some recent version of KDE.

zip is also working back, without any modifications. Not sure what
changed, must be a bugfix in kdelibs which fixed it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/21

------------------------------------------------------------------------
On 2013-08-01T11:20:03+00:00 Joris Guisson wrote:

Git commit 3dfcbeb9765e99f9b99951134b17268eb7a617d2 by Joris Guisson.
Committed on 01/08/2013 at 11:19.
Pushed by guisson into branch '4.3'.

Backport ipfilter extraction fixes from master branch to 4.3 branch

M  +3    -0    ChangeLog
M  +5    -17   plugins/ipfilter/downloadandconvertjob.cpp

http://commits.kde.org/ktorrent/3dfcbeb9765e99f9b99951134b17268eb7a617d2

Reply at:
https://bugs.launchpad.net/ubuntu/+source/ktorrent/+bug/1207589/comments/22


** Changed in: ktorrent
       Status: Unknown => Fix Released

** Changed in: ktorrent
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to ktorrent in Ubuntu.
https://bugs.launchpad.net/bugs/1207589

Title:
  ktorrent fails to unzip peerguardian filter file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ktorrent/+bug/1207589/+subscriptions




More information about the kubuntu-bugs mailing list