-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[bug] libgtk-x11-2.0.so.0: cannot open shared object file when installing plugins #905
Comments
I just played around with this a bit and it seems like this happens in both the Snap and AppImage packages. I assume it has something to do with the plugin install script launching a new process. It seems to be breaking out of the app container and not being able to find the dependencies anymore. For now, if you're using Ubuntu, the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Have the same issue on Fedora 29 when clicking on
gtk3 is installed and dependency is at |
I am having the same issue using Ubuntu 18.04.2 LTS and Insomnia 6.3.2 installed using snap |
Same here on Ubuntu 19.04 using the snap |
same problem in kde neon based on ubuntu 18.04.2 |
I'm having the same issue in Pop!_Os with libgtk-3.so.0 |
Manual installation worked for me. Note, that I have installed
cd /home/user/snap/insomnia/current/.config/Insomnia/plugins
npm install insomnia-plugin-default-headers
I suggest to put this into Plugins documentation. I can make a PR if desired. |
|
I use |
What is YARN? a testing command?? |
@asyba: Perhaps, don't use sudo for installing nmp plugins? |
I try that, but is not working. |
OK, how did you install insomnia in the first place? |
sudo snap install insomnia |
I think your issue is not related to Insomnia. Something is wrong with your nodejs installation. Search on |
Ok, I fix that, |
It works for me.
|
@barseghyanartur it will work if I install the app from .deb file or from apt-get ? |
I installed it with snap on both ununtu and fedora. |
I fix it with "npm init" , what version of npm and node do you have? |
Node.js: v13.5.0 |
I'm getting this on Ubuntu 20.04 with Insomnia installed via snap (v7.1.1). Manually installing in the plugin dir works for me at least. Any progress on a fix for this? |
Insomnia v2020.4.1 installed via snap v2.46.1+20.04
while trying to install plugin. This shared library seems to be installed: Manually installing plugin as suggested above works. |
For the ones who wish to use bash; You can add an executable script with the following contents: #!/bin/bash
plugins=( \
"insomnia-plugin-XXXX" \
"insomnia-plugin-YYYY"
)
echo -e 'Install Insomnia plugins'
pluginsDir="$HOME/snap/insomnia/current/.config/Insomnia/plugins"
which yarn || sudo apt install yarn
for plugin in "${plugins[@]}"; do
(cd $pluginsDir && yarn add $plugin)
done
echo -e 'done' |
any solution? |
Solution: cd /home/$USER/snap/insomnia/current/.config/Insomnia/plugins
npm init -y
npm install insomnia-plugin-name |
solved for me !!! |
Details
When installing a plugin, Insomnia complains that
/snap/insomnia/12/insomnia: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Howere, there is libgtk-x11-2.0.so.0 in my computer.
The text was updated successfully, but these errors were encountered: