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

KTorrent fails on international characters

Tags: None
(comma "," separated)
Bart
Registered Member
Posts
11
Karma
0
I have tried to open torrents with international characters in the file and/or torrent name. This results in an error message from KTorrent:

"An error ocurred whilst loading the torrent file. The most likely cause is that the torrent file is corrupted, og it is not a torrent file at all."

But yes, it is a torrent file, and it works flawlessly with Azureus and uTorrent...

Any chance of this getting fixed? :)

Bart
imported4-Ivan
Registered Member
Posts
819
Karma
0

Wed Nov 02, 2005 5:36 pm
Yes, just send us this torrent on email (see FAQ).
Bart
Registered Member
Posts
11
Karma
0

Wed Nov 02, 2005 5:41 pm
Sorry. Will do. Thanks.

:)
George
Moderator
Posts
5421
Karma
1

Wed Nov 02, 2005 7:32 pm
I have made a bug report of it, easier for us to keep track of.

http://bugs.kde.org/show_bug.cgi?id=115565
George
Moderator
Posts
5421
Karma
1

Mon Nov 07, 2005 5:54 pm
The torrent you sent me is totally screwed up, this is the output from btshowmetainfo :
btshowmetainfo 20021207 - decode BitTorrent metainfo files

Traceback (most recent call last):
File "/usr/bin/btshowmetainfo", line 24, in ?
metainfo = bdecode(metainfo_file.read())
File "/usr/lib/python2.4/site-packages/BitTorrent/bencode.py", line 64, in bdecode
r, l = decode_func[x[0]](x, 0)
File "/usr/lib/python2.4/site-packages/BitTorrent/bencode.py", line 40, in decode_dict
k, f = decode_string(x, f)
File "/usr/lib/python2.4/site-packages/BitTorrent/bencode.py", line 23, in decode_string
n = long(x[f:colon])
ValueError: invalid literal for long():


I need a working torrent to fix this problem.
Bart
Registered Member
Posts
11
Karma
0

Sat Nov 12, 2005 2:06 pm
George wrote:I need a working torrent to fix this problem.


I have sent you another torrent file on mail. Hope that one works better.

Bart
George
Moderator
Posts
5421
Karma
1

Sat Nov 12, 2005 6:36 pm
The torrent you sent me loads fine, can't start the download though : The tracker doesn't exist : http://qwerqwer.net

Azureus gives the same result.
George
Moderator
Posts
5421
Karma
1

Sat Nov 12, 2005 6:39 pm
Seeing that it is a loading problem which doesn't seem to occur anymore, I'm gonna close the bug report.
Bart
Registered Member
Posts
11
Karma
0

Sat Nov 12, 2005 8:02 pm
Hmm, this is strange...

It seems like a two case scenario:

1) I click on the download link in Firefox. I tell Firefox to open the file, using KTorrent. The file appearantly downloads, and KTorrent starts up. Then the following error message is shown: "An error occurred whilst loading the torrent file. The most likely cause is that the torrent file is corrupted, or it is not a torrent file at all." I click OK, and nothing more happens.

2) I right-click on the download link in Firefox. I tell Firefox to SAVE the file. Then I doubleclick on the file, it opens in KTorrent, and starts downloading just fine.

Strange... Any idea why these different behaviours occur?

I run FreeBSD 5.2.1, KDE 3.3.2, KTorrent (todays version from svn) and Firefox 1.0.7.

Bart
George
Moderator
Posts
5421
Karma
1

Sun Nov 13, 2005 6:47 pm
Does this only happen with firefox ?

Edit: It seems that firefox doesn't even want to start up ktorrent, I select /usr/bin/ktorrent and FF just doesn't start it.

Konqueror has no problems opening KT.

Weird ..
Bart
Registered Member
Posts
11
Karma
0

Mon Nov 14, 2005 9:11 am
George wrote:Does this only happen with firefox ?


I did not suspect Firefox to be the problem, so I didn't try other browsers - until now. And yes, it works fine with Konqueror. That is really weird... :shock:

Bart
George
Moderator
Posts
5421
Karma
1

Mon Nov 14, 2005 9:50 am
So it's a FireFox bug
broli
Registered Member
Posts
17
Karma
0

Tue Nov 22, 2005 11:37 pm
i have the same problem with spanish caracter Ñ and accents. but in this scenario

the file i try to download has the caracter
y use a fat32 part to download
every BT client does the same


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d++ s+:++ a-- C+++ UL++++ P+ L++ E-- W++ N o-- K- w---
O- M- V- PS+ PE-- Y+ PGP t+ 5 X R tv+ b++ DI++ D++
G e h! r-- y
------END GEEK CODE BLOCK------
George
Moderator
Posts
5421
Karma
1

Wed Nov 23, 2005 7:12 am
Can fat32 even store files which have these characters in their filename ?
broli
Registered Member
Posts
17
Karma
0

Wed Nov 23, 2005 6:44 pm
window$ make some nasty tricks to make the user think he can,
in my first days with linux a see this as a negative point


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d++ s+:++ a-- C+++ UL++++ P+ L++ E-- W++ N o-- K- w---
O- M- V- PS+ PE-- Y+ PGP t+ 5 X R tv+ b++ DI++ D++
G e h! r-- y
------END GEEK CODE BLOCK------


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]