By: Dev MR user 16 Nov 2023 at 12:26 a.m. CST

3 Responses
Dev MR gravatar
Installed Janssen Open Source on Ubuntu 22.04 as per the instructions in: https://docs.jans.io/v1.0.20/admin/install/vm-install/ubuntu/ While trying into configure the Janssen server using TUI, Python gave some errors about missing packages. After installing those packages, I am struck at an error with prompt_toolkit package which gives an IMport error. The folloiwng is the console: python3 config-cli-tui.py Traceback (most recent call last): File "/opt/jans/jans-cli/config-cli-tui.py", line 39, in <module> from prompt_toolkit.eventloop import get_event_loop ImportError: cannot import name 'get_event_loop' from 'prompt_toolkit.eventloop' (/home/administrator/.local/lib/python3.10/site-packages/prompt_toolkit/eventloop/__init__.py) Installed version of promt_toolkit package is: prompt_toolkit-3.0.41 Seems like it needs a specific version of prompt_toolkit package, but not able to find out exactly which version is required.

By Devrim Yatar staff 17 Nov 2023 at 11:40 a.m. CST

Devrim Yatar gravatar
Hello, The prompt-toolkit version we use is 3.0.33 But setup should use this version. Regards.

By Dev MR user 20 Nov 2023 at 1:52 a.m. CST

Dev MR gravatar
Thanks @Devrim.Yatar. After the switching the prompt-toolkit to 3.0.33, TUI is working.

By Michael Schwartz Account Admin 20 Nov 2023 at 1:38 p.m. CST

Michael Schwartz gravatar
This issue does not belong on Gluu Support. Gluu Team--please require that any community question regarding Jans is opened on https://github.com/JanssenProject/jans/discussions