i did, but again error message.
this is the output of python2 osmo-sim-auth.py -r
00000000000000000000000000000000 -s
Traceback (most recent call last):
File "osmo-sim-auth.py", line 132, in <module>
handle_sim(options, rand_bin)
File "osmo-sim-auth.py", line 67, in handle_sim
s = SIM()
File "/usr/src/osmo-sim-auth/card/SIM.py", line 49, in __init__
ISO7816.__init__(self, CLA=0xA0)
File "/usr/src/osmo-sim-auth/card/ICC.py", line 148, in __init__
cardtype = AnyCardType()
File "/usr/local/lib/python2.7/dist-packages/smartcard/CardType.py",
line 54, in __init__
super().__init__()
TypeError: super() takes at least 1 argument (0 given)
what can i do?
cheers
On 4/18/22 18:28, Tomcsanyi, Domonkos wrote:
Based on the traceback it seems to be a Python2/3
problem so try doing
python2 osmo-sim-auth.py
Cheers,
Domi
> 18.04.2022 dátummal, 18:37 időpontban msfu <msfu666(a)gmail.com> írta:
>
> hello,
>
> i ran into an issue with osmo-sim-auth.
>
> if i try ./osmo-sim-auth.py -r 00000000000000000000000000000000 -s
>
> it says
>
>
> Traceback (most recent call last):
> File "./osmo-sim-auth.py", line 27, in <module>
> from card.USIM import USIM
> File "/usr/src/osmo-sim-auth/card/USIM.py", line 56
> print '[DBG] type definition: %s' % type(self)
> ^
> SyntaxError: invalid syntax
>
>
>
> do you know what the problem is? i think i installed pcsc-lite, pcscd and pyscard and
dependencies.
>
> thank you
>