Error robot.get version

I am getting an error in my robot framework script in the settings part can someone help me

Hello,

Welcome to the forum!

Hard to say without the stack trace. Can you provide further context such as:

Where in the settings does the error occur?
Maybe you use a self written library that does not follow best practice.

When does the error occur? During execution or just when viewing the script in editor?
Maybe you have a self written library that uses robot-api, but when instantiating the library for auto-completion in VSCode, robot is not running, thus cannot return a version

Which extension do you use?
If you use Robot Framework Language Server from RoboCop/Sema4.ai that one is unmaintained and does not support Robot Framework 7 . Please use another extension, I recommend https://robotcode.io

Kind regards,
Markus

1 Like