[srslte-users] Having difficulties on SIMcard configuration using pySim

Nehemiah Chan nehemiahchan1999 at gmail.com
Fri Jun 7 03:43:06 UTC 2019


Hi everyone,

I am currently facing some difficulty on configuring using the
pySim-prog.py command although it does display  . I am using sysmocom USIM
SJS1.

However, after configuring the updated parameters like ICCID, IMSI (of my
own choice) etc. It does not display Done! instead it display the error
below.

If anyone who has encountered this issue, can you advise me to deal with
this error?
Thanks in advance.

Programming ...
Traceback (most recent call last):
  File "./pySim-prog.py", line 644, in <module>
    card.program(cp)
  File "/home/pi/pysim/pySim/cards.py", line 594, in program
    sw = self.update_plmnsel(p['mcc'], p['mnc'])
  File "/home/pi/pysim/pySim/cards.py", line 111, in update_plmnsel
    data = self._scc.read_binary(EF['PLMNsel'], length=None, offset=0)
  File "/home/pi/pysim/pySim/commands.py", line 113, in read_binary
    length = self.__len(r) - offset
  File "/home/pi/pysim/pySim/commands.py", line 80, in __len
    return self.__get_len_from_tlv(r[-1])
  File "/home/pi/pysim/pySim/commands.py", line 37, in __get_len_from_tlv
    from pytlv.TLV import TLV
ImportError: No module named pytlv.TLV

Best Regards,
Nehemiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20190607/081a8363/attachment.htm>


More information about the srsran-users mailing list