LOUDO56/PyMacroRecord

Closed it with task manager, wont start after that.

Closed this issue · 3 comments

Traceback (most recent call last):
File "global_function.py", line 53, in loadRecord
return load(open(path.join(userSettingsPath)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "json_init_.py", line 293, in load
File "json_init_.py", line 346, in loads
File "json\decoder.py", line 340, in decode
json.decoder.JSONDecodeError: Extra data: line 42 column 1 (char 818)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "software.py", line 130, in
File "global_function.py", line 56, in loadRecord
return load(open(path.join(userSettingsPath)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "json_init_.py", line 293, in load
File "json_init_.py", line 346, in loads
File "json\decoder.py", line 340, in decode
json.decoder.JSONDecodeError: Extra data: line 42 column 1 (char 818)

Hello, what OS do you use?

Windows 11

This bug is weird, I took some time to find the issue but I found it, i'll fix it in the next update.
So to fix it for now go to Appdata folder windows + r then type Appdata, then go to Local/PyMacroRecord. Open userSettings.json and remove the extra } at the end of the file.
This should fix the problem.