Deluge is a torrent client. Some days ago I updated it to latest version (1.3.12) on my ArchLinux and the Scheduler plugin was not working as it should.
I found the following error in the log
AttributeError: 'PreferencesManager' object has no attribute 'do_config_set_func'
In the forum title Scheduler locked in slow mode, the reply stated
Yes sorry I make a mistake in 1.3.12 when fixing another issue. Here is the fix applied for next release: http://git.deluge-torrent.org/deluge/commit/?h=1.3-stable&id=cdf301601fe71bd697f3796cf0a5656d437d140e
The workarounds (before next release) are
- to build deluge from source code
- to update the
core.py
file
I took the second method
- First find the plugin folder (you could look in error output mine is under
/usr/lib/python2.7/site-packages/deluge/plugins/
) -
Open the plugin file
Scheduler-0.2-py2.7.egg
with Archive Manager (or similar utility) -
Edit
/scheduler/core.py
file -
Find the following code (around line 130)
component.get("PreferencesManager").do_config_set_func(setting, core_config[setting])
- Replace it with (make sure you didn’t add or delete space or tab)
core_config.apply_set_functions(setting)
-
Close and answer yes to update the archive.
-
Start (or) restart deluge