[Pcsclite-muscle] How to recover from momentary loss of pcscd connection in psycard.

Ben Mehlman ben.mehlman
Mon Oct 17 18:58:02 PDT 2016

Using the higher level classes of pyscard (CardRequest, CardService).. if
pcscd is shut down temporarily, it results in a ListReadersException.  I
would like to catch this exception, retry, and recover from it when pcscd
becomes available again.

I tried recreating the CardRequest but that wasn't sufficient to recreate
the connection to pcscd.
Is there a correct way to handle this?

Ben Mehlman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20161017/ec830728/attachment.html>

More information about the pcsclite-muscle mailing list