Menu

#5 Error on SCardEstablishContext - 2

v1.0 (example)
closed
None
5
2015-07-28
2015-07-22
No

Hello, I don't know if this kind of delay is normal (if so, I apologize), but it has been more than a week and I received no reponse regarding my problem, therefore I'm duplicating(below) my ticket but with a new owner.

Hello, I'm trying to use pyscard by running some code samples, but right at the beggining, when trying to establish a context, the program crashes due an unidentified error code, as showed below.
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

from smartcard.scard import *
hresult, hcontext = SCardEstablishContext(SCARD_SCOPE_USER)
hresult
-855572480L
hex(hresult)
'-0x32ff0000L'

I don't know what the problem might be, since the value of hresult is not a listed SCARDRETCODE.
It would be of great help if somebody could look into it.
Best Regards,
Emiliano Leite.

Discussion

  • Ludovic Rousseau

    Sometimes people are on vacation.

    It is free software, not free support.

     
  • Ludovic Rousseau

    • status: open --> closed
    • assigned_to: Ludovic Rousseau
     

Log in to post a comment.