#1307: Console client doesn't add torrents
----------------------+-----------------------------------------------------
Reporter: riarheos | Owner:
Type: bug | Status: new
Priority: major | Milestone: 1.3.0
Component: console | Version: 1.3.0_dev
Keywords: |
----------------------+-----------------------------------------------------
Simple add in console client fails somewhere inside python:
{{{
>>> add sts.torrent
stat() argument 1 must be (encoded string without NULL bytes), not str
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.5/deluge/ui/console/main.py", line 318,
in do_command
ret = self._commands[cmd].handle(*args, **options.__dict__)
File "/usr/lib/pymodules/python2.5/deluge/ui/console/commands/add.py",
line 66, in handle
if not os.path.isfile(arg):
File "/usr/lib/python2.5/posixpath.py", line 208, in isfile
st = os.stat(path)
TypeError: stat() argument 1 must be (encoded string without NULL bytes),
not str
}}}
python 2.5.4, deluge 1.3.0-rc1, libtorrent 0.15.0
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1307>
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.