robotframework-lsp icon indicating copy to clipboard operation
robotframework-lsp copied to clipboard

"Unable to resolve interpreter" when trying to run the base Action template on mac

Open kariharju opened this issue 10 months ago • 4 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: So far happened only on macOS machines, video below.

  1. Create new action from template action-server create
  2. Try to run the default action from VS Code sidebar

Getting "Unable to resolve interpreter for: ... package.yaml"

Expected behavior The action should just run.

Screenshots https://github.com/robocorp/robotframework-lsp/assets/56814402/60778611-6289-4340-97e9-0744795ba3ae

Versions:

  • OS: MacOS
  • VSCode 1.88,
  • Microsoft Python extension v2024.4.1 all green
  • Robocorp Code: 1.19.0

We have issue extension logs under id #4373

kariharju avatar Apr 11 '24 14:04 kariharju

Tried reproducing on another macOS Ventura 13.2.1, with the versions above, cannot repro

kariharju avatar Apr 11 '24 15:04 kariharju

Disabling RFW LSP extension fixed this issue. Enabling that back brought back the error.

Assuming that this could have something to do with old robot.yaml.bak and conda.yaml.bak files in the action repo.. but looks more like the LSP environment detection problem. Still cannot reproduce the case on other Windows or Mac machines.

kariharju avatar Apr 11 '24 15:04 kariharju

I have the same issue, have you solved this issue? @kariharju

zjffdu avatar Apr 29 '24 08:04 zjffdu

This issue has been moved here, under Sema4AI/vscode-extension repository.

kariharju avatar Jun 14 '24 09:06 kariharju