Opened 10 years ago

Closed 9 years ago

Last modified 6 years ago

#2708 closed bug (WorksForMe)

Console KeyError: 'progress'

Reported by: Calum Owned by:
Priority: minor Milestone: 2.0.0
Component: Console (new ncurses) Version: develop
Keywords: Cc:

Description

Seeing the following error on startup of the ncurses console

File "/home/ubuntu/deluge.git_master/deluge/transfer.py", line 118, in _handle_complete_message 
self.message_received(rencode.loads(zlib.decompress(data), decode_utf8=True))
File "/home/ubuntu/deluge.git_master/deluge/ui/client.py", line 123, in message_received d.callback(request[2])
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 362, in callback self._startRunCallbacks(result)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 458, in _startRunCallbacks 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.git_master/deluge/ui/console/modes/alltorrents.py", line 434, in set_state self._sorted_ids = self._sort_torrents(self.curstate)
File "/home/ubuntu/deluge.git_master/deluge/ui/console/modes/alltorrents.py", line 584, in _sort_torrents result = sorted(result, cmp_func, lambda s: state.get(s)["progress"] == 100.0)
File "/home/ubuntu/deluge.git_master/deluge/ui/console/modes/alltorrents.py", line 584, in <lambda> result = sorted(result, cmp_func, lambda s: state.get(s)["progress"] == 100.0)
exceptions.KeyError: 'progress'

Change History (2)

comment:1 by Calum, 9 years ago

Resolution: WorksForMe
Status: newclosed

comment:2 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.