Page 1 of 1
Getting Started with the ConsoleUI
Posted: Sat Jan 03, 2009 7:00 am
by tonyr1988
I noticed that a ConsoleUI was recently added (I think in RC1), but I can't find any information about it. At all. I searched the forums, Google'd the site, read the man pages, etc, and can't find anything. How do I get started learning anything about the ConsoleUI?
Re: Getting Started with the ConsoleUI
Posted: Sat Jan 03, 2009 7:04 am
by johnnyg
run the console:
then type
it will give you a list of commands and their description.
you can get more info on a command by typing "help command", eg.
Re: Getting Started with the ConsoleUI
Posted: Mon Jan 05, 2009 4:40 pm
by yawie
I cannot add new torrent with the console
I tryed "add url" "add -p path; filename"
The log inside the daemon is the following:
Code: Select all
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/core/core.py", line 369, in _add_torrent_file
torrent_id = self.torrents.add(filedump=filedump, options=options, filename=filename)
File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 366, in add
torrent = Torrent(handle, options, state, filename, magnet)
File "/var/lib/python-support/python2.5/deluge/core/torrent.py", line 187, in __init__
self.set_options(self.options)
File "/var/lib/python-support/python2.5/deluge/core/torrent.py", line 218, in set_options
for (key, value) in options.items():
File "/var/lib/python-support/python2.5/deluge/core/torrent.py", line 73, in items
i.append((k, self.__getitem__(k)))
File "/var/lib/python-support/python2.5/deluge/core/torrent.py", line 97, in __getitem__
if self.default_keys[key] in self.config.config:
TypeError: list objects are unhashable
Is there anything i do wrong or is it an issue with deluge.
Deluge 1.1 rc2 64 on ubuntu 64 server
Re: Getting Started with the ConsoleUI
Posted: Tue Jan 06, 2009 12:26 am
by andar
yawie wrote:I cannot add new torrent with the console
I tryed "add url" "add -p path; filename"
The log inside the daemon is the following:
Code: Select all
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/core/core.py", line 369, in _add_torrent_file
torrent_id = self.torrents.add(filedump=filedump, options=options, filename=filename)
File "/var/lib/python-support/python2.5/deluge/core/torrentmanager.py", line 366, in add
torrent = Torrent(handle, options, state, filename, magnet)
File "/var/lib/python-support/python2.5/deluge/core/torrent.py", line 187, in __init__
self.set_options(self.options)
File "/var/lib/python-support/python2.5/deluge/core/torrent.py", line 218, in set_options
for (key, value) in options.items():
File "/var/lib/python-support/python2.5/deluge/core/torrent.py", line 73, in items
i.append((k, self.__getitem__(k)))
File "/var/lib/python-support/python2.5/deluge/core/torrent.py", line 97, in __getitem__
if self.default_keys[key] in self.config.config:
TypeError: list objects are unhashable
Is there anything i do wrong or is it an issue with deluge.
Deluge 1.1 rc2 64 on ubuntu 64 server
Upgrade. That issue has been fixed.
Re: Getting Started with the ConsoleUI
Posted: Tue Jan 06, 2009 9:34 am
by yawie
Thanks, it works OK now.
Except that it does not seem to take url but I thinks it's what is expected.