Crash of certbot on FreeBSD

Hi,
The system is FreeBSD 12.1-p7, running upgrades via pkg.
Last week, cerbot crashed with this traceback :
Traceback (most recent call last): File "/usr/local/bin/certbot-2.7", line 11, in <module> load_entry_point('certbot==1.6.0', 'console_scripts', 'certbot')() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2443, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python2.7/site-packages/certbot/main.py", line 2, in <module> from certbot._internal import main as internal_main File "/usr/local/lib/python2.7/site-packages/certbot/_internal/main.py", line 21, in <module> from certbot._internal import cert_manager File "/usr/local/lib/python2.7/site-packages/certbot/_internal/cert_manager.py", line 16, in <module> from certbot._internal import storage File "/usr/local/lib/python2.7/site-packages/certbot/_internal/storage.py", line 79, in <module> def add_time_interval(base_time, interval, textparser=parsedatetime.Calendar()): File "/usr/local/lib/python2.7/site-packages/parsedatetime/__init__.py", line 270, in __init__ self.ptc = Constants() File "/usr/local/lib/python2.7/site-packages/parsedatetime/__init__.py", line 2381, in __init__ self.locale = get_icu(self.localeID) File "/usr/local/lib/python2.7/site-packages/parsedatetime/pdt_locales/icu.py", line 56, in get_icu result['icu'] = icu = pyicu.Locale(locale) AttributeError: 'module' object has no attribute 'Locale'
Any help appreciated
Thanks,
Xavier

1 Like

It looks like some feud between python versions.

Do you want to debug this or can I offer you an alternative client?

1 Like

9pepe,
Thanks for your input. It was in fact as mess with python versions : I had two periodic tasks, certbot-2.7 and certbot-3.7. The first fired and failed, while the second is OK
Cheers
Xavier

1 Like