Page 3 of 3

Re: Cant create a torrent file

Posted: Wed Aug 05, 2015 12:22 pm
by mockingbird
Cas wrote:That just looks like you started and closed Deluge? You need to actually attempt to create a torrent file...

Also you don't need to run in Admin mode, just choose the log file location to be writeable by your user, e.g. Desktop


Hello Cas, hah you think I would waste your time by just opening it and closing it? :p


Anyways, here is another video doing the same thing while running debug for log files, log file resulted in the same content!


https://s03.solidfilesusercontent.com/O ... 131108.wmv



ps: yes I tried another location after the vid, it worked but same result with the log file.

Re: Cant create a torrent file

Posted: Wed Aug 05, 2015 9:38 pm
by Cas
In that video you already had started Deluge before opening Deluge 'as Admin' which means you are not logging the right Deluge process.

Please can you run in a cmd prompt (remember to close any other Deluge instances):

Code: Select all

"%ProgramFiles%\Deluge\deluge-debug.exe" -l "%UserProfile%\Desktop\deluge.log"

Re: Cant create a torrent file

Posted: Thu Aug 06, 2015 1:53 pm
by mockingbird
Cas wrote:In that video you already had started Deluge before opening Deluge 'as Admin' which means you are not logging the right Deluge process.

Please can you run in a cmd prompt (remember to close any other Deluge instances):

Code: Select all

"%ProgramFiles%\Deluge\deluge-debug.exe" -l "%UserProfile%\Desktop\deluge.log"
I think it has worked, but the log file created in my desktop is empty so this was all in my cmd:

Code: Select all

C:\Users\am>"C:\Program Files (x86)\Deluge\deluge-debug.exe" -l "%UserProfile%\Desktop\deluge.log"
Traceback (most recent call last):
  File "deluge\ui\gtkui\createtorrentdialog.py", line 166, in _on_button_file_clicked
  File "deluge\ui\gtkui\createtorrentdialog.py", line 134, in adjust_piece_size
  File "deluge\ui\gtkui\createtorrentdialog.py", line 119, in parse_piece_size_text
ValueError: invalid literal for int() with base 10: '32\xc2'

Traceback (most recent call last):
  File "deluge\ui\gtkui\createtorrentdialog.py", line 194, in _on_button_folder_clicked
  File "deluge\ui\gtkui\createtorrentdialog.py", line 134, in adjust_piece_size
  File "deluge\ui\gtkui\createtorrentdialog.py", line 119, in parse_piece_size_text
ValueError: invalid literal for int() with base 10: '32\xc2'

Traceback (most recent call last):
  File "deluge\ui\gtkui\createtorrentdialog.py", line 307, in _on_button_save_clicked
  File "deluge\ui\gtkui\createtorrentdialog.py", line 119, in parse_piece_size_text
ValueError: invalid literal for int() with base 10: '16\xc2'

Traceback (most recent call last):
  File "deluge\ui\gtkui\createtorrentdialog.py", line 307, in _on_button_save_clicked
  File "deluge\ui\gtkui\createtorrentdialog.py", line 119, in parse_piece_size_text
ValueError: invalid literal for int() with base 10: '16\xc2'

Re: Cant create a torrent file

Posted: Thu Aug 06, 2015 6:54 pm
by Cas
Well this is an interesting bug but I suddenly realised that it's due to French translators putting non-breaking spaces into the translation file and it's impossible to spot unless you open the file in an editor that shows whitespaces and even then I barely could see the difference!! Highly annoying but at least I finally found it and can be fixed. The workaround would be to delete/move the french translation file and work in english for now.

http://dev.deluge-torrent.org/ticket/2757

Re: Cant create a torrent file

Posted: Thu Aug 06, 2015 9:06 pm
by mockingbird
Cas wrote:Well this is an interesting bug but I suddenly realised that it's due to French translators putting non-breaking spaces into the translation file and it's impossible to spot unless you open the file in an editor that shows whitespaces and even then I barely could see the difference!! Highly annoying but at least I finally found it and can be fixed. The workaround would be to delete/move the french translation file and work in english for now.





Haaaaaaaaaaah! It worked :D

I don't mind using it in English, actually I always install my softwares in English but for some reason, Deluge automatically selects French as a language.


Thank you a bunch man! <3 <3




Edit: Oh no :( got a problem with the Trackers now :( Same problem remains


https://s04.solidfilesusercontent.com/M ... 222741.wmv


I deleted all the files in

C:\Program Files (x86)\Deluge\share\locale
C:\Program Files (x86)\Deluge\deluge-1.3.11-py2.6.egg\deluge\i18n

I only left en_GB in both files, did I miss something? As for the logs, it doesn't seem to be working with this one, like there is no problem.

Re: Cant create a torrent file

Posted: Fri Aug 07, 2015 12:32 pm
by Cas
If you want to test the latest French translation I have updated Launchpad and attached the MO format file to be placed in i18n folder.

Trackers need to have http:// or udp:// prefix

Re: Cant create a torrent file

Posted: Fri Aug 07, 2015 1:50 pm
by mockingbird
Cas wrote:If you want to test the latest French translation I have updated Launchpad and attached the MO format file to be placed in i18n folder.

Trackers need to have http:// or udp:// prefix


Oh my bad, it works like a charm :oops:


Thanks again for you help Cas, I will download these and get back to you.



Edit: it works :)