From nobody Sun Mar 31 09:32:05 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V6ppN6mj1z5Fbxl for ; Sun, 31 Mar 2024 09:32:44 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V6ppN1B0xz46Jd for ; Sun, 31 Mar 2024 09:32:44 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=H6jJXh40; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2607:f8b0:4864:20::32d as permitted sender) smtp.mailfrom=odhiambo@gmail.com Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6e6b582d266so1937691a34.3 for ; Sun, 31 Mar 2024 02:32:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711877563; x=1712482363; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=YWdRbD9Uc7zpJZEDjkRH+6bO+kvyfeoFXuvIk61QGUQ=; b=H6jJXh40raF5pUBYl6gyXYSRwfpZPDP/SjS8QlSaKPVhOJ7I6wC5t5OefUnwcYM19S 2Xew88gLuI+5l1lMwi/Pbeuq3vCgtwnR7b8mn2hUtcteJ93Rm5L58cOOjmwYMsdslvJQ qwhannwqAxLe0I/RdRF1dH+EzAh5ondC5hQoNdDEHmR21dsFWIY/RMs3feNrORU7LmRA QphBZmzrhdRIOHZRqzPRHj4IFi+mRkuMOCSrWPU+T6Ob9zy4jhsIWs+oChNfsiWU/3/I tNZSqQD9eCHmyqlQR+1MYMjphvZuM3R9isPPjjkXUKj29hiaIQkgql+3OBwm7b/JaxQW dhsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711877563; x=1712482363; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YWdRbD9Uc7zpJZEDjkRH+6bO+kvyfeoFXuvIk61QGUQ=; b=PDyZvDYRsqN4HjNgW/n1kQ5sCoiyuE+/dKj+h9m4ryu7zZXmDbbZXPuLVE+eYxLipU Ao2bL1ajifdx6MrUGNPoBjhVlUZdBEbnONQc/xTyQnidCeFzW/fswwK/UCqaGL0ifkrO NeC2hLdubkM8dDVdp/Yxa5A/XMbWxb0fIE1cyjFUvlSrp6eWlVSuAZBofLfn1+TmK+8+ 0rQEXGmM9yzVG1tG8hVT/RPd9Rw/HnTi0cBxEf+fRStfrzW9sjm9QdZ8b1+ATjwCwnHc 9HzyWjZ0UqVLzTowwmeVS3wddcbJ5aq0W96zG1/4youD6eUlHRpzaksBiss1bty9Ak3W q2Mw== X-Gm-Message-State: AOJu0YxjnFWOzLtW+3/AOx093Fw1huGdBt3Ufd39hYYJHnD/fqgofHUw HzvPyb4q3MDSudi0W4hxBidnjOJjFhCVPgmC1VF6n4ycpOwBCEzn/gHG+YF3vpxXDUW+ncor3vR O1SQWawRpOoG8qPpDNiT8ReMhFEB5lUYze3vfBSmy X-Google-Smtp-Source: AGHT+IGXFtgMnbFCebNz9cmYqMcbO94LQcUaZH1QBJEthNsousCBOpLbnYfD7YY/+hvodyOfXD/boW5eu8dI/P0qU0k= X-Received: by 2002:a05:6830:1bc3:b0:6e6:c48c:1010 with SMTP id v3-20020a0568301bc300b006e6c48c1010mr7571838ota.22.1711877562646; Sun, 31 Mar 2024 02:32:42 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Sun, 31 Mar 2024 12:32:05 +0300 Message-ID: Subject: Re: certbot fails after portupgrade - SOLVED To: questions Content-Type: multipart/alternative; boundary="0000000000000547eb0614f18e36" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.50)[-0.497]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32d:from] X-Rspamd-Queue-Id: 4V6ppN1B0xz46Jd --0000000000000547eb0614f18e36 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 31, 2024 at 11:15=E2=80=AFAM Odhiambo Washington wrote: > I did portupgrade -a. > This has left me with a non-functional certbot. > How can I fix this? > > root@gw:/usr/ports/security/py-certbot # *certbot renew* > Traceback (most recent call last): > File "/usr/local/bin/certbot", line 33, in > sys.exit(load_entry_point('certbot=3D=3D2.9.0', 'console_scripts', > 'certbot')()) > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/local/bin/certbot", line 25, in importlib_load_entry_point > return next(matches).load() > ^^^^^^^^^^^^^^^^^^^^ > File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line > 202, in load > module =3D import_module(match.group('module')) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in > import_module > return _bootstrap._gcd_import(name[level:], package, level) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "", line 1204, in _gcd_import > File "", line 1176, in _find_and_load > File "", line 1147, in > _find_and_load_unlocked > File "", line 690, in _load_unlocked > File "", line 940, in exec_module > File "", line 241, in > _call_with_frames_removed > File "/usr/local/lib/python3.11/site-packages/certbot/main.py", line 6, > in > from certbot._internal import main as internal_main > File > "/usr/local/lib/python3.11/site-packages/certbot/_internal/main.py", line > 34, in > from certbot._internal import cert_manager > File > "/usr/local/lib/python3.11/site-packages/certbot/_internal/cert_manager.p= y", > line 22, in > from certbot._internal import storage > File > "/usr/local/lib/python3.11/site-packages/certbot/_internal/storage.py", > line 98, in > textparser: parsedatetime.Calendar =3D parsedatetime.Calendar() > ^^^^^^^^^^^^^^^^^^^^^^^^ > File > "/usr/local/lib/python3.11/site-packages/parsedatetime/__init__.py", line > 270, in __init__ > self.ptc =3D Constants() > ^^^^^^^^^^^ > File > "/usr/local/lib/python3.11/site-packages/parsedatetime/__init__.py", line > 2381, in __init__ > self.locale =3D get_icu(self.localeID) > ^^^^^^^^^^^^^^^^^^^^^^ > File > "/usr/local/lib/python3.11/site-packages/parsedatetime/pdt_locales/icu.py= ", > line 62, in get_icu > rbnf =3D pyicu.RuleBasedNumberFormat(pyicu.URBNFRuleSetTag.SPELLOUT, = icu) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^ > icu.ICUError: The requested resource cannot be found, error code: 2 > So Uncle Google helped figure out that installing devel/py-pyicu would solve this problem. Why this is not linked to security/py-certbot as a dependency is what beats me. --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --0000000000000547eb0614f18e36 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Mar 31, 2024 at 11:15=E2=80= =AFAM Odhiambo Washington <odhiamb= o@gmail.com> wrote:
I did portupgrade -a.
This has left me with= a non-functional certbot.
How can I fix this?

