Notifications plugin keeps losing settings

Suggest, post, or discuss plugins for Deluge
Post Reply
User avatar
wgstarks
Member
Member
Posts: 26
Joined: Thu Jun 29, 2017 11:06 pm
Location: North Carolina USA

Notifications plugin keeps losing settings

Post 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?
zamana
New User
New User
Posts: 3
Joined: Sat Jun 10, 2017 9:08 pm

Re: Notifications plugin keeps losing settings

Post 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.
Post Reply