Opened 3 years ago

Closed 23 months ago

#2771 closed bug (WorksForMe)

Status Tab KeyError in terminal on shutdown

Reported by: Cas 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 Changed 23 months ago by Cas

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

comment:2 Changed 23 months ago by Cas

  • Milestone changed from 1.3.13 to needs verified
  • Resolution set to WorksForMe
  • Status changed from new to closed

Not seen this issue recently so closing.

Note: See TracTickets for help on using tickets.