Page 1 of 2

Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Wed Mar 25, 2009 8:37 am
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.

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Wed Mar 25, 2009 11:32 pm
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.

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Thu Mar 26, 2009 12:09 am
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.

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Thu Mar 26, 2009 5:50 am
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

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Mon Mar 30, 2009 8:03 pm
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?

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Sat Apr 04, 2009 11:49 am
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

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Sat Apr 04, 2009 11:06 pm
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.

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Sun Apr 05, 2009 6:33 pm
by andar
I think I may have fixed the issue in revision 5009 .. please test and confirm.

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Sun Apr 05, 2009 8:42 pm
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'

Re: Deluge 1.1.5 cant add torrent file with japanese letters

Posted: Mon Apr 06, 2009 4:58 pm
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.