Project

General

Profile

Actions

Bug #6073

closed

Error with update_binary_decoded

Added by vlad about 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
06/23/2023
Due date:
% Done:

80%

Spec Reference:

Description

When I execute update_binary_decoded an error occurs:

pySIM-shell (MF/ADF.ISIM/EF.DOMAIN)> update_binary_decoded --json-path domain ims.mnc099.mcc999.3gppnetwork.org
Traceback (most recent call last):
  File "/root/.local/lib/python3.10/site-packages/cmd2/cmd2.py", line 2399, in onecmd_plus_hooks
    stop = self.onecmd(statement, add_to_history=add_to_history)
  File "/root/.local/lib/python3.10/site-packages/cmd2/cmd2.py", line 2852, in onecmd
    stop = func(statement)
  File "/root/.local/lib/python3.10/site-packages/cmd2/decorators.py", line 382, in cmd_wrapper
    return func(*args_list, **kwargs)  # type: ignore[call-arg]
  File "/home/zhuravlev-v/pysim/pySim/filesystem.py", line 636, in do_update_binary_decoded
    json.loads(opts.data))
  File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
EXCEPTION of type 'JSONDecodeError' occurred with message: Expecting value: line 1 column 1 (char 0)


Related issues

Related to pySim - Bug #6072: Error with edit_binary_decodedResolvedlaforge06/23/2023

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)