Package: certbot
Version: 1.1.0-1
Severity: important

Dear Maintainer,


certbot reports the following error:

┌────
│ (certbot)root@yadayada:~# certbot --help
│ An unexpected error occurred:
│ AttributeError: module 'certbot.plugins.common' has no attribute
'TLSSNI01'
│ Please see the logfile '/tmp/tmpbsljfl0i/log' for more details.
│ (certbot)root@yadayada:~# cat /tmp/tmpbsljfl0i/log
│ 2020-03-22 09:20:47,809:DEBUG:certbot._internal.log:Exiting abnormally:
│ Traceback (most recent call last):
│   File "/usr/bin/certbot", line 11, in <module>
│     load_entry_point('certbot==1.1.0', 'console_scripts', 'certbot')()
│   File "/usr/lib/python3/dist-packages/certbot/main.py", line 15, in main
│     return internal_main.main(cli_args)
│   File "/usr/lib/python3/dist-packages/certbot/_internal/main.py",
line 1317, in main
│     plugins = plugins_disco.PluginsRegistry.find_all()
│   File
"/usr/lib/python3/dist-packages/certbot/_internal/plugins/disco.py",
line 206, in find_all
│     plugin_ep = PluginEntryPoint(entry_point)
│   File
"/usr/lib/python3/dist-packages/certbot/_internal/plugins/disco.py",
line 48, in __init__
│     self.plugin_cls = entry_point.load()
│   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py",
line 2411, in load
│     return self.resolve()
│   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py",
line 2417, in resolve
│     module = __import__(self.module_name, fromlist=['__name__'], level=0)
│   File "/usr/lib/python3/dist-packages/certbot_apache/entrypoint.py",
line 4, in <module>
│     from certbot_apache import configurator
│   File
"/usr/lib/python3/dist-packages/certbot_apache/configurator.py", line
32, in <module>
│     from certbot_apache import http_01
│   File "/usr/lib/python3/dist-packages/certbot_apache/http_01.py",
line 13, in <module>
│     class ApacheHttp01(common.TLSSNI01):
│   File "/usr/lib/python3/dist-packages/certbot/plugins/common.py",
line 444, in __getattr__
│     return getattr(self._module, attr)
│ AttributeError: module 'certbot.plugins.common' has no attribute
'TLSSNI01'
│ 2020-03-22 09:20:47,809:ERROR:certbot._internal.log:An unexpected
error occurred:
└────

You can notice that module python3-certbot-apache is also installed, but
with a lower version number.

I could fix the issue by upgrading python3-certbot-apache to version
1.1.0-1.


Thank you for your work on packaging this tool!



-- System Information:
Debian Release: 10.3
  APT prefers stable
  APT policy: (990, 'stable'), (380, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages certbot depends on:
ii  python3          3.7.3-1
ii  python3-certbot  1.1.0-1

certbot recommends no packages.

Versions of packages certbot suggests:
pn  python-certbot-doc      <none>
ii  python3-certbot-apache  0.31.0-1
pn  python3-certbot-nginx   <none>

-- no debconf information

Reply via email to