Hi all,
Just wanted to share an issue and a quick workaround I found for it in case
anyone else has the same problem. I believe a cmd2 update is causing
pySim-shell to fail. After installing it on a fresh install of Ubuntu
Server 20.04 and getting the following error when I run "python3
pySim-shell -p0":
Using PC/SC reader interface
Autodetected card type: sysmoUSIM-SJS1
AIDs on card:
USIM: a0000000871002ffffffff8907090000
Traceback (most recent call last):
File "pySim-shell.py", line 512, in <module>
app = PysimApp(card, rs, opts.script)
File "pySim-shell.py", line 59, in __init__
super().__init__(persistent_history_file='~/.pysim_shell_history',
allow_cli_args=False, use_ipython=True, auto_load_commands=False,
command_sets=basic_commands, >startup_script=script)
TypeError: __init__() got an unexpected keyword
argument 'use_ipython'
If you run into this you can fix it by uninstalling cmd2 and reinstalling
cmd2 with "pip3 install cmd2==1.5".
Best,
Bryan