Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid \escape: line 4 column 31 (char 206) #39

Closed
L4UR3NS opened this issue Feb 2, 2024 · 1 comment
Closed

Invalid \escape: line 4 column 31 (char 206) #39

L4UR3NS opened this issue Feb 2, 2024 · 1 comment

Comments

@L4UR3NS
Copy link

L4UR3NS commented Feb 2, 2024

Hello,

I am getting the following error message:

C:\Users\USERNAME\Downloads\TvTimeToTrakt-main>python TimeToTrakt.py
Traceback (most recent call last):
File "C:\Users\USERNAME\Downloads\TvTimeToTrakt-main\TimeToTrakt.py", line 65, in
config = get_configuration()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\USERNAME\Downloads\TvTimeToTrakt-main\TimeToTrakt.py", line 47, in get_configuration
data = json.load(f)
^^^^^^^^^^^^
File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python312\Lib\json_init_.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python312\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python312\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\USERNAME\AppData\Local\Programs\Python\Python312\Lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Invalid \escape: line 4 column 31 (char 206)

@L4UR3NS
Copy link
Author

L4UR3NS commented Feb 2, 2024

Solved by changing all back slashes in the config.json GDPR_WORKSPACE_PATH to forward slashes

@L4UR3NS L4UR3NS closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant