Sema4AI / vscode-extension

Sema4.ai extension for VS Code: AI Actions and Automation development for Python
https://sema4.ai/docs/platform/vs-code
Apache License 2.0
2 stars 0 forks source link

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

Open kariharju opened 3 weeks ago

kariharju commented 3 weeks ago

Issue by kariharju Thursday Apr 11, 2024 at 14:46 GMT Originally opened as https://github.com/robocorp/robotframework-lsp/issues/1061


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:

kariharju commented 3 weeks ago

Comment by kariharju Thursday Apr 11, 2024 at 15:00 GMT


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

kariharju commented 3 weeks ago

Comment by kariharju Thursday Apr 11, 2024 at 15:43 GMT


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 commented 3 weeks ago

Comment by zjffdu Monday Apr 29, 2024 at 08:26 GMT


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