I don’t know with which update in the testing branch it started, because for a while I didn’t use khal and ikhal. But now I would like to go back to use more CLI applications and getting following error messages
Traceback (most recent call last):
File "/usr/bin/khal", line 2, in <module>
from khal.cli import main_khal
File "/usr/lib/python3.10/site-packages/khal/cli.py", line 35, in <module>
from .settings import InvalidSettingsError, get_config
File "/usr/lib/python3.10/site-packages/khal/settings/__init__.py", line 2, in <module>
from .settings import get_config # noqa
File "/usr/lib/python3.10/site-packages/khal/settings/settings.py", line 26, in <module>
import xdg.BaseDirectory
ModuleNotFoundError: No module named 'xdg.BaseDirectory'
For ikhal it’s nearly the same only the ikhal instead of khal in the second line.
I would guess the source of the problem is in another package. Maybe python-pyxdg?
UPDATE:
It might be interesting that I get the same complaint about missing module ‘xdg.BaseDirectory’ under the build process when trying to install khal-git from the AUR instead.
Sorry, my second question was unclear. I meant to ask if you were using or had installed a Python virtual environment, which could prevent khal from finding what it needs.
Is there something else I could provide to get help?
What I now found is, I got the same errors after uninstalling the package, installing it with pip.