Comments
AlexandreGohier commented Jun 4, 2018
This LXD UI looks awesome. I can’t get the appimage to launch on Ubuntu 18.04 Desktop (kernel 4.15.0-22-generic) with LXD snap v3.1 installed.
I get an error message at launch:
Then the UI appears and tries to refresh forever.
Let me know if I can try something to get it to work. Thanks.
The text was updated successfully, but these errors were encountered:
lcherone commented Jun 4, 2018
How are you launching it?
Electron does have some dependencies, I’m not sure what all of them are and I can’t remember what but I had to install something on a fresh XFCE desktop.
Guess GNOME needs GTK+ ones :/
Try running:
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
Let me know if that fixes it.
AlexandreGohier commented Jun 4, 2018
I’ve installed the dependencies and now the gui is all white and the lxdui process uses a single processor core at 100%.
lcherone commented Jun 4, 2018
AlexandreGohier commented Jun 4, 2018
Not a thing, every tab is empty and CPU usage remains at 100%. nothing in journalctl either.
lcherone commented Jun 4, 2018
Sorry, I’m not sure what it could be, if you getting nothing, even in Elements section and its 100% CPU then its to do with electron.
lcherone commented Jun 4, 2018 •
AlexandreGohier commented Jun 4, 2018
Alright thanks for trying. I’ll get back to this machine on Friday and try Atom, I’ll let you know then.
AlexandreGohier commented Jun 10, 2018
Ok Atom is behaving weirdly as well, I guess I’ll wait for Electron to be 18.04 aware. Thanks anyway.
nebi19 commented Apr 6, 2019
that is also my question.
lcherone commented Apr 6, 2019
@nebi19 Can you open another issue and include the full details of what’s happening.. cheers
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Comments
presianbg commented Nov 22, 2017
Your Environment
Expected Behavior
The application is starting with this error:
And looks like this:
Btw the web app is awesome!
Best Regards,
Presian
The text was updated successfully, but these errors were encountered:
johannesjo commented Nov 22, 2017
Hello! Thanks for reporting! Here are some suggestions Does sudo apt install libcanberra-gtk-module libcanberra-gtk3-module fix your issue (source: https://askubuntu.com/questions/208431/failed-to-load-module-canberra-gtk-module)?
presianbg commented Nov 22, 2017 •
@johannesjo
Thanks for fast response. Arch Linux has different package names for those libraries:
johannesjo commented Nov 22, 2017 •
Thank you! That’s already pretty helpful. I did a little research. Currently I believe that this an error with snap building itself that it doesn’t properly map its plugins.
This is what the electron generated snapcraft.yml looks like:
I’ll try debugging this further this weekend, but I’m glad for any help 🙂
Morganamilo commented Nov 28, 2017
I uploaded a version to the AUR. See if that works for you.
johannesjo commented Nov 28, 2017 •
@Morganamilo Did you do any adjustments to the snapfile? If so I’m curious to hear what they are! Also: What is AUR? 🙂
presianbg commented Nov 28, 2017
@Morganamilo It works! Many thanks 👍
Morganamilo commented Nov 28, 2017
The AUR is the Arch User Repository, basically a repo where any one is allowed to upload packages.
johannesjo commented Nov 28, 2017
@Morganamilo interesting! Thanks! Didn’t know about it.
Morganamilo commented Nov 28, 2017
johannesjo commented Nov 29, 2017
Not really sure if this is still an issue with the latest release to be honest. I’m closing this for now.
andres-jurado commented Apr 30, 2018
Regarding this issue. The regular version of Firefox runs without issues, but the snap version (/snap/bin/firefox) produces the following error:
Gtk-Message: Failed to load module «canberra-gtk-module»
johannesjo commented Apr 30, 2018
@andres-jurado. Could you maybe open up a new issue and provide a little bit more info? That would be really helpful!
hasand commented May 5, 2018
Open Synaptic package manager (it’s available in Linux Software resource) and search for canberra-gtk-module then mark for installation and apply. That worked for me.
hasand commented May 5, 2018
Andres, I did that just a few minutes before I posted the first message up there.
I have Ubuntu 18.04 on amd64 laptop
johannesjo commented May 6, 2018
I’m updating electron and electron builder for the next release. I’m unable to reproduce this issue properly, but hopefully this will fix the issue and automatically install the libcanberra-gtk-module if not already there.
Debian User Forums
canberra-gtk-module
canberra-gtk-module
#1 Post by linux001 » 2012-07-15 01:48
gconf-editor will start up and then when I try clicking in the apps>metacity folder to change keybindings, the window abrutly closes and the above error is printed to stdout. I have seen many bug reports about the canberra-gtk-module, so this does not seem to be an isolated problem. I tried removing and reinstalling canberra-gtk-module as well as gconf-editor via the repositories, but this does not change the problem.
I am running Debian wheezy with linux kernel 3.1.0-1-amd64 and gnome version:
Re: canberra-gtk-module
#2 Post by 4D696B65 » 2012-07-15 02:34
Re: canberra-gtk-module
#3 Post by linux001 » 2012-07-15 06:16
Thanks. I had felt I had been diligent with upgrading because each time I got a reminder that package updates were available, I installed them through the package manager icon that appears in the taskbar. In response to your suggestion, I then performed an apt-get upgrade, but was told that for hundreds of packages, «The following packages have been kept back.» Therefore, I opted for an apt-get dist-upgrade, which did the trick. I suppose (?) that standard updates/upgrades (including the ones that appear in the taskbar notification) get held up if there are new dependencies that are not present on the system.
Regardless, the error has persisted after upgrade. Any other ideas? Thank you.
Re: canberra-gtk-module
#4 Post by stevepusser » 2012-07-15 17:48
Re: canberra-gtk-module
#5 Post by linux001 » 2012-07-15 20:36
Re: canberra-gtk-module
#6 Post by linux001 » 2012-07-23 03:21
Re: canberra-gtk-module
#7 Post by linux001 » 2012-07-30 06:46
I was able to resolve one of the two error messages by installing libcanberra-gtk3-module (0.28-4). Specifically, the following error message no longer appears when running applications that rely on gtk: Gtk-Message: Failed to load module «canberra-gtk-module». Related packages that were already installed on my system included: libcanberra-gtk3-0 (0.28-4), libcanberra-pulse (0.28-4), libcanberra-gtk-module (0.28-4), libcanberra0 (0.28-4),libcanberra-gtk0 (0.28-4). Apparently, however, libcanberra-gtk3-module is also required. I hope this information might be of use to others.
Annoying output only when starting Octave via flatpak (GtK-Message: Failed to load module «canberra-gtk-module») #3521
Comments
DrChr commented Mar 30, 2020
Linux distribution and version
Flatpak version
Description of the problem
I’m calling a program that results in annoying output (see below) when invoking it via flatpak, but not if I call the program directly. I’ve been unable to get rid of the messages about:
Gtk-Message: 15:30:30.222: Failed to load module «canberra-gtk-module»
I’m using flatpak to call the program (Octave) several times as part of a build process, and these messages are cluttering my logs. Therefore I’d like to get rid of them.
Steps to reproduce
Other
The text was updated successfully, but these errors were encountered:
abderrahim commented Apr 16, 2020
There are actually two issues here: one about the locale and one about the gtk module.
About the locale, flatpak should download the required locales automatically. Try running a flatpak update and see if it fixes it. Otherwise please post the output of running locale outside flatpak, and flatpak info org.kde.Platform.Locale//5.14
The warning about canberra-gtk-module is because the gtk module is installed on your system, but isn’t available in flatpak. I also noticed it only happens on X11, and not on wayland.
You can remove it from your host system if nothing else depends on it (the package should be named libcanberra-gtk3-module ).
DrChr commented Apr 17, 2020
Running flatpak update didn’t resolve the locale issue.
Output of locale is as follows:
Perhaps the issue is that I’m in Sweden, but have set my Ubuntu to at least partly use US English settings. So maybe I’m missing a subdirectory ‘/se’? (Guessing wildly here. )
DrChr commented Apr 17, 2020 •
Regarding the actual issue related to canberra-gtk-module, it did not help to remove it (I used sudo apt remove libcanberra-gtk3-module ).
Note: The diff tool ‘meld’ needed the package. So I’ll reinstall ‘meld’.
abderrahim commented Apr 17, 2020
Perhaps the issue is that I’m in Sweden, but have set my Ubuntu to at least partly use US English settings. So maybe I’m missing a subdirectory ‘/se’? (Guessing wildly here. )
Regarding the actual issue related to canberra-gtk-module, it did not help to remove it
I think you need to log out and log in again for the change to take effect. But since it’s a dependency of something you use, it doesn’t really help (unless you install meld with flatpak 😉 ). Anyway, I think the easiest way is to use wayland, but your mileage may vary.
DrChr commented Apr 18, 2020
The locale issue is still not resolved. I’ll create a separate issue for that.
Maybe it’ll help others in the future with similar setups.
DrChr commented Apr 18, 2020
I’ve now created #3563 to track the locale related issue.
DrChr commented Apr 18, 2020 •
Before I reinstalled meld I manually checked for the library and found:
So I now also tried:
sudo apt remove libcanberra-gtk-module
and now the message is gone, i.e.:
Next I’ll logout and then login again to see if the output is still clean.
DrChr commented Apr 18, 2020
Sadly, after I logged out and logged back in the message is back:
The warning about canberra-gtk-module is because the gtk module is installed on your system, but isn’t available in flatpak. I also noticed it only happens on X11, and not on wayland.
You can remove it from your host system if nothing else depends on it (the package should be named libcanberra-gtk3-module).
I think I’ve confirmed the above more or less. To me the this boils down to a minor software defect (bug) in Flatpak version 1.0.9. Is this already tracked in some other issue?
Note: I’m not saying this is an important bug etc, even though I in my case I might not want to remove the dependency from the build system. However, I think it might be good to track this bug somewhere. If that’s desirable, I could create a new and cleaner issue, as there’s a bit of noise in this issue by now.
PS. As a somewhat unusual workaround for my particular configuration, I could in theory actually do the following once after starting my build machine:
DrChr commented Apr 18, 2020
aral commented Oct 15, 2021
Any word on whether this is being worked on and/or whether it will be fixed?
I’m seeing it with when I run the Flatpak version of the git commit message editor I’m working on for elementary OS and I’d rather people didn’t see that every time they attempt to do a git commit.
aral commented Oct 15, 2021 •
Looks like setting the GTK_MODULES environment variable to your app’s Flatpak ID might solve the issue according to this: https://bugzilla.mozilla.org/show_bug.cgi?id=1662970
Update 1: (“which can be added to flatpak manifest” ← however, I have no idea how to. Tried adding an environment property to the flatpak configuration file but that didn’t work.)
smcv commented Oct 15, 2021
So what seems to be going on here is:
In other words, to some extent, «you asked for it, you got it». All the individual components involved are working as designed (including Flatpak!), but the overall situation that results is not what you wanted, because the overall system is complicated.
The good news(?) is that GTK 4 no longer supports loading arbitrary modules specified in GTK_MODULES, so in the long term, this will go away as apps port from GTK 3 to 4.
The diff tool ‘meld’ needed [libcanberra-gtk3-module]. So I’ll reinstall ‘meld’.
I have no idea why meld depends on a module to replace beeps with nicer sounds. Either that’s a packaging bug in your distribution, or meld is doing something very strange (more likely the former).
Looks like setting the GTK_MODULES environment variable to your app’s Flatpak ID might solve the issue according to this: https://bugzilla.mozilla.org/show_bug.cgi?id=1662970
I think you’re misreading that bug. The suggestion on that bug is to set the GTK_MODULES environment variable to an empty string (notice the space after the equals sign):
or to spell that perhaps more clearly, one of these equivalent commands:
Flatpak could in principle have hardwired code to filter the GTK_MODULES environment variable, to remove canberra-gtk-module from it; but if it did that, runtimes that do contain canberra-gtk-module wouldn’t load it, which is contrary to what your environment variables are specifically telling them to do, and I’m sure we’d get bug reports about how Flatpak must not override user preferences. We don’t know the specifics of what’s in each runtime, so we don’t know which ones (if any) have canberra-gtk-module and which ones do not. The conservative approach here is to assume that if you (or your OS integrator) are specifically telling GTK that it needs to try to load a particular module, then who are we to disagree?
Arch Linux
You are not logged in.
#1 2019-10-27 18:18:19
Failed to load module «canberra-gtk-module»
When I want to start MATLAB, I get the following error
When I run env I can see that
So it should be available, shouldn’t it?
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
#2 2019-10-27 20:08:29
Re: Failed to load module «canberra-gtk-module»
You installed the 32 bit libcanberra package for GTK3. MatLab uses GTK2. I think that’s the issue.
Do you have «lib32-libcanberra» installed from «multilib»?
#3 2019-10-28 09:05:43
Re: Failed to load module «canberra-gtk-module»
@drcouzelis: Yes, I have lib32-libcanberra installed from multilib. The AUR version also failed, because libcanberra-gtk3 is already inside the filesystem.
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
#4 2019-10-28 14:39:31
Re: Failed to load module «canberra-gtk-module»
aur matlab doesn’t list canberra as a dependency, there may be something mixed up in your gtk2 / gtk3 environment that causes this.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Online
#5 2019-10-28 15:08:49
Re: Failed to load module «canberra-gtk-module»
I did not install MATLAB via AUR, since it is a hassle, so my output is
I just freshly installed Arch, so I don’t think something is messed up. I got MATLAB running now, but the message persists, when I run it via terminal. Maybe it is not important
Last edited by gunjah292 (2019-10-28 15:47:09)
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)




