Opened 9 years ago

Closed 8 years ago

#2771 closed bug (WorksForMe)

Status Tab KeyError in terminal on shutdown

Reported by: Calum Owned by:
Priority: trivial Milestone: needs verified
Component: GTK UI Version: 1.3.12
Keywords: Cc:

Description

An annoying error that would like to fix. It will randomly happen on shutdown and seems to be a status call after the core has shutdown but odd that the keyerror is only for 'progress'.

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/home/ubuntu/deluge-1.3-stable-git/deluge/ui/gtkui/torrentdetails.py", line 380, in update
    self.tabs[name].update()
  File "/home/ubuntu/deluge-1.3-stable-git/deluge/ui/gtkui/status_tab.py", line 120, in update
    selected, status_keys).addCallback(self._on_get_torrent_status)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 298, in addCallback
    callbackKeywords=kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 287, in addCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/ubuntu/deluge-1.3-stable-git/deluge/ui/gtkui/status_tab.py", line 152, in _on_get_torrent_status
    fraction = status["progress"] / 100
exceptions.KeyError: 'progress'

Change History (2)

comment:1 by Calum, 8 years ago

Catching and debug logging the error would do for now...

comment:2 by Calum, 8 years ago

Milestone: 1.3.13needs verified
Resolution: WorksForMe
Status: newclosed

Not seen this issue recently so closing.

Note: See TracTickets for help on using tickets.