Hi folks,
for many months I cannot use cl-update
(I use regular Gentoo emerge to maintain my system).
The issue seems to be missing package:
# cl-update
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/calculate/core/core_main.py", line 46, in core_main
sys.exit(main())
~~~~^^
File "/usr/lib/python3.13/site-packages/calculate/core/server/func.py", line 1972, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python3.13/site-packages/calculate/core/server/cl_server.py", line 232, in main
outer_wsdl_classes = initialization(cl_wsdl)
File "/usr/lib/python3.13/site-packages/calculate/core/server/func.py", line 1700, in initialization
cl_wsdl_core = importlib.import_module(module_name)
File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3.13/site-packages/calculate/install/wsdl_install.py", line 22, in <module>
from . import install
File "/usr/lib/python3.13/site-packages/calculate/install/install.py", line 59, in <module>
from .migrate_users import migrate
File "/usr/lib/python3.13/site-packages/calculate/install/migrate_users.py", line 18, in <module>
from calculate.lib.encrypt import encrypt
File "/usr/lib/python3.13/site-packages/calculate/lib/encrypt.py", line 21, in <module>
import crypt
ModuleNotFoundError: No module named 'crypt'
No module named 'crypt'
However, when I install it:
$ pip install crypto
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: crypto in ./.local/lib/python3.13/site-packages (1.4.1)
Requirement already satisfied: Naked in ./.local/lib/python3.13/site-packages (from crypto) (0.1.32)
Requirement already satisfied: shellescape in ./.local/lib/python3.13/site-packages (from crypto) (3.8.1)
Requirement already satisfied: requests in /usr/lib/python3.13/site-packages (from Naked->crypto) (2.32.4)
Requirement already satisfied: pyyaml in /usr/lib/python3.13/site-packages (from Naked->crypto) (6.0.2)
Requirement already satisfied: charset_normalizer<4,>=2 in /usr/lib/python3.13/site-packages (from requests->Naked->crypto) (3.4.2)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.13/site-packages (from requests->Naked->crypto) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/lib/python3.13/site-packages (from requests->Naked->crypto) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.13/site-packages (from requests->Naked->crypto) (3024.7.22)
And run the cl-update
again, it will “spin the text wheel” and hang forever:
$ cl-update
/No module named 'crypt'
|
Any ideas?