Deluge 1.1.5 cant add torrent file with japanese letters

General support for problems installing or using Deluge
garren
New User
New User
Posts: 3
Joined: Wed Mar 25, 2009 7:02 am

Deluge 1.1.5 cant add torrent file with japanese letters

Post by garren »

im using windows xp on japanese unicode, and deluge 1.1.5, and everything worked fine and im impressed with the new interface of deluge 1.0+ but something been bugging me, and that is, some of the letters on the interface was written in japanese. oh and this new deluge cant seems to add torrent with japanese letters in it. what happened is that, my windows xp gives error about a .dll file and force deluge to close. i tried to rename the torrent file with the english letters and hope it would turn out fine but, the result still the same. so i just revert my deluge back to 0.5.9.3 and it seems that i can add that japanese torrent just fine. and i found out on that torrent, the files that need to be download inside it also contain japanese letters.

any tips and helps would be highly appreciated, thank you.
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Post by loki »

Could you give the name of the .dll file in question when deluge closes in case someone may be able to help figure out the problem here?

This may also be a windows only issue.
sympathy
New User
New User
Posts: 7
Joined: Thu Oct 30, 2008 12:39 am

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Post by sympathy »

I just tried this. On Win Vista (English) with 1.1.5, Deluge refuses to open a Japanese torrent. No errors or crash, just won't show up.

On Linux with 1.1.5, Deluge will load the Japanese torrent and process it correctly. However, in the UI the torrent will show up twice. One torrent, one set of files, but will show up twice in the UI. strange.
garren
New User
New User
Posts: 3
Joined: Wed Mar 25, 2009 7:02 am

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Post by garren »

http://img44.imagevenue.com/img.php?ima ... _759lo.jpg
here it is. ive tried re-install deluge 1.1.5 and add the torrent again just now to get this error. i guess im not so lucky with windows xp. could be my own system performance. i dont know but still, any helps would be great. :D
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Post by jesperl »

garren wrote:http://img44.imagevenue.com/img.php?ima ... _759lo.jpg
here it is. ive tried re-install deluge 1.1.5 and add the torrent again just now to get this error. i guess im not so lucky with windows xp. could be my own system performance. i dont know but still, any helps would be great. :D
The screendump just shows a crash in deluge, most likely when calling a Windows API function.
Could you provide a link to a torrent on a public tracker which triggers this crash?
garren
New User
New User
Posts: 3
Joined: Wed Mar 25, 2009 7:02 am

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Post by garren »

sorry, it took a while before i re-install the deluge 1.1.5. ive tried with several of torrent with japanese letters in it. it appear that there's alot of it where when i tried to open it with deluge, deluge end up ignoring it without any windows pop up for which files to select to download. here's the link to the torrent in question about my problem:

http://www.nyaatorrents.org/?page=download&tid=56108
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Post by jesperl »

garren wrote:sorry, it took a while before i re-install the deluge 1.1.5. ive tried with several of torrent with japanese letters in it. it appear that there's alot of it where when i tried to open it with deluge, deluge end up ignoring it without any windows pop up for which files to select to download. here's the link to the torrent in question about my problem:

http://www.nyaatorrents.org/?page=download&tid=56108
I can confirm that this torrent doesn't work on Windows. Deluge can open the .torrent file from the browser association, but nothing appears in the 'Add torrent' window. Same thing if I download it to disk first, and open it from there. If I rename the .torrent file, so that only english letters appears, deluge.exe crashes when I open it. It could be that the announce URL in the .torrent file has Japanese letters?

I not sure whether this is a Deluge, Python or maybe Windows limitation? Maybe andar has an opinion about that if he sees this thread?

EDIT: uTorrent works on this torrent files.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Post by andar »

I think I may have fixed the issue in revision 5009 .. please test and confirm.
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Post by jesperl »

andar wrote:I think I may have fixed the issue in revision 5009 .. please test and confirm.
Sorry, no difference with 5009. This is the logfile output (opening torrent file manually)

Code: Select all

[DEBUG   ] 22:38:50 common:41 Attempting to open F:\[EAC](ドラマCD)とらドラ!/ドラマCD Vol.3 (ape+cue+booklet+rr3).torrent.
[WARNING ] 22:38:50 common:44 Unable to open F:\[EAC](ドラマCD)とらドラ!/ドラマCD Vol.3 (ape+cue+booklet+rr3).torrent: [Errno 2] No such file or directory: 'F:\\[EAC](\xe3\x83\x89\xe3\x83\xa9\xe3\x83\x9eCD)\xe3\x81\xa8\xe3\x82\x89\xe3\x83\x89\xe3\x83\xa9\xef\xbc\x81\xef\xbc\x8f\xe3\x83\x89\xe3\x83\xa9\xe3\x83\x9eCD Vol.3 (ape+cue+booklet+rr3).torrent'
[DEBUG   ] 22:38:50 addtorrentdialog:181 Unable to open torrent file: [Errno 2] No such file or directory: 'F:\\[EAC](\xe3\x83\x89\xe3\x83\xa9\xe3\x83\x9eCD)\xe3\x81\xa8\xe3\x82\x89\xe3\x83\x89\xe3\x83\xa9\xef\xbc\x81\xef\xbc\x8f\xe3\x83\x89\xe3\x83\xa9\xe3\x83\x9eCD Vol.3 (ape+cue+booklet+rr3).torrent'
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Post by jesperl »

This problem has been partially fixed in r5011 (build from SVN or wait for 1.1.6). You can open .torrent files with Japanese letters manually from within Deluge (file manager in Add Torrents dialog), but "dragging and dropping" torrents onto deluge.cmd and opening torrent files on webpages is not going to work. The reason for this is a limitation in the way than Python 2.5 on Windows handles program arguments with unicode (it doesn't...). The only workaround is to download the torrent file and open it manually from within Deluge.

EDIT: 1.1.6 has been released.
Post Reply