id summary reporter owner description type status priority milestone component version resolution keywords cc 2926 Bug in torrent.get_peers Cas "Not sure how this occurred but code should handle `None`... {{{ Unhandled Error Traceback (most recent call last): File ""/home/ubuntu/deluge.git/deluge/core/eventmanager.py"", line 35, in emit handler(*event.args) File ""/home/ubuntu/deluge.git/deluge/ui/sessionproxy.py"", line 254, in on_torrent_added client.core.get_torrent_status(torrent_id, []).addCallback(on_status) File ""/home/ubuntu/deluge.git/deluge/ui/client.py"", line 517, in __call__ return self.daemon.call(self.base, *args, **kwargs) File ""/home/ubuntu/deluge.git/deluge/ui/client.py"", line 467, in call m, *copy.deepcopy(args), **copy.deepcopy(kwargs) --- --- File ""/usr/lib/python2.7/dist-packages/twisted/internet/defer.py"", line 134, in maybeDeferred result = f(*args, **kw) File ""/home/ubuntu/deluge.git/deluge/core/core.py"", line 512, in get_torrent_status all_keys=not keys) File ""/home/ubuntu/deluge.git/deluge/core/core.py"", line 496, in create_torrent_status status = self.torrentmanager[torrent_id].get_status(torrent_keys, diff, update=update, all_keys=all_keys) File ""/home/ubuntu/deluge.git/deluge/core/torrent.py"", line 942, in get_status status_dict[key] = self.status_funcs[key]() File ""/home/ubuntu/deluge.git/deluge/core/torrent.py"", line 795, in get_peers country = ''.join([char if char.isalpha() else ' ' for char in country]) exceptions.TypeError: 'NoneType' object is not iterable }}}" bug closed minor 2.0.0 Core develop Fixed