arch-deluge icon indicating copy to clipboard operation
arch-deluge copied to clipboard

Start WebUI and install WebAPI

Open niXta1 opened this issue 4 years ago • 2 comments

Hi!

I'm trying to install the WebAPI-plugin but I think I need to start the WebUI first acording to this discussion.

I can't see anything suspicious in the logs when I try to start WebUI, it just won't check the box.

niXta1 avatar Apr 16 '20 21:04 niXta1

see Q3 and Q4:- https://github.com/binhex/documentation/blob/master/docker/faq/delugevpn.md

binhex avatar Apr 17 '20 08:04 binhex

see Q3 and Q4:- https://github.com/binhex/documentation/blob/master/docker/faq/delugevpn.md

Right, I thought something was wrong because it didn't respond like the other plugins. After enabling in core.conf it stayed checked. I still get the exact same error in the log when I enable WebAPI.

19:48:09.100 [INFO    ][webapi.core                   :20  ] Enabling WebAPI plugin CORE ...
19:48:09.100 [INFO    ][webapi.core                   :57  ] Patching webui for CORS...
19:48:09.100 [ERROR   ][deluge.pluginmanagerbase      :193 ] Failed to start plugin: WebAPI
Traceback: <class 'KeyError'>: 'JSON'
/usr/lib/python3.8/site-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/lib/python3.8/site-packages/deluge/plugins/init.py:27:enable
/config/plugins/WebAPI-0.4.0-py3.8.egg/webapi/core.py:26:enable
/config/plugins/WebAPI-0.4.0-py3.8.egg/webapi/core.py:59:patch_web_ui
/usr/lib/python3.8/site-packages/deluge/component.py:489:get

19:48:09.100 [INFO    ][webapi.core                   :29  ] Disabling WebAPI plugin CORE ...
19:48:09.100 [WARNING ][deluge.pluginmanagerbase      :246 ] Problems occured disabling plugin: WebAPI

niXta1 avatar Apr 19 '20 17:04 niXta1