AppOpener icon indicating copy to clipboard operation
AppOpener copied to clipboard

JSONDecodeError

Open navtekula opened this issue 1 year ago • 0 comments

I am getting this error when I am trying to get the list of apps using give_appnames() :

data_read = json.load(data_file_read)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\json\__init__.py", line 293, in load    return loads(fp.read(),
          ^^^^^^^^^^^^^^^^
 File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\json\__init__.py", line 346, in loads
   return _default_decoder.decode(s)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 337, in decode
   obj, end = self.raw_decode(s, idx=_w(s, 0).end())
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 353, in raw_decode
   obj, end = self.scan_once(s, idx)
              ^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 127 column 53 (char 10583)

navtekula avatar Dec 18 '24 15:12 navtekula