italia/cie-nis-python-sdk

main-py error

danieldemari opened this issue · 3 comments

Hi,
i tried to read a card CIE 3 with main.py function, just for test
system cannot access data.

Im using a utrust 3700 f reader

this is what i get

image

I had the same problem on Windows! I then tried on the Mac and finally it worked. However: 1) only worked with python3 command, 2) there seems to be a bug in the progress bar code so I eliminated it and 4) I got rid of that silly code to hide characters.

Firstly, in your screenshot, you need to edit main.py and replace the 'YYMMDD', 'YYMMDD', '*********' with actual information. They should have put a comment there. So, if you put your birthdate, expiry date, and card number (the one that starts with CA) it should give you the data.

The whole process is rather slow but I don't know if that's NFC's fault or the code.

Hey @fdanna, may I suggest taking a look at https://www.w3schools.com/python/python_lists_comprehension.asp if you find the code to hide characters "silly"? 😊

I wasn’t criticizing the programmer. I just find hiding characters from the person who is viewing the information, especially with card in hand, to be a waste of time.