I just install the wxPython, and also install gtk library too, but
now, i have a problem with the wxPython.
when I run the python with wx, the python throw a error:
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-
gtk-module.so: cannot open shared object file: No such file or
directory
I searched how to solve it in Google, but no idea. Can anybody tell
me how to fix it? and my system is ubuntu9.10.
My guess is that there is a dependency missing from one of your gtk related packages, as libcanberra "is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME." This does not relate directly to wxPython other than wxPython loads the GTK library which in turn is apparently trying to load libcanberra, probably due to configuration or theme settings. You may be getting the same log message when you try to start other GTK applications.
Try looking through your desktop configuration settings and see if there is something related to notification sound events that you can change or disable. You should also look through the package repository for libcanberra packages that you can install.
···
On 10/21/10 11:46 PM, Jun wrote:
Hi, Dear all:
I just install the wxPython, and also install gtk library too, but
now, i have a problem with the wxPython.
when I run the python with wx, the python throw a error:
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-
gtk-module.so: cannot open shared object file: No such file or
directory
I searched how to solve it in Google, but no idea. Can anybody tell
me how to fix it? and my system is ubuntu9.10.
You are right, any GTK program will get this log message,although I
reinstalled libcanberra.
Now, I have to unset GTK_MODULES in bash's configuration.
···
On Oct 23, 1:28 am, Robin Dunn <ro...@alldunn.com> wrote:
On 10/21/10 11:46 PM, Jun wrote:
> Hi, Dear all:
> I just install the wxPython, and also install gtk library too, but
> now, i have a problem with the wxPython.
> when I run the python with wx, the python throw a error:
> Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-
> gtk-module.so: cannot open shared object file: No such file or
> directory
> I searched how to solve it in Google, but no idea. Can anybody tell
> me how to fix it? and my system is ubuntu9.10.
My guess is that there is a dependency missing from one of your gtk
related packages, as libcanberra "is an implementation of the XDG Sound
Theme and Name Specifications, for generating event sounds on free
desktops, such as GNOME." This does not relate directly to wxPython
other than wxPython loads the GTK library which in turn is apparently
trying to load libcanberra, probably due to configuration or theme
settings. You may be getting the same log message when you try to start
other GTK applications.
Try looking through your desktop configuration settings and see if there
is something related to notification sound events that you can change or
disable. You should also look through the package repository for
libcanberra packages that you can install.
--
Robin Dunn
Software Craftsmanhttp://wxPython.org