kimchi icon indicating copy to clipboard operation
kimchi copied to clipboard

source install: kimchy plugin fails on import

Open vrurg opened this issue 3 years ago • 2 comments

Upon start wokd logs this error:

Push server created on address /run/user/0/woknotifications
Plugin configuration file /etc/wok/plugins.d/__pycache__.conf doesn't exist.
Failed to import plugin wok.plugins.kimchi.Kimchi, error: ("Config error in section: 'wok', option: 'enable', value: 'True'. Config values must be valid Python.", 'TypeError', ("unrepr does not recognize 'Constant'",))

Both wok and kimchi are installed from sources via deb generation:

git checkout 3.0.0
# At this point python-m2crypto dependency is replaced manually with python3-m2crypto to fix 'apt install' error
./autogen.sh --system
make
make deb
sudo apt install <package-deb>

The resulting .deb files are:

wok-3.0.0-0.debian.noarch.deb
wok-3.0.0-0.ubuntu.noarch.deb
kimchi-3.0.0-0.noarch.deb

Apparently, trying to load the https://host:8001 page ends up with Wok main page. Kimchy plugin is mentioned in settings tab, but clicking the activation switch does nothing, it stays in "on" position.

Desktop:

  • OS: Linux Mint 20
  • Version 3.0.0
  • Python 3.8.2

vrurg avatar Sep 18 '20 02:09 vrurg

Here is output of make check-local which may also indicate a problem:

make-check-local.txt

vrurg avatar Sep 18 '20 02:09 vrurg

This is do to the fact that cherrypy has changed. See the solution HERE or wait for the new release that should fix this incompatibility

nrdmtt avatar Sep 29 '20 09:09 nrdmtt