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

Ben Mehlman ben.mehlman at sweetsams.com
Tue Oct 18 01:58:02 UTC 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?

Thanks
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