Opened 16 years ago

Closed 15 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 by andar, 15 years ago

Status: newpending

Is this still a problem with 1.2?

comment:2 by sebastinas, 15 years ago

Status: pendingnew
Version: 1.1.61.2.0_rc4

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

comment:3 by sebastinas, 15 years ago

Status: newpending

Sorry, changed the status by accident.

comment:4 by andar, 15 years ago

Status: pendingaccepted

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 by Calum, 15 years ago

Milestone: 1.3.0

comment:6 by maxx.h, 15 years ago

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 by Damien Churchill, 15 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in master.

Note: See TracTickets for help on using tickets.