Opened 16 years ago
Closed 16 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
Note:
See TracTickets
for help on using tickets.



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