binhex / arch-deluge

Docker build script for Arch Linux base with Deluge
GNU General Public License v3.0
16 stars 8 forks source link

Start WebUI and install WebAPI #8

Open niXta1 opened 4 years ago

niXta1 commented 4 years ago

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.

binhex commented 4 years ago

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

niXta1 commented 4 years ago

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