Hey,

have you tried also with python3?

does pcscd_scan does detect the card when you insert it?


Cheers

Bjoern


Von: bhogendra.rao@gmail.com <bhogendra.rao@gmail.com>
Gesendet: Freitag, 3. Februar 2023 12:25:38
An: openbsc@lists.osmocom.org
Betreff: Card initialization failed with exception
 
Hi all

I am new bee into pysim and python too. I have successfully installed all dependenceis and my code start running. I was too delighted and connected my card reader and ran the following command

$python4 pySim-read.py -p 0

and the responce is like below.

qt5ct: using qt5ct plugin
Using PC/SC reader interface
Card reader initialization failed with exception:


Exception was not showing any reason for failure but an empty string.
Can someone please help me