Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2023 11:37:38 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        questions <questions@freebsd.org>
Subject:   Broken: certbot after portupgrade
Message-ID:  <CAAdA2WNsAzZ=RNgD1m4v7_hHAbH0KKGe0sBLYovadSnHAHU-cA@mail.gmail.com>
In-Reply-To: <E1pMy8Z-000MhC-2V@svr.fem-international.org>
References:  <E1pMy8Z-000MhC-2V@svr.fem-international.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000967ae005f39f5e02
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I did a 'portupgrade -a' and certbott ended up getting broken.
My Google-fu doesn't seem to point me to a solution,

Any clues on how to fix this will be highly appreciated.


Traceback (most recent call last):
  File "/usr/local/bin/certbot", line 33, in <module>
    sys.exit(load_entry_point('certbot=3D=3D2.2.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.9/importlib/metadata.py", line 86, in load
    module =3D import_module(match.group('module'))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocke=
d
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in
_call_with_frames_removed
  File "/usr/local/lib/python3.9/site-packages/certbot/main.py", line 6, in
<module>
    from certbot._internal import main as internal_main
  File "/usr/local/lib/python3.9/site-packages/certbot/_internal/main.py",
line 19, in <module>
    import josepy as jose
  File "/usr/local/lib/python3.9/site-packages/josepy/__init__.py", line
40, in <module>
    from josepy.json_util import (
  File "/usr/local/lib/python3.9/site-packages/josepy/json_util.py", line
14, in <module>
    from OpenSSL import crypto
  File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.py", line
8, in <module>
    from OpenSSL import SSL, crypto
  File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 19, in
<module>
    from OpenSSL.crypto import (
  File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py", line
3224, in <module>
    utils.deprecated(
TypeError: deprecated() got an unexpected keyword argument 'name'


--=20
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-)

--000000000000967ae005f39f5e02
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I did a &#39;portupgrade -a&#39; and certbott ended up get=
ting broken.<div>My Google-fu doesn&#39;t seem to point me to a solution,</=
div><div><br></div><div>Any clues on how to fix this will be highly appreci=
ated.</div><div><br><div class=3D"gmail_quote"><br></div><div class=3D"gmai=
l_quote">Traceback (most recent call last):<br>
=C2=A0 File &quot;/usr/local/bin/certbot&quot;, line 33, in &lt;module&gt;<=
br>
=C2=A0 =C2=A0 sys.exit(load_entry_point(&#39;certbot=3D=3D2.2.0&#39;, &#39;=
console_scripts&#39;, &#39;certbot&#39;)())<br>
=C2=A0 File &quot;/usr/local/bin/certbot&quot;, line 25, in importlib_load_=
entry_point<br>
=C2=A0 =C2=A0 return next(matches).load()<br>
=C2=A0 File &quot;/usr/local/lib/python3.9/importlib/metadata.py&quot;, lin=
e 86, in load<br>
=C2=A0 =C2=A0 module =3D import_module(match.group(&#39;module&#39;))<br>
=C2=A0 File &quot;/usr/local/lib/python3.9/importlib/__init__.py&quot;, lin=
e 127, in import_module<br>
=C2=A0 =C2=A0 return _bootstrap._gcd_import(name[level:], package, level)<b=
r>
=C2=A0 File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1030, in =
_gcd_import<br>
=C2=A0 File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 1007, in =
_find_and_load<br>
=C2=A0 File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 986, in _=
find_and_load_unlocked<br>
=C2=A0 File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 680, in _=
load_unlocked<br>
=C2=A0 File &quot;&lt;frozen importlib._bootstrap_external&gt;&quot;, line =
850, in exec_module<br>
=C2=A0 File &quot;&lt;frozen importlib._bootstrap&gt;&quot;, line 228, in _=
call_with_frames_removed<br>
=C2=A0 File &quot;/usr/local/lib/python3.9/site-packages/certbot/main.py&qu=
ot;, line 6, in &lt;module&gt;<br>
=C2=A0 =C2=A0 from certbot._internal import main as internal_main<br>
=C2=A0 File &quot;/usr/local/lib/python3.9/site-packages/certbot/_internal/=
main.py&quot;, line 19, in &lt;module&gt;<br>
=C2=A0 =C2=A0 import josepy as jose<br>
=C2=A0 File &quot;/usr/local/lib/python3.9/site-packages/josepy/__init__.py=
&quot;, line 40, in &lt;module&gt;<br>
=C2=A0 =C2=A0 from josepy.json_util import (<br>
=C2=A0 File &quot;/usr/local/lib/python3.9/site-packages/josepy/json_util.p=
y&quot;, line 14, in &lt;module&gt;<br>
=C2=A0 =C2=A0 from OpenSSL import crypto<br>
=C2=A0 File &quot;/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.p=
y&quot;, line 8, in &lt;module&gt;<br>
=C2=A0 =C2=A0 from OpenSSL import SSL, crypto<br>
=C2=A0 File &quot;/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py&quo=
t;, line 19, in &lt;module&gt;<br>
=C2=A0 =C2=A0 from OpenSSL.crypto import (<br>
=C2=A0 File &quot;/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py&=
quot;, line 3224, in &lt;module&gt;<br>
=C2=A0 =C2=A0 utils.deprecated(<br>
TypeError: deprecated() got an unexpected keyword argument &#39;name&#39;<b=
r>
</div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr" class=3D"gma=
il_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div dir=
=3D"ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7=
 3200 0004/+254 7 2274 3223<br>&quot;<span style=3D"font-size:12.8px">Oh, t=
he cruft.</span><span style=3D"font-size:12.8px">&quot;,=C2=A0</span><span =
style=3D"font-size:12.8px">egrep -v &#39;^$|^.*#&#39;=C2=A0</span><span sty=
le=3D"background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:&qu=
ot;Lucida Console&quot;,Consolas,&quot;Courier New&quot;,monospace;font-siz=
e:13.6px">=C2=AF\_(=E3=83=84)_/=C2=AF</span><span style=3D"font-size:12.8px=
">=C2=A0:-)</span></div></div></div></div></div></div>

--000000000000967ae005f39f5e02--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WNsAzZ=RNgD1m4v7_hHAbH0KKGe0sBLYovadSnHAHU-cA>