From unknown Sat Aug 09 04:59:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35808: python-yubikey-manager: ykman crashes Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 20 May 2019 12:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35808 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35808@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155835605312118 (code B ref -1); Mon, 20 May 2019 12:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 May 2019 12:40:53 +0000 Received: from localhost ([127.0.0.1]:36157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hShaw-000397-CZ for submit@debbugs.gnu.org; Mon, 20 May 2019 08:40:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSham-00038X-DH for submit@debbugs.gnu.org; Mon, 20 May 2019 08:40:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:34585) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hShah-0001RH-8r for submit@debbugs.gnu.org; Mon, 20 May 2019 08:40:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hShaf-0007iS-Uc for bug-guix@gnu.org; Mon, 20 May 2019 08:40:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hShae-0001QL-Nl for bug-guix@gnu.org; Mon, 20 May 2019 08:40:29 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hShae-0001Ph-Cx for bug-guix@gnu.org; Mon, 20 May 2019 08:40:28 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1558356008; cv=none; d=zoho.com; s=zohoarc; b=Ya7socD08wMmoce51XBSO/bKtoK6B/8ceCbkL4IctEcQt7/UpfUi12b0e35+l7HxS7cxEU05rKS8TG929mFdnvq+I6rMdBsDUHd63+6MD5HFHXTUgs2UtsxhxpswWoYBzbbJlYq7B2bMNwdjefM0/t/X/wu2IJBHLHuwLGxGDj0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558356008; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=cQuRb01Ch6b8rE3fQJ0a+Rt8zAh0WbaMUSz9Ixn6lmM=; b=SN2hOTGuyY6PpFS94Cy5IlsoEWF9nNtvxdsbM6k73e7EGFLQEcXidz2cPTTAA78M5jekcFUg94r6VP6mLKDG/9OCoGedq+6ibJm5kq0CElI8J/8iECAg7gWYJtJ4+PX0phISS7zGV2kfvIu+xOYki8wGIEx8T8NmM/NTW6wmYEs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1558356008; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; l=3983; bh=cQuRb01Ch6b8rE3fQJ0a+Rt8zAh0WbaMUSz9Ixn6lmM=; b=iJBosddJxZmHZti/eRuDCWQ8q1yZ/jsgL5ijPnJYS4l0bSykHUs3ZsrvMmYJ7ZDD rGWAldwl7aBrJSSb5YLwh92B+0TaP3JMmDjCAQqxpd5DP9LwHw1i96kKUiJkrfpbW6h 1CWK8AjRXrY95SJSn8yBak0/N0rsuCdHugk4oQ9Y= Received: from localhost (141.80.218.143 [141.80.218.143]) by mx.zohomail.com with SMTPS id 1558356007869275.19930130839725; Mon, 20 May 2019 05:40:07 -0700 (PDT) User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 20 May 2019 14:40:04 +0200 Message-ID: <87mujhi9jv.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) I installed python-yubikey-manager and wanted to see a list of all connected keys (one is connected), but instead got this backtrace: --8<---------------cut here---------------start------------->8--- $ ykman list Traceback (most recent call last): File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/bin/.ykman-real", line 11, in load_entry_point('yubikey-manager==2.1.0', 'console_scripts', 'ykman')() File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/cli/__main__.py", line 253, in main cli(obj={}) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/cli/__main__.py", line 213, in list_keys for dev in list_devices(): File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/descriptor.py", line 152, in list_devices for d in _list_drivers(transports): File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/descriptor.py", line 138, in _list_drivers for dev in open_ccid(): File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/driver_ccid.py", line 322, in open_devices readers = list_readers() File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/driver_ccid.py", line 312, in list_readers return System.readers() File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/System.py", line 42, in readers return smartcard.reader.ReaderFactory.ReaderFactory.readers(groups) File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/reader/ReaderFactory.py", line 58, in readers zreaders += fm(groups) File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/pcsc/PCSCReader.py", line 110, in readers hcontext = PCSCContext().getContext() File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/pcsc/PCSCContext.py", line 56, in __init__ self.renewContext() File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/pcsc/PCSCContext.py", line 70, in renewContext PCSCContext.instance = PCSCContext.__PCSCContextSingleton() File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/pcsc/PCSCContext.py", line 40, in __init__ raise EstablishContextException(hresult) smartcard.pcsc.PCSCExceptions.EstablishContextException: 'Failure to establish context: Service not available.' --8<---------------cut here---------------end--------------->8--- -- Ricardo From unknown Sat Aug 09 04:59:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35808: python-yubikey-manager: ykman crashes Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 20 May 2019 21:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35808 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35808@debbugs.gnu.org Received: via spool by 35808-submit@debbugs.gnu.org id=B35808.15583884019564 (code B ref 35808); Mon, 20 May 2019 21:40:02 +0000 Received: (at 35808) by debbugs.gnu.org; 20 May 2019 21:40:01 +0000 Received: from localhost ([127.0.0.1]:38207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSq0k-0002U8-W8 for submit@debbugs.gnu.org; Mon, 20 May 2019 17:39:59 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSq0h-0002Ty-1W for 35808@debbugs.gnu.org; Mon, 20 May 2019 17:39:57 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1558388365; cv=none; d=zoho.com; s=zohoarc; b=Qqxic9fNZyS2FXwVDp+9oSuuWDM0MaiTs8hj+8xbb64ihVktEsxgZlNJlr/uzLI8LQO9FHcRpLwYxxiXMC5O+9zMbKKkmfbhFbSwRG0pxc3OMyp4KCkwq0Co3+jjeiPbBLJYTfdwm9P4KBn3/fqhe40fKmaRFwFMAZP9FI8up4Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558388365; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=qx49Lne4C5jGwm3KYtXgl2zsW6AG0WBJpWmmgwF25Ts=; b=Hj8+HtlOQ5BVuYgYWEnA1Ur8SayS86wNqcBCaJECJkybfIchLKhzBTGMAvt8XQGY2FYO+O9Fve5VHlYXvyEFAnIOti4oh62nBpUBQFlieAAKJMLa89oKpt4YmpqyRsrRWiSJ+q0WxTEjvc7jJRlNjEz3M53Lr7sb1RlsZlmvxx4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1558388365; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=493; bh=qx49Lne4C5jGwm3KYtXgl2zsW6AG0WBJpWmmgwF25Ts=; b=jFWEgKZxzaPTlfzWBNfaZ2AvnY0ZJzlQe6mWSZHg4OwoHt7FijRNQAUg3cD/oJa/ C4EHObnb9dKIH0GLVLUNbmjEe26UbCj0m/w2wWqkVNCQCB0OS6ru0AD/VaT20z0bF0c xbFGl31pF9A4SH82aGf5uA5S1gkDxa/4DzS2tdvc= Received: from localhost (p54AD4DD7.dip0.t-ipconnect.de [84.173.77.215]) by mx.zohomail.com with SMTPS id 1558388364356151.66026686583325; Mon, 20 May 2019 14:39:24 -0700 (PDT) References: <87mujhi9jv.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus In-reply-to: <87mujhi9jv.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 20 May 2019 23:39:20 +0200 Message-ID: <878sv0iz5j.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ricardo Wurmus writes: > I installed python-yubikey-manager and wanted to see a list of all > connected keys (one is connected), but instead got this backtrace: [=E2=80=A6] > smartcard.pcsc.PCSCExceptions.EstablishContextException: 'Failure to esta= blish context: Service not available.' It seems that this is because I didn=E2=80=99t start the pcscd service. I= =E2=80=99ll try to reconfigure my system with (service pcscd-service-type). -- Ricardo From unknown Sat Aug 09 04:59:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#35808: closed (Re: python-yubikey-manager: ykman crashes) Message-ID: References: <874l5oiydg.fsf@elephly.net> <87mujhi9jv.fsf@elephly.net> X-Gnu-PR-Message: they-closed 35808 X-Gnu-PR-Package: guix Reply-To: 35808@debbugs.gnu.org Date: Mon, 20 May 2019 22:13:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1558390382-12853-1" This is a multi-part message in MIME format... ------------=_1558390382-12853-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #35808: python-yubikey-manager: ykman crashes which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 35808@debbugs.gnu.org. --=20 35808: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35808 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1558390382-12853-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 35808-done) by debbugs.gnu.org; 20 May 2019 22:12:12 +0000 Received: from localhost ([127.0.0.1]:38225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSqVt-0003K1-MT for submit@debbugs.gnu.org; Mon, 20 May 2019 18:12:12 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSqVr-0003Jq-5B for 35808-done@debbugs.gnu.org; Mon, 20 May 2019 18:12:08 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1558389374; cv=none; d=zoho.com; s=zohoarc; b=HE957nrrd0dDMADH94UtbygHOw/JklpTu9OX1iNnIdfLS38gEXkriOXa+4o656D2wahU6fAU4E2iGtdScFQTX0ul5W42usbXZl2eDQu3D4EYwDl4I8UThvV13g+7jm74D1+qDUWIg1B6v6ZMCWUAD4A5LD8tGPTtx1nw4oqtYuo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558389374; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=fiNylK7gDCm9um5sW+KuUW1DQASgEYkZ/hOTirt+BqE=; b=HoOgFVdDbbGEIKM7NzFN0zIaNLh7Yqcichr7UBqrO+afIPYYtxLOh9Mrk33a5Z15ohEpCxortIjqcgZZoZjP3OCUk/KZtaD9xUzCw20uuNLsRsr/ftl9F8HVOQDdIjDhtaE8QtE3onQAHTf7e3UceH5fuHmjXL6G6kATR+lm3+8= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1558389374; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=675; bh=fiNylK7gDCm9um5sW+KuUW1DQASgEYkZ/hOTirt+BqE=; b=QOcQI4Q/BL2mQwalN9yyt7Feb7h4+1F8yPum9Wmpww72z4Ec2F6vo09nozTbLhHa 1ZUNukUzGfY29uMyLYdgGbm7BzbzaxlzOth3Fxe4NO/y/24FbA92VdI5v3wJesuL3cs /dzumg5gbTp5zYStZz4pdiZEF86EV36oMF92ZHc0= Received: from localhost (p54AD4DD7.dip0.t-ipconnect.de [84.173.77.215]) by mx.zohomail.com with SMTPS id 1558389374339416.1895801745103; Mon, 20 May 2019 14:56:14 -0700 (PDT) References: <87mujhi9jv.fsf@elephly.net> <878sv0iz5j.fsf@elephly.net> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: 35808-done@debbugs.gnu.org Subject: Re: python-yubikey-manager: ykman crashes In-reply-to: <878sv0iz5j.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 20 May 2019 23:56:11 +0200 Message-ID: <874l5oiydg.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35808-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> I installed python-yubikey-manager and wanted to see a list of all >> connected keys (one is connected), but instead got this backtrace: > [=E2=80=A6] > >> smartcard.pcsc.PCSCExceptions.EstablishContextException: 'Failure to est= ablish context: Service not available.' > > It seems that this is because I didn=E2=80=99t start the pcscd service. = I=E2=80=99ll > try to reconfigure my system with (service pcscd-service-type). This fixed it. It would be nice if ykman would fail gracefully, but that=E2=80=99s an upstream issue. Closing. --=20 Ricardo ------------=_1558390382-12853-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 May 2019 12:40:53 +0000 Received: from localhost ([127.0.0.1]:36157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hShaw-000397-CZ for submit@debbugs.gnu.org; Mon, 20 May 2019 08:40:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSham-00038X-DH for submit@debbugs.gnu.org; Mon, 20 May 2019 08:40:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:34585) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hShah-0001RH-8r for submit@debbugs.gnu.org; Mon, 20 May 2019 08:40:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hShaf-0007iS-Uc for bug-guix@gnu.org; Mon, 20 May 2019 08:40:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hShae-0001QL-Nl for bug-guix@gnu.org; Mon, 20 May 2019 08:40:29 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hShae-0001Ph-Cx for bug-guix@gnu.org; Mon, 20 May 2019 08:40:28 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1558356008; cv=none; d=zoho.com; s=zohoarc; b=Ya7socD08wMmoce51XBSO/bKtoK6B/8ceCbkL4IctEcQt7/UpfUi12b0e35+l7HxS7cxEU05rKS8TG929mFdnvq+I6rMdBsDUHd63+6MD5HFHXTUgs2UtsxhxpswWoYBzbbJlYq7B2bMNwdjefM0/t/X/wu2IJBHLHuwLGxGDj0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558356008; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=cQuRb01Ch6b8rE3fQJ0a+Rt8zAh0WbaMUSz9Ixn6lmM=; b=SN2hOTGuyY6PpFS94Cy5IlsoEWF9nNtvxdsbM6k73e7EGFLQEcXidz2cPTTAA78M5jekcFUg94r6VP6mLKDG/9OCoGedq+6ibJm5kq0CElI8J/8iECAg7gWYJtJ4+PX0phISS7zGV2kfvIu+xOYki8wGIEx8T8NmM/NTW6wmYEs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1558356008; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; l=3983; bh=cQuRb01Ch6b8rE3fQJ0a+Rt8zAh0WbaMUSz9Ixn6lmM=; b=iJBosddJxZmHZti/eRuDCWQ8q1yZ/jsgL5ijPnJYS4l0bSykHUs3ZsrvMmYJ7ZDD rGWAldwl7aBrJSSb5YLwh92B+0TaP3JMmDjCAQqxpd5DP9LwHw1i96kKUiJkrfpbW6h 1CWK8AjRXrY95SJSn8yBak0/N0rsuCdHugk4oQ9Y= Received: from localhost (141.80.218.143 [141.80.218.143]) by mx.zohomail.com with SMTPS id 1558356007869275.19930130839725; Mon, 20 May 2019 05:40:07 -0700 (PDT) User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: python-yubikey-manager: ykman crashes X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 20 May 2019 14:40:04 +0200 Message-ID: <87mujhi9jv.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) I installed python-yubikey-manager and wanted to see a list of all connected keys (one is connected), but instead got this backtrace: --8<---------------cut here---------------start------------->8--- $ ykman list Traceback (most recent call last): File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/bin/.ykman-real", line 11, in load_entry_point('yubikey-manager==2.1.0', 'console_scripts', 'ykman')() File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/cli/__main__.py", line 253, in main cli(obj={}) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/gnu/store/y5jigvqfpdsnxgvgxhj2aiyj8xcsk6nk-python-click-7.0/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/cli/__main__.py", line 213, in list_keys for dev in list_devices(): File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/descriptor.py", line 152, in list_devices for d in _list_drivers(transports): File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/descriptor.py", line 138, in _list_drivers for dev in open_ccid(): File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/driver_ccid.py", line 322, in open_devices readers = list_readers() File "/gnu/store/rnn8dafmhl7flhvdmgn3v67y8zhshp3a-python-yubikey-manager-2.1.0/lib/python3.7/site-packages/ykman/driver_ccid.py", line 312, in list_readers return System.readers() File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/System.py", line 42, in readers return smartcard.reader.ReaderFactory.ReaderFactory.readers(groups) File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/reader/ReaderFactory.py", line 58, in readers zreaders += fm(groups) File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/pcsc/PCSCReader.py", line 110, in readers hcontext = PCSCContext().getContext() File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/pcsc/PCSCContext.py", line 56, in __init__ self.renewContext() File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/pcsc/PCSCContext.py", line 70, in renewContext PCSCContext.instance = PCSCContext.__PCSCContextSingleton() File "/gnu/store/2q87j0qfp3blwvkq9x46514k86dgqi0q-python-pyscard-1.9.8/lib/python3.7/site-packages/smartcard/pcsc/PCSCContext.py", line 40, in __init__ raise EstablishContextException(hresult) smartcard.pcsc.PCSCExceptions.EstablishContextException: 'Failure to establish context: Service not available.' --8<---------------cut here---------------end--------------->8--- -- Ricardo ------------=_1558390382-12853-1--