#1381 closed bug (Fixed)
Error calling method `web.get_host_status`
Reported by: | Svenstaro | Owned by: | Damien Churchill |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Web UI | Version: | 1.3.0 |
Keywords: | Cc: | sh@lutzhaase.com |
Description
I'm on Arch Linux x86_64. On running the deluge-web daemon, I'm greeted by these messages:
[ERROR ] 22:32:27 json_api:223 Error calling method `web.get_host_status` [ERROR ] 22:32:27 json_api:224 'NoneType' object is not iterable Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 215, in _handle_request result = self._exec_local(method, params, request) File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 182, in _exec_local return meth(*params) File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 716, in get_host_status (host_id, host, port, user, password) = self.get_host(host_id) TypeError: 'NoneType' object is not iterable
The webui works but top shows that the webui leaks quite a bit and ends up with 100% cpu on one core and lots of memory in use after about a day. I don't know whether the issues are related.
Change History (5)
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Milestone: | 1.3.1 → 1.3.x |
---|
comment:3 by , 14 years ago
The cpu issue is indeed fixed in git, as well as this one.
However, after restarting the web service I now get:
[ERROR ] 20:23:40 json_api:224 Error calling method `web.get_torrent_status` [ERROR ] 20:23:40 json_api:225 'NoneType' object has no attribute 'call' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 216, in _handle_request result = self._exec_local(method, params, request) File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 183, in _exec_local return meth(*params) File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 614, in get_torrent_status return component.get("SessionProxy").get_torrent_status(torrent_id, keys) File "/usr/lib/python2.7/site-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/site-packages/deluge/ui/client.py", line 504, in __call__ return self.daemon.call(self.base, *args, **kwargs) AttributeError: 'NoneType' object has no attribute 'call'
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Type: | defect → bug |
This is a different error and if it still occurs can you please create a new ticket to avoid confusion.
Note:
See TracTickets
for help on using tickets.
#1312 was regarding the high cpu usage, the 2 issues aren't related.