问题描述
当我尝试运行我的 gtk-rs 项目时,它显示了这个错误:
Failed to load module "appmenu-gtk-module"
还有这个错误:
Failed to register: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnkNown: org.freedesktop.DBus.Error.ServiceUnkNown
我的 toml 文件如下所示:
[package]
name = "something"
version = "0.1.0"
authors = ["gd"]
edition = "2018"
# See more keys and their deFinitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
gtk = { git = "https://github.com/gtk-rs/gtk.git" }
gio = { git = "https://github.com/gtk-rs/gio.git" }
我尝试重新安装 appmenu-gtk3-module/appmenu-gtk2-module:
sudo apt reinstall appmenu-gtk3-module appmenu-gtk2-module
我使用 Pop-os (Ubuntu)。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)