10.0.4 + webapp work fine
-
Thanks for 10.0.4 + webap
System LFS; Python-3.8, Exim
Only problem is in kopano-search
…
File “/usr/lib/python3.8/site-packages/kopano/service.py”, line 70, in _daemonize
pidfile = pidlockfile.TimeoutPIDLockFile(pidfile, 10)
NameError: name ‘pidlockfile’ is not defined
…
Python-daemon-1.2 -
Hi @tjoen,
I don’t think any of the distributions we are currently building for already has Python 3.8 and therefore the code is probably simply not compatible.
If you want to submit a patch then that would be welcome: https://github.com/kopano-dev/kopano-core
-
Checking all other posts I see more people trying Py38
Waiting for confirmation of this pidfile error -
@fbartels said in 10.0.4 + webapp work fine:
Hi @tjoen,
I don’t think any of the distributions we are currently building for already has Python 3.8 and therefore the code is probably simply not compatible.
We build for Ubuntu 20.04 which has Python 3.8. Also this does not seem to be a Python compatiblity issue - instead the python daemon library might just be missing.
@tjoen please check if you have python3-daemon installed (https://pypi.org/project/python-daemon/).
-
In my first post I wrote that I use the latest daemon-1.2
I also tested versions 1.1 and 1.0. Both result with the same pidfile errorI am not familiar with python. So I only can ask if this is corect:
/usr/lib/python3.8/site-packages/kopano/service.py
…
try:
import daemon
import daemon.pidfile as pidlockfile
except ImportError: # pragma: no cover
pass
… -
@tjoen said in 10.0.4 + webapp work fine:
In my first post I wrote that I use the latest daemon-1.2
I also tested versions 1.1 and 1.0. Both result with the same pidfile errorYes, well i do not know what “daemon” is. Lets just assume it is https://pypi.org/project/daemon - then it is the wrong thing. Use python-daemon which i linked before ((https://pypi.org/project/python-daemon).
Yes 3rd party python modules can be confusing.
-
@longsleep @fbartels
Thanks for that info
both project/daemon and project/python-daemon have daemon to import
Very confusing. name conflict
kopano-search-10.0.4 is running now