Announce two new product: SmartCard Reader Rockey200 and USB2.0 Extension Cable

ROCKEY 200 is a handy and portable USB Smart Card reader that can perform read/write operations on any ISO 7816-1/2/3/4 smart cards which are compatible with protocol T=0 and T=1.

USB2.0 Extension Cable With high speed USB 2.0 devices such as USB token ,USB Card Reader and so on.

Come to try it now!

Come across a problem when running the demo code

pyGlobalPlatform is a open source python library of globalplatform client library.
choimillen
Posts: 29
Joined: Wed Aug 19, 2015 2:55 am
Points: 185
Contact:

Come across a problem when running the demo code

Postby choimillen » Wed Nov 25, 2015 8:46 am

I have copied your demo code from how to use pyGlobalPlatform to upload and install applet to my python editor, and I just changed the CAP file path in the code.
But when I run this demo, it always returns an error.
pyglobalplatform_load_and_install.py:41: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
if ret == -1:


Would you please help me solve the issue ?

User avatar
UNKNwYSHSA
Posts: 628
Joined: Thu May 21, 2015 4:05 am
Points: 2975
Contact:

Re: Come across a problem when running the demo code

Postby UNKNwYSHSA » Thu Nov 26, 2015 12:02 pm

Is there any exception occured when you run the code? Is your readername is correct? card is already in the reader? or other problem?
sense and simplicity

User avatar
JavaCardOS
Posts: 257
Joined: Thu Apr 30, 2015 12:00 pm
Points: 2253
Contact:

Re: Come across a problem when running the demo code

Postby JavaCardOS » Wed Dec 09, 2015 3:17 am

This is a bug, and it will be fixed in the next version.


Return to “pyGlobalPlatform”

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer