赞
踩
弹窗错误的标题为 ImportError,内容为“Failed to initialize GTK. If you are running over ssh, did you enable X forwarding and start ssh with -X?(Couldn’t find foreign strtct converter for ‘cairo.Context’)”
从终端尝试获取更多错误细节
$ gnuradio-companion Gtk-Message: 20:52:00.251: Failed to load module "colorreload-gtk-module" Gtk-Message: 20:52:00.251: Failed to load module "window-decorations-gtk-module" $ locate colorreload-gtk-module $ locate window-decorations-gtk-module $ locate libcolorreload-gtk-module $ locate libwindow-decorations-gtk-module $ locate libcolorreload-gtk-module.so $ pacman -Fx colorreload-gtk-module. 警告:database file for 'archlinuxcn' does not exist (use '-Fy' to download) extra/kde-gtk-config 5.25.5-1 (plasma) usr/lib/gtk-3.0/modules/libcolorreload-gtk-module.so $ sudo pacman -S kde-gtk-config $ gnuradio-companion
此时启动没有 gtk 模块缺失的问题了,但是弹窗错误还在。最后通过搜索发现缺的是一个 python 包,在仓库里却找不到 python3-gi-cairo,最后通过排列组合找到了 python-cairo。这下子总算可以启动了
sudo pacman -S kde-gtk-config
sudo pacman -S python-cairo
Failed to load module “colorreload-gtk-module”:locate 或 pacman -Fx colorreload-gtk-module.
解决Failed to load module canberra-gtk-module错误 footrip 2019-12-20:locate 定位模块位置
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。