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

Cannot activate the 'SQLTools MySQL/MariaDB' extension because it depends on the 'SQLTools' extension #6020

Closed
chrmarti opened this issue Dec 8, 2021 · 3 comments
Assignees
Labels
containers Issue in vscode-remote containers info-needed Issue requires more information from poster

Comments

@chrmarti
Copy link
Contributor

chrmarti commented Dec 8, 2021

Not sure if this is an issue with this feature specifically, but I have two installed extensions that have a dependency between each other. Every time I connect to the container, I get the following message:

Cannot activate the 'SQLTools MySQL/MariaDB' extension because it depends on the 'SQLTools' extension, which is not loaded. Would you like to reload the window to load the extension?

The problem goes away if I reload the window.

My .devcontainer.json:

{
  "name": "Backend",
  "dockerComposeFile": ["../docker-compose.yml"],
  "service": "backend",
  "shutdownAction": "none",
  "extensions": ["prisma.prisma", "esbenp.prettier-vscode", "mtxr.sqltools", "mtxr.sqltools-driver-mysql"],
  "workspaceFolder": "/code",
  "remoteUser": "dev"
}

In this case, mtxr.sqltools-driver-mysql is dependent on mtxr.sqltools.

LMK if this isnt'related to this feature, I'll be happy to create a separate issue.

Originally posted by @dreoliv in #2994 (comment)

@github-actions github-actions bot added the containers Issue in vscode-remote containers label Dec 8, 2021
@chrmarti
Copy link
Contributor Author

Does it always fail when you rebuild the container? Could you append the log from a rebuild that failed? (F1 > Remote-Containers: Show Container Log)

@chrmarti chrmarti self-assigned this Dec 10, 2021
@chrmarti chrmarti added the info-needed Issue requires more information from poster label Dec 10, 2021
@dreoliv
Copy link

dreoliv commented Dec 14, 2021

I'm sorry but I can't for the life of me replicate the bug anymore.

Guess it's all good?

I think we can close this issue - I'll report back with the logs if I start seeing it again.

@chrmarti
Copy link
Contributor Author

Sounds good, thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants