Skip to content

Bug: SEA can't be enabled, due to a JSON decode error #31

Description

@BlenderDefender

Describe the bug
SEA doesn't enable.
Error message:

Traceback (most recent call last):

  File "%APPDATA%\Blender Foundation\Blender\stable\blender-3.5.0-windows-x64\3.5\scripts\modules\addon_utils.py", line 369, in enable

    mod.register()

  File "%APPDATA%\Blender Foundation\Blender\3.5\scripts\addons\SuperEasyAnalytics\__init__.py", line 79, in register

    update_json(PATH)

  File "%APPDATA%\Blender Foundation\Blender\3.5\scripts\addons\SuperEasyAnalytics\functions\main_functions.py", line 310, in update_json

    j = decode_json(path)

  File "%APPDATA%\Blender Foundation\Blender\3.5\scripts\addons\SuperEasyAnalytics\functions\json_functions.py", line 28, in decode_json

    j = json.load(f)

  File "%APPDATA%\Blender Foundation\Blender\stable\blender-3.5.0-windows-x64\3.5\python\lib\json\__init__.py", line 293, in load

    return loads(fp.read(),

  File "%APPDATA%\Blender Foundation\Blender\stable\blender-3.5.0-windows-x64\3.5\python\lib\json\__init__.py", line 346, in loads

    return _default_decoder.decode(s)

  File "%APPDATA%\Blender Foundation\Blender\stable\blender-3.5.0-windows-x64\3.5\python\lib\json\decoder.py", line 337, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

  File "%APPDATA%\Blender Foundation\Blender\stable\blender-3.5.0-windows-x64\3.5\python\lib\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)

System Information (please complete the following information):

  • OS: Windows
  • Blender Version: 3.5
  • Addon Version: 1.2.1

Metadata

Metadata

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions