Page 1 of 1

Notifications plugin keeps losing settings

Posted: Tue Sep 12, 2017 3:15 pm
by wgstarks
My notifications plugin becomes disabled at random several times per day. Most of the settings have to be reconfigured every time this happens. I'm running Deluge in an unRAID docker and connect via GTK or webgui from my Mac. This problem seems to occur regardless of the connection though. I'm thinking there may be some corruption issue with the configuration file but not sure how to go about uninstalling and then reinstalling this plugin?

Re: Notifications plugin keeps losing settings

Posted: Fri Jul 27, 2018 8:14 pm
by zamana
Hi!

Same here (Ubuntu 16.04, deluge-cli 1.3.15).

After clicking on "Enable", the following log is generated:

Code: Select all

Exception calling RPC request: No JSON object could be decoded
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 301, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Notifications-0.2.egg/notifications/core.py", line 236, in set_config
    self.config.save()
  File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 416, in save
    loaded_data = json.loads(data[start:end])
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Exception calling RPC request: No JSON object could be decoded


Thanks.
Regards.