Page 1 of 1

Cannot enable Execute plugin: <class 'KeyError'>: ''

Posted: Sat Sep 09, 2023 8:42 pm
by poncho
I'm trying to enable the Execute plugin but it always unticks in WebUI. Log says:

Code: Select all

Traceback: <class 'KeyError'>: ''
/usr/lib/python3.11/site-packages/twisted/internet/defer.py:206:maybeDeferred
/usr/lib/python3.11/site-packages/deluge/plugins/init.py:24:enable
/usr/lib/python3.11/site-packages/deluge/plugins/Execute-1.3-py3.11.egg/deluge_execute/core.py:76:enable
20:25:21 [WARNING ][deluge.pluginmanagerbase      :1622] Problems occurred disabling plugin: Execute
Then the execute.conf looks like this:

Code: Select all

{
    "file": 1,
    "format": 1
}{
    "commands": [
        [
            "0bb10eabd0806d15e572b7924ae42b3c1214e142",
            "",
            ""
        ]
    ]

I don't know where this single commands entry is coming from. Deleting this file always recreates it.

Running latest Deluge 2.1.1 (Docker linuxserver/deluge:2.1.1)

Does someone know how to fix this?

Re: Cannot enable Execute plugin: <class 'KeyError'>: ''

Posted: Sat Sep 09, 2023 10:32 pm
by mhertz
poncho wrote: Sat Sep 09, 2023 8:42 pm Does someone know how to fix this?
Yes, shut down deluged, delete execute.conf, restart deluged.
I don't know where this single commands entry is coming from. Deleting this file always recreates it.
That last 'commands' section comes from having at one point in time enabled execute plugin, selected 'add' followed by pressing 'apply' while leaving the two combo-boxes empty, hence generates such erroneous execute.conf which triggers this upon every startup.

Re: Cannot enable Execute plugin: <class 'KeyError'>: ''

Posted: Sun Sep 10, 2023 6:29 am
by poncho
That worked. Thank you.