Invisible Torrents with Thin Client
Posted: Sat Dec 03, 2016 11:46 pm
This problem was last reported over a year ago but the resolution was "remove all your torrents" which seems unacceptable. There seems to be scattered reports of it a few years before that too, which were bug-tracked and resolved. However, I'm getting it again. Error logs show an index out of range error. There are a few instances of these errors being reported as well, but they seem to have been resolved 5-8 years ago according to the bug tracker.
I followed the wiki for setting up thin clients and it was working previously.
Server: Deluge 1.3.13+2+g6c73105-1 on Arch Linux.
Thin Client: 1.3.13 on Windows 10
I've set up port forwarding as per the wiki and the screenshot below is what I see. Forgive the massive number of "checking" torrents. Some power issues with my NAS caused every torrent to error out and I had to recheck them all, but this issue has been persisting for a few weeks before this (didn't have time to troubleshoot it until now).
http://imgur.com/a/DfDlk
I have tried configuring the forward via 127.0.0.1 and using that, and I've also tried via 127.0.0.2 and using that. Neither makes any difference. The web-ui works fine, but with so many torrents it can be slow and crash/disconnect a lot and need refreshing. There's also the fact that the web-ui is missing some of the features of GTK client, especially with a few plugins. I would use it locally except my server is headless so that's not an option for me.
Error logging gives me the following:
I'm not sure what to do about a "list index out of range" error. Any ideas?
I followed the wiki for setting up thin clients and it was working previously.
Server: Deluge 1.3.13+2+g6c73105-1 on Arch Linux.
Thin Client: 1.3.13 on Windows 10
I've set up port forwarding as per the wiki and the screenshot below is what I see. Forgive the massive number of "checking" torrents. Some power issues with my NAS caused every torrent to error out and I had to recheck them all, but this issue has been persisting for a few weeks before this (didn't have time to troubleshoot it until now).
http://imgur.com/a/DfDlk
I have tried configuring the forward via 127.0.0.1 and using that, and I've also tried via 127.0.0.2 and using that. Neither makes any difference. The web-ui works fine, but with so many torrents it can be slow and crash/disconnect a lot and need refreshing. There's also the fact that the web-ui is missing some of the features of GTK client, especially with a few plugins. I would use it locally except my server is headless so that's not an option for me.
Error logging gives me the following:
Code: Select all
[ERROR ] 18:38:09 client:391 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.get_torrents_status({}, [], True)
--------------------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/deluge/core/rpcserver.py", line 299, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 461, in get_torrents_status
status_dict[torrent_id] = self.get_torrent_status(torrent_id, keys, diff)
File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 440, in get_torrent_status
status = self.torrentmanager[torrent_id].get_status(keys, diff)
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 795, in get_status
status_dict[key] = fns[key]()
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 590, in get_file_progress
ret.append(float(file_progress[i]) / float(f["size"]))
IndexError: list index out of range
--------------------------------------------------------------------------------
[ERROR ] 18:38:09 component:118 [Failure instance: Traceback (failure with no frames): <class 'deluge.ui.client.DelugeRPCError'>: <deluge.ui.client.DelugeRPCError object at 0x04370C70>]
[ERROR ] 18:38:13 client:391 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.get_torrents_status({}, [], True)
--------------------------------------------------------------------------------
File "/usr/lib/python2.7/site-packages/deluge/core/rpcserver.py", line 299, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 461, in get_torrents_status
status_dict[torrent_id] = self.get_torrent_status(torrent_id, keys, diff)
File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 440, in get_torrent_status
status = self.torrentmanager[torrent_id].get_status(keys, diff)
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 795, in get_status
status_dict[key] = fns[key]()
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 590, in get_file_progress
ret.append(float(file_progress[i]) / float(f["size"]))
IndexError: list index out of range
--------------------------------------------------------------------------------
[ERROR ] 18:38:13 component:118 [Failure instance: Traceback (failure with no frames): <class 'deluge.ui.client.DelugeRPCError'>: <deluge.ui.client.DelugeRPCError object at 0x04370E90>]