How to recover from momentary loss of pcscd connection in psycard.

Ben Mehlman <[email protected]> Mon, 17 Oct 2016 21:58:02 -0400
Newsgroups gmane.comp.lib.muscle
Message-ID <CAPYaE7cyuTjtHK_eP6bafQhg57MU_tz-G1BPOKt44bySYSCJaA@mail.gmail.com>
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

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle