Opened 14 years ago

Closed 14 years ago

#1307 closed bug (Fixed)

Console client doesn't add torrents

Reported by: riarheos Owned by:
Priority: major Milestone: 1.3
Component: Console UI Version: 1.3.0_dev
Keywords: Cc:

Description

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

Change History (1)

comment:1 by John Garland, 14 years ago

Resolution: fixed
Status: newclosed

This has been fixed in 7fb3c3c04cf683ae19fa2a2dc1b4453845249bc6 and will be in 1.3.0 RC2.

Note: See TracTickets for help on using tickets.