Opened 12 years ago
Last modified 7 years ago
#2236 new bug
Disabling plugin with filter in webui generates r.data errors
Reported by: | Calum | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 2.x |
Component: | Web UI | Version: | 1.3.5 |
Keywords: | Cc: |
Description (last modified by )
The following error will occur after disabling plugin in webui and all the torrents will disappear. Refreshing browser is the current workaround.
[ERROR ] 11:54:44 client:391 RPCError Message Received! -------------------------------------------------------------------------------- RPCRequest: core.get_torrents_status({u'label': u''}, [u'queue', u'name', u'total_size', u'state', u'progress', u'num_seeds', u'total_seeds', u'num_peers', u'total_peers', u'download_payload_rate', u'upload_payload_rate', u'eta', u'ratio', u'distributed_copies', u'is_auto_managed', u'time_added', u'tracker_host', u'save_path', u'total_done', u'total_uploaded', u'max_download_speed', u'max_upload_speed', u'seeds_peers_ratio'], True) -------------------------------------------------------------------------------- File "/home/ubuntu/deluge.git/deluge/core/rpcserver.py", line 298, in dispatch ret = self.factory.methods[method](*args, **kwargs) File "/home/ubuntu/deluge.git/deluge/core/core.py", line 441, in get_torrents_status torrent_ids = self.filtermanager.filter_torrent_ids(filter_dict) File "/home/ubuntu/deluge.git/deluge/core/filtermanager.py", line 172, in filter_torrent_ids if (not status[field] in values) and torrent_id in torrent_ids: KeyError: label --------------------------------------------------------------------------------
These errors will also appear at various points in browser console when the torrents are unable to be displayed:
torrents is null: @ Torrentgrid.js Line 396 record is undefined @ TorrentGrid.js:378 r.data.state is undefined @ TorrentGrid.js:40
Change History (4)
comment:1 by , 12 years ago
Description: | modified (diff) |
---|---|
Summary: | [Label] Disabling the plugin in webui generate a filter error → [Label] Disabling the plugin in webui generates a filter and console errors |
comment:2 by , 9 years ago
Component: | Plugin → Web-UI |
---|---|
Summary: | [Label] Disabling the plugin in webui generates a filter and console errors → Disabling plugin with filter in webui generates r.data errors |
comment:3 by , 9 years ago
Milestone: | 1.3.x → 2.0.x |
---|
Note:
See TracTickets
for help on using tickets.
Fixed the filtermanager error in 1.3-stable: [542e028977b8bc9]
The webui issue is still unresolved, not entirely sure why but
r.data
is seemingly stuck with'label'
or wrong value inTorrentGrid.js:40
and only workaround is to refresh browser.