Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#1052 closed bug (Fixed)

Deluge console commands crash if not connected to daemon

Reported by: ianmartin Owned by: andar
Priority: major Milestone: 1.2.0
Component: Unknown Version: 1.2.0
Keywords: Cc:


If not connected to daemon commands that reply on being connected eg info crash:

>>> info
'ConsoleUI' object has no attribute 'torrents'
Traceback (most recent call last):
  File "/home/ian/dev/deluge/deluge-1.2/deluge/ui/console/", line 286, in do_command
    ret = self._commands[cmd].handle(*args, **options.__dict__)
  File "/home/ian/dev/deluge/deluge-1.2/deluge/ui/console/commands/", line 114, in handle
  File "/home/ian/dev/deluge/deluge-1.2/deluge/ui/console/", line 402, in match_torrent
    for tid, name in self.torrents:
AttributeError: 'ConsoleUI' object has no attribute 'torrents'

Change History (2)

comment:1 Changed 15 years ago by andar

  • Milestone set to 1.2.0
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [5896].


comment:2 Changed 11 years ago by Cas

  • Version changed from 1.2.0_rc1 to 1.2.0
Note: See TracTickets for help on using tickets.