Gtk-Message: 16:17:51.771: Failed to load module "canberra-gtk-module"
95 ビュー (過去 30 日間)
古いコメントを表示
Victor Carreira
2019 年 9 月 10 日
コメント済み: Jose Ever Gonzales Eueceda
2021 年 9 月 12 日
To whom it may concern,
when I run ./matlab on linux UBUNTU 18.4 LTS an error occours
Gtk-Message: 16:17:51.771: Failed to load module "canberra-gtk-module"
How can I solve this problem?
I hop hearing from you,
Victor
3 件のコメント
Chen Wang
2019 年 10 月 12 日
I have installed everything these answers recommend. However, the problem is still there.
採用された回答
reincornator
2020 年 6 月 17 日
編集済み: reincornator
2020 年 6 月 17 日
You must install:
sudo apt-get install packagekit-gtk3-module
and
sudo apt-get install libcanberra-gtk-module
2 件のコメント
その他の回答 (2 件)
Brian Zelenke
2020 年 5 月 23 日
I think you need to set the GTK_PATH environment variable as described at https://www.mathworks.com/matlabcentral/answers/472134-gtk-message-10-32-31-466-failed-to-load-module-canberra-gtk-module.
On Ubuntu this would be:
export GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-2.0
On RedHat (RHEL) this would be:
export GTK_PATH=/usr/lib64/gtk-2.0/
2 件のコメント
yoshitomo kaneda
2021 年 4 月 28 日
Thank you very much !!!
It works for my environment. (CentOS 7.9.2009)
Mark Thomas
2021 年 7 月 30 日
This is the only change needed for MATLAB R2020a (Update 1 and Update 6) on CentOS 6.6 [yes, I know!]:
No need to play around with GTK 3.
Just add an /etc/profile.d/gtk2.sh script, setting:
GTK_PATH=/usr/lib64/gtk-2.0
export GTK_PATH
This lets MATLAB find the /usr/lib64/gtk-2.0/modules directory, which holds both modules.
BTW: I found the "R2020a_Update_1_Linux.iso" graphical installer would not run, so had to use ./install -inputFile <name> to do a scripted install. (The GUI opened OK, got to the "Enter File Installation Key" page but would not let me type into the FIK box or press the [Next] button.)
Applying this fix before running ./install might let the graphical installer run, too.
Jan Studnicka
2019 年 10 月 16 日
See bug reports:
"On some Linux distributions, a message appears in the terminal window when starting MATLAB:
Gtk-Message: <timestamp>: Failed to load module "canberra-gtk-module"
and/or
Gtk-Message: <timestamp>: Failed to load module "pk-gtk-module"
This message is informational and has no effect on MATLAB."
2 件のコメント
Robin T. Bye
2019 年 10 月 16 日
I have the problem with the canberra-gtk-module.
- The message is more then informational since it causes Matlab failing to start and a segmentation fault.
- The advice on the Mathworks bug report page replicates similar advice on various internet sites but does not work (same error despite installing the packages relating to the modules).
Jan Studnicka
2019 年 10 月 16 日
Your problem can be caused by something different. In my case this message appears and MATLAB starts normally.
I suggest you contact support:
www.mathworks.com/support/contact_us.html
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!