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

PyCharm run configuration is missing env vars defined in plugin settings #548

Closed
NikitaOstr opened this issue Jan 25, 2022 · 1 comment
Closed
Labels
bug Something isn't working robotframework-ls

Comments

@NikitaOstr
Copy link

Describe the bug
Resource and libraries in my project are used with variables, like '${VAR}/folder/file.robot'. To make it working those variables are defined in json format in proper settings of the plugin. No issue with browsing the code or keyword linking/definition.
After configuring 'run configuration' with target, arguments and working directory - run failed with error 'Replacing variables from setting 'Resource' failed: Variable '${VAR}' not found.'

To Reproduce
Steps to reproduce the behavior:

  1. Use variable in path for resource/library file, defined in proper plugin setting (seetings -> languages & frameworks -> robot framework -> variables)
  2. Configure 'run configuration' with target, argument and working directory
  3. Run this just created configuration

Expected behavior
The variables will be resolved as they are done within project window

Versions:

  • OS:Windows 10
  • Robot Framework Version: 4.1.3
  • Robot Framework Language Server Version: 0.37
  • Client Version: PyCharm 2021.3.1
@NikitaOstr NikitaOstr added bug Something isn't working robotframework-ls labels Jan 25, 2022
@fabioz fabioz closed this as completed in 5221a9f Jan 25, 2022
@fabioz
Copy link
Collaborator

fabioz commented Jan 25, 2022

Thank you for the report (fixed for 0.38).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working robotframework-ls
Projects
None yet
Development

No branches or pull requests

2 participants