You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ModuleNotFoundError: No module named '_crypt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "launcher.py", line 11, in <module>
main.main()
File "src\main.py", line 81, in main
server_config = server_conf.from_json(SERVER_CONF_PATH, TEMP_FOLDER)
File "src\model\server_conf.py", line 104, in from_json
config.authenticator = create_authenticator(auth_config, temp_folder)
File "src\model\server_conf.py", line 159, in create_authenticator
from auth.auth_htpasswd import HtpasswdAuthenticator
File "src\auth\auth_htpasswd.py", line 1, in <module>
import crypt
File "C:\Users\demdevwin\AppData\Local\Programs\Python\Python39\lib\crypt.py", line 9, in <module>
raise ImportError("The crypt module is not supported on Windows")
ImportError: The crypt module is not supported on Windows
What can we do ?
The text was updated successfully, but these errors were encountered:
Hi @weis, I made a fix, which is available in dev version.
If you would like to stay on stable version, then I would suggest installing htpasswd utility on the machine, where script server is running (and restart the script server instance).
Hi, thank you for the very fast answer.
It's running!
One notice: i have to remove comments (lines beginning with a #) from the htpasswd file.
Otherwise an error occured:
File "src\auth\auth_htpasswd.py", line 124, in _parse_htpasswd
(username, password) = line.split(':', 1)
ValueError: not enough values to unpack (expected 2, got 1)
We are not able to implement the htpasswd authentication on windows.
With the server configuration part
we got after running launcher.py:
What can we do ?
The text was updated successfully, but these errors were encountered: