Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Jyrki on 17 February 2022, 21:53:49

Title: Certbot issue
Post by: Jyrki on 17 February 2022, 21:53:49
Hello, seems like recent updates broke certbot / python. This is error I am getting when I run certbot now

Traceback (most recent call last):
  File "/usr/bin/certbot", line 33, in <module>
    sys.exit(load_entry_point('certbot==1.24.0.dev0', 'console_scripts', 'certbot')())
  File "/usr/bin/certbot", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/certbot/main.py", line 6, in <module>
    from certbot._internal import main as internal_main
  File "/usr/lib/python3.10/site-packages/certbot/_internal/main.py", line 19, in <module>
    import zope.component
ModuleNotFoundError: No module named 'zope.component'

Any hint how to fix it?
Title: Re: Certbot issue
Post by: corysanin on 18 February 2022, 00:04:41
How do you have Certbot installed? Through pip?
Title: Re: Certbot issue
Post by: qontinuum on 19 February 2022, 11:11:42
Both certbot and python-zope-component are only in Arch repos
Title: Re: Certbot issue
Post by: Jyrki on 19 February 2022, 20:09:33
Currently I have certbot-git installed from AUR. However I am having same issue with any other version that is in AUR.
But it used to work :-(
Title: Re: Certbot issue
Post by: qontinuum on 20 February 2022, 09:52:49
The package is not in the repos and you compile the development version from AUR.
You are on your own
Title: Re: Certbot issue
Post by: Jyrki on 24 February 2022, 22:36:27
Ok, understood.
Title: Re: Certbot issue
Post by: nous on 24 February 2022, 22:52:23
We use the certbot packages from [community] in our servers without a hitch, FWIW.