Not all modules can be loaded. the following modules are required. - MAPI
-
Hi all,
When using kopano-set-oof i get an error that the MAPI module does not exist.
Is this a bug in Kopano?
-
Works for me
-
-
@ckruijntjens said in Not all modules can be loaded. the following modules are required. - MAPI:
kopano-server 8.7.80.169
Centos 7.5.1804I’m wondering why you don’t post these information from the start…
We recently moved master to be python3 only, but sadly python3 is not available in the default repos of CentOS/RHEL. You probably have also seen some unresolved dependencies for e.g. kopano-search when updating.
We have been discussing relying on https://ius.io/GettingStarted/ for a more recent python for centos7.
-
Hi. Yust for an update. I did not had any unresolved depensies.
I can install python36. but after installation still the same error. What do i need to install to get rid of this problem?
-
@ckruijntjens You don’t tell much. What of these are you missing?
/usr/lib/mapi.d /usr/lib/mapi.d/kopano.inf /usr/lib/mapi.d/zcontacts.inf /usr/lib/python3.7/site-packages/MAPI /usr/lib/python3.7/site-packages/MAPI-8.7.80-py3.7.egg-info /usr/lib/python3.7/site-packages/MAPI-8.7.80-py3.7.egg-info/PKG-INFO /usr/lib/python3.7/site-packages/MAPI-8.7.80-py3.7.egg-info/SOURCES.txt /usr/lib/python3.7/site-packages/MAPI-8.7.80-py3.7.egg-info/dependency_links.txt /usr/lib/python3.7/site-packages/MAPI-8.7.80-py3.7.egg-info/top_level.txt /usr/lib/python3.7/site-packages/MAPI/Defs.py /usr/lib/python3.7/site-packages/MAPI/Struct.py /usr/lib/python3.7/site-packages/MAPI/Tags.py /usr/lib/python3.7/site-packages/MAPI/Time.py /usr/lib/python3.7/site-packages/MAPI/Util /usr/lib/python3.7/site-packages/MAPI/Util/AddressBook.py /usr/lib/python3.7/site-packages/MAPI/Util/Generators.py /usr/lib/python3.7/site-packages/MAPI/Util/Iterators.py /usr/lib/python3.7/site-packages/MAPI/Util/__init__.py /usr/lib/python3.7/site-packages/MAPI/Util/__pycache__ /usr/lib/python3.7/site-packages/MAPI/Util/__pycache__/AddressBook.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/Util/__pycache__/Generators.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/Util/__pycache__/Iterators.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/Util/__pycache__/__init__.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/Util/__pycache__/codepage.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/Util/codepage.py /usr/lib/python3.7/site-packages/MAPI/__init__.py /usr/lib/python3.7/site-packages/MAPI/__pycache__ /usr/lib/python3.7/site-packages/MAPI/__pycache__/Defs.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/__pycache__/Struct.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/__pycache__/Tags.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/__pycache__/Time.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/__pycache__/__init__.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/__pycache__/version.cpython-37.pyc /usr/lib/python3.7/site-packages/MAPI/version.py /usr/lib/python3.7/site-packages/MAPICore.py /usr/lib/python3.7/site-packages/_MAPICore.la /usr/lib/python3.7/site-packages/_MAPICore.so /usr/lib/python3.7/site-packages/_icalmapi.la /usr/lib/python3.7/site-packages/_icalmapi.so /usr/lib/python3.7/site-packages/_inetmapi.la /usr/lib/python3.7/site-packages/_inetmapi.so /usr/lib/python3.7/site-packages/icalmapi.py /usr/lib/python3.7/site-packages/inetmapi.py /usr/lib64/20170718-zts/mapi.la/usr/lib64/20170718-zts/mapi.so /usr/lib64/libkcicalmapi.so.0 /usr/lib64/libkcicalmapi.so.0.0.0 /usr/lib64/libkcinetmapi.so.0 /usr/lib64/libkcinetmapi.so.0.0.0 /usr/lib64/libmapi.so.1 /usr/lib64/libmapi.so.1.0.0 /usr/libexec/kopano/mapitime /usr/share/gdb/auto-load/usr/lib64/libmapi.so.1.0.0-gdb.py /usr/share/kopano-dagent/python/mapiplugin.py /usr/share/kopano-spooler/python/mapiplugin.py /usr/share/man/man7/mapi.7.gz
-
@ckruijntjens I would expect that you are missing the python3-kopano package. If that is actually installed then some more investigation is necessary, but I am not too familiar with centos and also missing time to really dive into this particular topic at the moment.
-
Hi python3-kopano is not in the packages in the nightly build. it is not installed on my server.
-
Ah, yes of course. Since there is no python 3 in Rhel 7, there is of course also none in our build environment for it. Hence no python3-Kopano in the archive.
-
Hi will this have any furter impact on the mailserver?
-
Just use
kopano-oof
(not kopano-set-oof); it’s there since 8.5.90+ and works on RHEL.