#2236: [Label] Disabling the plugin in webui generate a filter error
---------------------+------------------------------------------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: trivial | Milestone: 1.3.x
Component: plugin | Version: 1.3.5
Keywords: |
---------------------+------------------------------------------------------
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
--------------------------------------------------------------------------------
}}}
This will also appear in browser console when the torrents are unable to
be displayed:
{{{
TypeError: r.data.state is undefined @ http://127.0.0.1:8112/js/deluge-
all/TorrentGrid.js:40
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2236>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.