Crash of certbot on FreeBSD

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/", 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/", line 2852, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/site-packages/pkg_resources/", line 2443, in load return self.resolve() File "/usr/local/lib/python2.7/site-packages/pkg_resources/", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python2.7/site-packages/certbot/", line 2, in <module> from certbot._internal import main as internal_main File "/usr/local/lib/python2.7/site-packages/certbot/_internal/", line 21, in <module> from certbot._internal import cert_manager File "/usr/local/lib/python2.7/site-packages/certbot/_internal/", line 16, in <module> from certbot._internal import storage File "/usr/local/lib/python2.7/site-packages/certbot/_internal/", line 79, in <module> def add_time_interval(base_time, interval, textparser=parsedatetime.Calendar()): File "/usr/local/lib/python2.7/site-packages/parsedatetime/", line 270, in __init__ self.ptc = Constants() File "/usr/local/lib/python2.7/site-packages/parsedatetime/", line 2381, in __init__ self.locale = get_icu(self.localeID) File "/usr/local/lib/python2.7/site-packages/parsedatetime/pdt_locales/", line 56, in get_icu result['icu'] = icu = pyicu.Locale(locale) AttributeError: 'module' object has no attribute 'Locale'
Any help appreciated

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

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


this worked for me -

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.