Opened 15 years ago

Closed 14 years ago

#894 closed bug (Fixed)

Fails to create torrents including files with german umlauts

Reported by: sebastinas Owned by: andar
Priority: major Milestone: 1.3
Component: Unknown Version: 1.2.0_rc4
Keywords: Cc:

Description

Deluge silently fails to create a torrent including files with german umlauts in their name. Furthermore the size of those files is displayed as 17179869184 GiB (my test file was about 3 KiB)

The progress bar stays forever and nothing happens. Run from the console deluge produces the following output:

Traceback (most recent call last):
  File "threading.py", line 486, in __bootstrap_inner
  File "threading.py", line 446, in run
  File "deluge\ui\gtkui\createtorrentdialog.py", line 333, in create_torrent
  File "deluge\metafile.py", line 96, in make_meta_file
  File "deluge\metafile.py", line 200, in makeinfo
  File "C:\Program Files\Python25\lib\ntpath.py", line 228, in getsize
    return os.stat(filename).st_size
WindowsError: [Error 2] The system cannot find the file specified: 'C:\\Document
s and Settings\\Sebastian\\Desktop\\f\xc3\xb6\xc3\xb6.txt'

It works fine on my Linux box.

Change History (7)

comment:1 Changed 14 years ago by andar

  • Status changed from new to pending

Is this still a problem with 1.2?

comment:2 Changed 14 years ago by sebastinas

  • Status changed from pending to new
  • Version changed from 1.1.6 to 1.2.0_rc4

Still fails with 1.2 (tested it with 1.2.0-rc4).

comment:3 Changed 14 years ago by sebastinas

  • Status changed from new to pending

Sorry, changed the status by accident.

comment:4 Changed 14 years ago by andar

  • Status changed from pending to accepted

Ah, you should have left it at new ;) If it stays pending the ticket will be closed automatically.

I'll look into this when I have access to my windows vm.

comment:5 Changed 14 years ago by Cas

  • Milestone set to 1.3.0

comment:6 Changed 14 years ago by maxx.h

confirmed. here are the errors i get with deluge 1.2.3 (windows):

add folder: Traceback (most recent call last):

File "deluge\ui\gtkui\createtorrentdialog.py", line 189, in _on_button_folder_

clicked TypeError?: value is of wrong type for this column

add file: Traceback (most recent call last):

File "deluge\ui\gtkui\createtorrentdialog.py", line 162, in _on_button_file_cl

icked TypeError?: value is of wrong type for this column

comment:7 Changed 14 years ago by damoxc

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in master.

Note: See TracTickets for help on using tickets.