Getting Started with the ConsoleUI

General support for problems installing or using Deluge
Post Reply
tonyr1988
New User
New User
Posts: 3
Joined: Wed Oct 10, 2007 2:49 pm

Getting Started with the ConsoleUI

Post 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?
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Getting Started with the ConsoleUI

Post by johnnyg »

run the console:

Code: Select all

deluge -u console
then type

Code: Select all

help
it will give you a list of commands and their description.
you can get more info on a command by typing "help command", eg.

Code: Select all

help config
yawie
Member
Member
Posts: 14
Joined: Mon Jan 05, 2009 4:36 pm

Re: Getting Started with the ConsoleUI

Post 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
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Getting Started with the ConsoleUI

Post 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.
yawie
Member
Member
Posts: 14
Joined: Mon Jan 05, 2009 4:36 pm

Re: Getting Started with the ConsoleUI

Post by yawie »

Thanks, it works OK now.
Except that it does not seem to take url but I thinks it's what is expected.
Post Reply