#2708: Console KeyError: 'progress'
-----------------------------------+---------------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0
Component: Console (new ncurses) | Version: develop (git)
Keywords: |
-----------------------------------+---------------------------
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'
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2708>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.