Page 1 of 1

Come across a problem when running the demo code

Posted: Wed Nov 25, 2015 8:46 am
by choimillen
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 ?

Re: Come across a problem when running the demo code

Posted: Thu Nov 26, 2015 12:02 pm
by UNKNwYSHSA
Is there any exception occured when you run the code? Is your readername is correct? card is already in the reader? or other problem?

Re: Come across a problem when running the demo code

Posted: Wed Dec 09, 2015 3:17 am
by JavaCardOS
This is a bug, and it will be fixed in the next version.