[explained]Torrents hosted by torrage.com don't work

General support for problems installing or using Deluge
Nezmer
Member
Member
Posts: 12
Joined: Sun Nov 02, 2008 11:56 am

[explained]Torrents hosted by torrage.com don't work

Post by Nezmer »

I wanted to post this here before I open a ticket .

Torrents hosted by torrage.com are not working for me in deluge .
Is that normal ?

Edit : The issue is explained now . See my comment here in this thread .
Last edited by Nezmer on Wed Sep 16, 2009 4:56 am, edited 2 times in total.
English is not my native language .
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: Torrents hosted by torrage.com don't work

Post by loki »

It works fine for me, it must have been the file you were trying... I tried the one that's listed right on their front page.
http://torrage.com/torrent/640FE84C613C ... BE.torrent
Nezmer
Member
Member
Posts: 12
Joined: Sun Nov 02, 2008 11:56 am

Re: Torrents hosted by torrage.com don't work

Post by Nezmer »

loki wrote:It works fine for me, it must have been the file you were trying... I tried the one that's listed right on their front page.
http://torrage.com/torrent/640FE84C613C ... BE.torrent
The same torrent not working for me :

Code: Select all

[ERROR   ] 15:35:43 addtorrentdialog:194 not a valid bencoded string
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/addtorrentdialog.py", line 191, in add_from_files
    info = deluge.ui.common.TorrentInfo(filename)
  File "/usr/lib/python2.6/site-packages/deluge/ui/common.py", line 76, in __init__
    raise e
Exception: not a valid bencoded string
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Torrents hosted by torrage.com don't work

Post by johnnyg »

which version of deluge are you using?
Nezmer
Member
Member
Posts: 12
Joined: Sun Nov 02, 2008 11:56 am

Re: Torrents hosted by torrage.com don't work

Post by Nezmer »

johnnyg wrote:which version of deluge are you using?
deluge 1.1.9

libtorrent-rasterbar 0.14.4
python 2.6.2

I have a feeling python 2.6 is the cause of this issue .
English is not my native language .
Nezmer
Member
Member
Posts: 12
Joined: Sun Nov 02, 2008 11:56 am

Re: Torrents hosted by torrage.com don't work

Post by Nezmer »

Nezmer wrote: I have a feeling python 2.6 is the cause of this issue .
Can anyone confirm this works with python 2.6 ?
English is not my native language .
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Torrents hosted by torrage.com don't work

Post by johnnyg »

Are you downloading the torrent through your browser or passing the url directly to deluge? The latter could be causing the problem:
torrage.com wrote:The torrent files are saved to disk in gzip format, that means you have to use a browser that understands the gzip transfer encoding.
Nezmer
Member
Member
Posts: 12
Joined: Sun Nov 02, 2008 11:56 am

Re: Torrents hosted by torrage.com don't work

Post by Nezmer »

johnnyg wrote:Are you downloading the torrent through your browser or passing the url directly to deluge? The latter could be causing the problem:
torrage.com wrote:The torrent files are saved to disk in gzip format, that means you have to use a browser that understands the gzip transfer encoding.
Oh , that was really relevant .

The torrent file was saved to disk then opened with deluge . I just tested this with firefox (opening directly or saving first) and It works .

Passing the url directly does not work but that's not the big problem . The big problem is webkit does not understand gzip compression too . That means all users of e.g epiphany 2.28.x will have this problem . So this issue will show up when the next Ubuntu is released .

I think the developers should at least try to find a python solution so adding the url directly works from deluge . The webkit developers are aware (I'm sure) of the situation and they will add gzip compression when possible* .

No complaints from me now that I understand the problem . But I'm sure future gnome users will complain .

* webkit(gtk) 1.14 released earlier this month is installed in my system .
English is not my native language .
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: [explained]Torrents hosted by torrage.com don't work

Post by johnnyg »

Wow, made of fail on webkit's behalf.

Isn't it more a browser's duty to support compression than a bittorrent's?
That said I'll look into adding support for gzip decoding to deluge (then we can be better than webkit :D).

Do you know of any other sites that do this or is it a one-off?
Nezmer
Member
Member
Posts: 12
Joined: Sun Nov 02, 2008 11:56 am

Re: [explained]Torrents hosted by torrage.com don't work

Post by Nezmer »

johnnyg wrote: Do you know of any other sites that do this or is it a one-off?
If you mean torrent sites , this is the 1st time I encounter this problem . So It's obviously not used in the 5+ sites I fetch torrents from usually .

But in general , some sites actually do use gzip compression . This issue was brought up before in a forum thread* discussing Midori (another excellent webkit-based browser) .

* See comment #159 in this thread .
English is not my native language .
Post Reply