fagga/transmission-remote-cli — Issue #47: Removing Last Tracker in Multi-Tracker Torrent Always Crashes
Author: gzio
Created: 2012-02-08 22:51:38+00:00
State: open

If i select and remove 'r' last tracker in multi-tracker torrent, the script consistently crashes. I'm using latest in 2.40 branch.

```
Traceback (most recent call last):
File "/home/john/bin/Transmission-remote-cli.py", line 2992, in
config.get('Connection', 'password')))
File "/home/john/bin/Transmission-remote-cli.py", line 805, in __init__
self.run()
File "/home/john/bin/Transmission-remote-cli.py", line 929, in run
if self.handle_user_input():
File "/home/john/bin/Transmission-remote-cli.py", line 1367, in handle_user_input
self.draw_details()
File "/home/john/bin/Transmission-remote-cli.py", line 1629, in draw_details
self.draw_trackerlist(5)
File "/home/john/bin/Transmission-remote-cli.py", line 1962, in draw_trackerlist
selected = t == self.torrent_details['trackerStats'][self.scrollpos_detaillist]
IndexError: list index out of range
```