root@gw:/usr/ports/security/py-certbot # certbot renew
Tra= ceback (most recent call last):
=C2=A0 File "/usr/local/bin/certbot= ", line 33, in <module>
=C2=A0 =C2=A0 sys.exit(load_entry_poi= nt('certbot=3D=3D2.9.0', 'console_scripts', 'certbot= 9;)())
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
=C2=A0 File "/usr/l= ocal/bin/certbot", line 25, in importlib_load_entry_point
=C2=A0 = =C2=A0 return next(matches).load()
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0^^^^^^^^^^^^^^^^^^^^
=C2=A0 File "/usr/local/lib/python3.11/i= mportlib/metadata/__init__.py", line 202, in load
=C2=A0 =C2=A0 mod= ule =3D import_module(match.group('module'))
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
=C2= =A0 File "/usr/local/lib/python3.11/importlib/__init__.py", line = 126, in import_module
=C2=A0 =C2=A0 return _bootstrap._gcd_import(name[l= evel:], package, level)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
=C2=A0 File "<froz= en importlib._bootstrap>", line 1204, in _gcd_import
=C2=A0 File= "<frozen importlib._bootstrap>", line 1176, in _find_and_l= oad
=C2=A0 File "<frozen importlib._bootstrap>", line 11= 47, in _find_and_load_unlocked
=C2=A0 File "<frozen importlib._b= ootstrap>", line 690, in _load_unlocked
=C2=A0 File "<fr= ozen importlib._bootstrap_external>", line 940, in exec_module
= =C2=A0 File "<frozen importlib._bootstrap>", line 241, in _= call_with_frames_removed
=C2=A0 File "/usr/local/lib/python3.11/sit= e-packages/certbot/main.py", line 6, in <module>
=C2=A0 =C2= =A0 from certbot._internal import main as internal_main
=C2=A0 File &quo= t;/usr/local/lib/python3.11/site-packages/certbot/_internal/main.py", = line 34, in <module>
=C2=A0 =C2=A0 from certbot._internal import c= ert_manager
=C2=A0 File "/usr/local/lib/python3.11/site-packages/ce= rtbot/_internal/cert_manager.py", line 22, in <module>
=C2=A0= =C2=A0 from certbot._internal import storage
=C2=A0 File "/usr/loc= al/lib/python3.11/site-packages/certbot/_internal/storage.py", line 98= , in <module>
=C2=A0 =C2=A0 textparser: parsedatetime.Calendar =3D= parsedatetime.Calendar()
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^^^^^^^^^^^^^^^^
=C2=A0 File "/u= sr/local/lib/python3.11/site-packages/parsedatetime/__init__.py", line= 270, in __init__
=C2=A0 =C2=A0 self.ptc =3D Constants()
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^^^
=C2=A0 File &qu= ot;/usr/local/lib/python3.11/site-packages/parsedatetime/__init__.py",= line 2381, in __init__
=C2=A0 =C2=A0 self.locale =3D get_icu(self.local= eID)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^^^^= ^^^^^^^^^^^^^^^^^^
=C2=A0 File "/usr/local/lib/python3.11/site-pack= ages/parsedatetime/pdt_locales/icu.py", line 62, in get_icu
=C2=A0 = =C2=A0 rbnf =3D pyicu.RuleBasedNumberFormat(pyicu.URBNFRuleSetTag.SPELLOUT,= icu)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
icu.ICUError: The requested reso= urce cannot be found, error code: 2
=

So Uncle Google helped figure out that installing=C2= =A0devel/py-pyicu would solve this problem.
Why this is not linked to s= ecurity/py-certbot as a dependency is what beats me.
=
--
Best = regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2= 274 3223
=C2=A0In=C2=A0an Internet failure case, the #1 suspe= ct is a constant: DNS.
"Oh,= the cruft.",=C2=A0egrep -v '^$|^.*#'=C2=A0
=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask= smart questions:=C2=A0http:/= /www.catb.org/~esr/faqs/smart-questions.html]
<= /div>
--0000000000000547eb0614f18e36--