Ticket #1938 (closed bug: fixed)

Opened 20 months ago

Last modified 18 months ago

AttributeError: 'NoneType' object has no attribute 'send_request'

Reported by: Cas Owned by:
Priority: minor Milestone: 1.3.4
Component: gtkui Version: 1.3.1
Keywords: Cc:

Description (last modified by Cas) (diff)

Found two bugs with the same AttributeError that need investigating.

 https://bugzilla.redhat.com/show_bug.cgi?id=666616

 https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/756388

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/deluge/ui/gtkui/menubar.py", line 256, in on_menuitem_quitdaemon_activate
    self.window.quit(shutdown=True)
  File "/usr/lib/pymodules/python2.7/deluge/ui/gtkui/mainwindow.py", line 163, in quit
    client.daemon.shutdown()
  File "/usr/lib/pymodules/python2.7/deluge/ui/client.py", line 504, in __call__
    return self.daemon.call(self.base, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/deluge/ui/client.py", line 310, in call
    self.protocol.send_request(request)
AttributeError: 'NoneType' object has no attribute 'send_request'

Change History

Changed 18 months ago by Cas

  • priority changed from major to minor
  • description modified (diff)
  • milestone changed from 1.3.4 to 1.3.x

Changed 18 months ago by Cas

  • status changed from new to closed
  • resolution set to fixed

Unable to replicate and I can only surmise that deluged has already shutdown by the time this request is sent however I added a exception statement to prevent crashing the client.

 d3c3d64c

Changed 18 months ago by Cas

  • milestone changed from 1.3.x to 1.3.4
Note: See TracTickets for help on using tickets.