#1399: Use 'move_storage' with non ascii characters.
--------------------+-------------------------------------------------------
Reporter: dakhar | Owner:
Type: bug | Status: new
Priority: major | Milestone: 1.3.x
Component: other | Version: 1.3.1
Keywords: |
--------------------+-------------------------------------------------------
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
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1399>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.