#2829: Scheduler plugin cannot be disabled
-------------------------------------------------+-------------------------
Reporter: 5haffl | Owner:
Type: bug | Status: new
Priority: major | Milestone: needs
| verified
Component: Plugin | Version: 1.3.12
Keywords: scheduler, plugin, disable, |
session_set_setting, do_config_set_func |
-------------------------------------------------+-------------------------
Hi,
When trying to disable the Scheduler plugin via deluge-web, I get the
following error message from deluged ('''deluged -L error'''):
{{{
[ERROR ] 13:34:40 init:57 Unable to disable plugin!
[ERROR ] 13:34:44 init:58 'PreferencesManager' object has no attribute
'do_config_set_func'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/plugins/init.py", line 55,
in disable
self.plugin.disable()
File "/usr/lib/python2.7/dist-
packages/deluge/plugins/Scheduler-0.2.egg/scheduler/core.py", line 114, in
disable
self.__apply_set_functions()
File "/usr/lib/python2.7/dist-
packages/deluge/plugins/Scheduler-0.2.egg/scheduler/core.py", line 130, in
__apply_set_functions
component.get("PreferencesManager").do_config_set_func(setting,
core_config[setting])
AttributeError: 'PreferencesManager' object has no attribute
'do_config_set_func'
}}}
Therefore, the plugin cannot be disabled. I've already made a pull request
for this bug, which can be solved simply by replacing
'''do_config_set_func''' with '''session_set_setting''' in '''core.py'''
('''line 130''') of the Scheduler plugin, according to the actual name of
the method defined in '''core/preferencesmanager.py'''
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2829>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.