Opened 10 years ago

Closed 10 years ago

Last modified 4 years ago

#1818 closed bug (Fixed)

Quit & Shutdown not working when not connected to daemon

Reported by: Cas Owned by: s0undt3ch
Priority: minor Milestone: 2.x
Component: GTK UI Version: master
Keywords: Cc:

Description

Traceback (most recent call last):
  File "/home/calum/Documents/Coding/Deluge Work/deluge/deluge/ui/gtkui/menubar.py", line 278, in on_menuitem_quitdaemon_activate
    self.window.quit(shutdown=True)
  File "/home/calum/Documents/Coding/Deluge Work/deluge/deluge/ui/gtkui/mainwindow.py", line 164, in quit
    client.daemon.shutdown()
  File "/home/calum/Documents/Coding/Deluge Work/deluge/deluge/ui/client.py", line 579, in __call__
    return self.daemon.call(self.base, *args, **kwargs)
AttributeError: 'NoneType' object has no attribute 'call'

Change History (4)

comment:1 Changed 10 years ago by Cas

  • Owner set to s0undt3ch
  • Status changed from new to assigned

comment:2 Changed 10 years ago by Cas

Just checked with 1.3.1 and the 'Quit & Shutdown' option is hidden when not connected to a daemon.

comment:3 Changed 10 years ago by s0undt3ch

  • Resolution set to fixed
  • Status changed from assigned to closed

Should be fixed in current master. Reopen if not.

comment:4 Changed 4 years ago by Cas

  • Milestone changed from 2.0.x to 2.x

Milestone renamed

Note: See TracTickets for help on using tickets.