id summary reporter owner description type status priority milestone component version resolution keywords cc 2170 WebUI generates AttributeError when reconnected to daemon Cas damoxc "To reproduce: * Open browser with webui and select a torrent. * Kill deluged * Start deluged * The webui will generate the following error in logs: {{{ [ERROR ] 15:33:47 json_api:229 'NoneType' object has no attribute 'call' Traceback (most recent call last): File ""/usr/lib/python2.7/dist-packages/deluge/ui/web/json_api.py"", line 220, in _handle_request result = self._exec_local(method, params, request) File ""/usr/lib/python2.7/dist-packages/deluge/ui/web/json_api.py"", line 187, in _exec_local return meth(*params) File ""/usr/lib/python2.7/dist-packages/deluge/ui/web/json_api.py"", line 618, in get_torrent_status return component.get(""SessionProxy"").get_torrent_status(torrent_id, keys) File ""/usr/lib/python2.7/dist-packages/deluge/ui/sessionproxy.py"", line 148, in get_torrent_status d = client.core.get_torrent_status(torrent_id, keys, True) File ""/usr/lib/python2.7/dist-packages/deluge/ui/client.py"", line 508, in __call__ return self.daemon.call(self.base, *args, **kwargs) AttributeError: 'NoneType' object has no attribute 'call' }}} The is due to a delayed get_torrent_status call to not yet created daemon in client.py. It is a trivial issue and simply generates unnecessary log messages. " bug new trivial 2.x Web UI 1.3.5