#2956: Filestab IndexError: tuple index out of range
--------------------+--------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 1.3.14
Component: GTK UI | Version: 1.3.13
Keywords: |
--------------------+--------------------
Adding a magnet and leaving the files_tab open creating a timing issue
where `file_progress` is populated but `file_priorities` is not:
{{{
[CRITICAL] 16:15:57 files_tab:469 {'files': (), 'file_progress': 0.0,
'file_priorities': ()}
[CRITICAL] 16:15:59 files_tab:469 {'files': ({...}), 'file_progress':
(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0), 'file_priorities': ()}
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py",
line 118, in dataReceived
self.wrappedProtocol.dataReceived(data)
File "/home/ubuntu/deluge-1.3-git/deluge/ui/client.py", line 179, in
dataReceived
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-1.3-git/deluge/ui/gtkui/files_tab.py", line
503, in _on_get_torrent_status
file_priority = status["file_priorities"][index]
exceptions.IndexError: tuple index out of range
}}}
Doesn't happen every time but often enough to replicate.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2956>
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 https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.