From nobody Wed Feb 1 08:37:38 2023 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 4P6FgH0q37z3bLSl for <questions@mlmmj.nyi.freebsd.org>; Wed, 1 Feb 2023 08:38:19 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (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 4P6FgG34Trz3P6T for <questions@freebsd.org>; Wed, 1 Feb 2023 08:38:18 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=OgGMTx1c; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2a00:1450:4864:20::230 as permitted sender) smtp.mailfrom=odhiambo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x230.google.com with SMTP id y19so18591605ljq.7 for <questions@freebsd.org>; Wed, 01 Feb 2023 00:38:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=tHoYYnkcXG6QDNQK8TTauWAU9T/ParknwC8Kl1P7bOk=; b=OgGMTx1c9HQ4Ap95qI0jh5ewydRVnOtCEcwrJUz6zF2f9bt2J8HZE57TpvbaVATjFB 9FdM1oGamwZZvQFt/G0icCdtPkmrohxxLo+7Eb/XvqyVCEuR0GRPBB90hO0OedoWosm4 5Hft1JuJdAGXuH40W6BUFTxxkii98E3PeKrFIpSE8OKsU1r3qj3Se5JE0A9APJgnx5rz bdoHdvy9Vx6y4y2XksV9mxxcLiFZWVcO0VQ1opB/WXh7hK26rQktVA3nrach95CyMQL5 BHFyZshdtIU86kjko3jnLn5H+shkklD8CAWm4Ulzf8exYF1eieJ9wpC4P9TwVTWRdMRx xRug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=tHoYYnkcXG6QDNQK8TTauWAU9T/ParknwC8Kl1P7bOk=; b=xGt/XRo7aSqLr4QnhhibPPXbn50ijxh/rXgnxI8ed3J/tK+7QWYclheWWtWxZBKIm6 GoF97cgT4d0F1BKoukauCDpFipv9jNgMMxb19pRE0aXgyYGAz2yTMyopp+E1piLdsVV/ FG7YBYR8V0p75BE0vhIQkf4e7iKvuJqJv6FE95Tn6UyVESWTi9rryZAs94z4DoLLtzZQ Um106gtXrvXdG3czn5MAbHt9Q0jk0aRHKY4Al8Vap/VQtk2ZoiFnA16yHzPadwDhh3Gs sxofMmCbBQtDmh0M7OV+qDY6dGKi0GB620SERNAzua+GQj62COlS93CHEebceG6KgIKe /uPA== X-Gm-Message-State: AO0yUKU+JY4d12cY6KNfQ7DFA6stMZU0QeGzdkxDcPiRhNUsgLYrOWsS mv2Qt67RglQKjLb5MnYwfRH+CKEa3XBs26YpNiPLpojtcIDeE8Oe X-Google-Smtp-Source: AK7set8C4PCWaO17a6GeOlAUKZlRl3ldxcJ1z7YURYMHGlRz42JSlSCwgYDGOcKddMKkZk0GiiAMORLLomPyJUXYuGY= X-Received: by 2002:a2e:8e2e:0:b0:28e:6e21:fcc1 with SMTP id r14-20020a2e8e2e000000b0028e6e21fcc1mr210805ljk.152.1675240695821; Wed, 01 Feb 2023 00:38:15 -0800 (PST) List-Id: User questions <freebsd-questions.freebsd.org> List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: <mailto:questions+help@freebsd.org> List-Post: <mailto:questions@freebsd.org> List-Subscribe: <mailto:questions+subscribe@freebsd.org> List-Unsubscribe: <mailto:questions+unsubscribe@freebsd.org> Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <E1pMy8Z-000MhC-2V@svr.fem-international.org> In-Reply-To: <E1pMy8Z-000MhC-2V@svr.fem-international.org> From: Odhiambo Washington <odhiambo@gmail.com> Date: Wed, 1 Feb 2023 11:37:38 +0300 Message-ID: <CAAdA2WNsAzZ=RNgD1m4v7_hHAbH0KKGe0sBLYovadSnHAHU-cA@mail.gmail.com> Subject: Broken: certbot after portupgrade To: questions <questions@freebsd.org> Content-Type: multipart/alternative; boundary="000000000000967ae005f39f5e02" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::230:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4P6FgG34Trz3P6T X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --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 'portupgrade -a' and certbott ended up get= ting broken.<div>My Google-fu doesn'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 "/usr/local/bin/certbot", line 33, in <module><= br> =C2=A0 =C2=A0 sys.exit(load_entry_point('certbot=3D=3D2.2.0', '= console_scripts', 'certbot')())<br> =C2=A0 File "/usr/local/bin/certbot", line 25, in importlib_load_= entry_point<br> =C2=A0 =C2=A0 return next(matches).load()<br> =C2=A0 File "/usr/local/lib/python3.9/importlib/metadata.py", lin= e 86, in load<br> =C2=A0 =C2=A0 module =3D import_module(match.group('module'))<br> =C2=A0 File "/usr/local/lib/python3.9/importlib/__init__.py", lin= e 127, in import_module<br> =C2=A0 =C2=A0 return _bootstrap._gcd_import(name[level:], package, level)<b= r> =C2=A0 File "<frozen importlib._bootstrap>", line 1030, in = _gcd_import<br> =C2=A0 File "<frozen importlib._bootstrap>", line 1007, in = _find_and_load<br> =C2=A0 File "<frozen importlib._bootstrap>", line 986, in _= find_and_load_unlocked<br> =C2=A0 File "<frozen importlib._bootstrap>", line 680, in _= load_unlocked<br> =C2=A0 File "<frozen importlib._bootstrap_external>", line = 850, in exec_module<br> =C2=A0 File "<frozen importlib._bootstrap>", line 228, in _= call_with_frames_removed<br> =C2=A0 File "/usr/local/lib/python3.9/site-packages/certbot/main.py&qu= ot;, line 6, in <module><br> =C2=A0 =C2=A0 from certbot._internal import main as internal_main<br> =C2=A0 File "/usr/local/lib/python3.9/site-packages/certbot/_internal/= main.py", line 19, in <module><br> =C2=A0 =C2=A0 import josepy as jose<br> =C2=A0 File "/usr/local/lib/python3.9/site-packages/josepy/__init__.py= ", line 40, in <module><br> =C2=A0 =C2=A0 from josepy.json_util import (<br> =C2=A0 File "/usr/local/lib/python3.9/site-packages/josepy/json_util.p= y", line 14, in <module><br> =C2=A0 =C2=A0 from OpenSSL import crypto<br> =C2=A0 File "/usr/local/lib/python3.9/site-packages/OpenSSL/__init__.p= y", line 8, in <module><br> =C2=A0 =C2=A0 from OpenSSL import SSL, crypto<br> =C2=A0 File "/usr/local/lib/python3.9/site-packages/OpenSSL/SSL.py&quo= t;, line 19, in <module><br> =C2=A0 =C2=A0 from OpenSSL.crypto import (<br> =C2=A0 File "/usr/local/lib/python3.9/site-packages/OpenSSL/crypto.py&= quot;, line 3224, in <module><br> =C2=A0 =C2=A0 utils.deprecated(<br> TypeError: deprecated() got an unexpected keyword argument 'name'<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>"<span style=3D"font-size:12.8px">Oh, t= he cruft.</span><span style=3D"font-size:12.8px">",=C2=A0</span><span = style=3D"font-size:12.8px">egrep -v '^$|^.*#'=C2=A0</span><span sty= le=3D"background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:&qu= ot;Lucida Console",Consolas,"Courier New",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--