Opened 13 years ago

Closed 13 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 Changed 13 years ago by dakhar

  • Component changed from other to core

comment:2 Changed 13 years ago by Thump

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate, see 1373

comment:3 Changed 8 years ago by Cas

  • Milestone 1.3.x deleted

Milestone deleted

Note: See TracTickets for help on using tickets.