Opened 14 years ago

Closed 14 years ago

Last modified 8 years ago

#1399 closed bug (Duplicate)

Use 'move_storage' with non ascii characters.

Reported by: dakhar Owned by:
Priority: major Milestone:
Component: Core Version: 1.3.1
Keywords: Cc:

Description

Hello, I'm using deluge with russian folder names, but when I try to move storage to such folder, it causes error:

[ERROR ] 15:48:13 rpcserver:303 Exception calling RPC request: 'ascii' codec can't encode characters in position 21-38: ordinal not in range(128) Traceback (most recent call last):

File "/usr/lib/pymodules/python2.6/deluge/core/rpcserver.py", line 298, in dispatch

ret = self.factory.methods[method](*args, kwargs)

File "/usr/lib/pymodules/python2.6/deluge/core/core.py", line 372, in move_storage

if not self.torrentmanager[torrent_id].move_storage(dest):

File "/usr/lib/pymodules/python2.6/deluge/core/torrent.py", line 796, in move_storage

if not os.path.exists(dest):

File "/usr/lib/python2.6/genericpath.py", line 18, in exists

st = os.stat(path)

UnicodeEncodeError: 'ascii' codec can't encode characters in position 21-38: ordinal not in range(128)

Ubuntu Linux, Deluge 1.3.1-2~lucid~ppa1

Change History (3)

comment:1 by dakhar, 14 years ago

Component: othercore

comment:2 by Thump, 14 years ago

Resolution: duplicate
Status: newclosed

Duplicate, see 1373

comment:3 by Calum, 8 years ago

Milestone: 1.3.x

Milestone deleted

Note: See TracTickets for help on using tickets.