0

I am configuring my robot framework on a project level and am trying to enter my project file location as the pythonpath. Next to the field is this text: Entries to be added to the PYTHONPATH (used when resolving resources and imports and automatically passed to the launch config as --pythonpath entries). (i.e.: ["c:/my/pro/src"]) Note: expected format: JSON Array

the location I am putting in the field is this: ["C:\Users(myname)\PycharmProjects\test-framework"]

I'm getting this error: com.google.gson.JsonSyntaxException: coml.google.gson.stream.MalformedJsonException:Invalid escape sequence at line 1 column 7 path $[0]

What am I doing wrong?

3
  • What happens if you double-up the backslashes, i.e.: ["C:\\Users(myname)\\PycharmProjects\\test-framework"]? Commented Feb 13 at 17:19
  • it accepted it that way! however I am immediately getting an error in my .robot file saying that robot framework is not installed in my venv. does that mean it accepted it but it still didn't work? Commented Feb 13 at 18:17
  • Yes. You've now found a different problem. Looks like this might be a solution: stackoverflow.com/questions/69697863/… Commented Feb 13 at 18:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.