#1052: Deluge console commands crash if not connected to daemon
-----------------------+----------------------------------------------------
 Reporter:  ianmartin  |       Owner:  andar    
     Type:  bug        |      Status:  new      
 Priority:  major      |   Milestone:           
Component:  other      |     Version:  1.2.0_rc1
 Keywords:             |  
-----------------------+----------------------------------------------------
 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/main.py", 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/info.py", line
 114, in handle
     torrent_ids.extend(self.console.match_torrent(""))
   File "/home/ian/dev/deluge/deluge-1.2/deluge/ui/console/main.py", line
 402, in match_torrent
     for tid, name in self.torrents:
 AttributeError: 'ConsoleUI' object has no attribute 'torrents'
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1052>
Deluge <http://deluge-torrent.org/>
Deluge project

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to