-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
GTK+ module libcanberra-gtk-module.so cannot be loaded #179086
Comments
Any timeline for getting a fix for this issue and #179274 ? |
Yeah this could be a solution, but in my case I reinstalled VSCode with the deb package and not with Ubuntu Software. Seems |
I will keep this issue open to address the problem with snap packages. |
This bug has been fixed in the latest release of VS Code Insiders! @Petros626, you can help us out by commenting If things still don't seem right, please ensure you're on version a572746 of Insiders (today's or later - you can use Happy Coding! |
This requires author verification. @Petros626 can you help confirm if this issue is resolved in latest insiders of snap ?
|
Hey I'm not able to access the pc I've used for this work. How else could we verify it? |
No worries, I have removed author verification. We might not be able to verify the OpenCV setup but following steps would work as well from #179274 (comment) Steps for verification:
|
With the verification steps above, I get a single message |
Okay glad to hear that. |
Is this integrated in stable release? |
@AmeyaVS the change is in the latest Stable release. Let us know if you're still seeing the issue. |
I am still observing this issue on my system here's the details from the VSCode versions:
I still need to unset the |
@AmeyaVS are you seeing the error with same steps from #179274 (comment) ? Can you share the output of the following steps,
|
The failure still exists, also I am unable to configure GitHub Account credentials on my VSCode as Firefox fails to launch from VSCode due to the same reasons.
I don't have it unset in any VSCode settings. This is a new installation.
Here's the grepped
I don't have any of the |
Is there a timeline for this issue to be fixed? |
Any updates? |
The terminal agents are inheriting the environment from the snap shell which gets adjusted with our custom GTK env variables, so this is no longer trivial to solve. It might take a while before I get to address this issue. I recommend using external terminal with snap or if you need integrated terminal then please switch to the debian package. |
This affects all Linux ArduPilot users of MAVProxy in VSCode. Manually calling We use Linux for development because of the difficulty of using hardware debuggers in WSL. |
I would like to add it seems now a new environment variable Is there any timeline for getting any fixes for the snap package? |
Hello guys,
I'm using OpenCV in VSCode (Ubuntu Software installation) and everything worked fine, until I updated my libraries (
sudo apt-get update/upgrade/full-upgrade
) I guess. But now VSCode or rather OpenCV can't find the GTK library.I've tested this succesfully:
GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-2.0 ./test
--> worksBut when I specify the version gtk-3.0:
GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-3.0 ./test
--> failsNormally the loaded version without using GTK_PATH is gtk-3.0 and then it shows me this error:
![image](https://user-images.githubusercontent.com/62354721/229435079-a85c5ff1-a8c3-4870-9340-bdc9404e595b.png)
I verified that the in
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules
is:Would appreciate to solve this warning and to understand why the .so cannot be loaded.
Thanks in advance
UPDATE: the example code can be executed without warnings in the normal gnome terminal, but VSCode seems to habe problems to find the specific libraries, so it's definitely VSCode.
The text was updated successfully, but these errors were encountered: