为什么 Rhythmbox Coverart 插件不起作用?(Kubuntu)

为什么 Rhythmbox Coverart 插件不起作用?(Kubuntu)

我最近换成了 Ubuntu,今天早上又换成了 Kubuntu。我真的很喜欢 Kubuntu,我想把它作为我 Macbook 上唯一的操作系统,但有一个问题我无法解决。

因此我安装了 Rhythmbox,然后使用以下命令安装 Coverart 插件:

sudo add-apt-repository ppa:fossfreedom/rhythmbox-plugins
sudo apt-get update
sudo apt-get install rhythmbox-plugin-coverart-browser

然后我打开 Rhythmbox,单击工具,然后单击插件。插件已列出,但当我双击它以选中复选框时,它会在旁边的圆圈中添加一条红色小水平线,并且不会激活。但它所需的“CoverArt 浏览器搜索提供程序”插件工作正常。如果有人能帮助我,我会非常高兴!

这是我在终端(Konsole)中输入“rhythmbox”时得到的结果:

(rhythmbox:3110): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 2158, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/reece/.local/share/rhythmbox/plugins/coverart_browser/coverart_browser.py", line 32, in <module>
    from coverart_browser_source import CoverArtBrowserSource
  File "/home/reece/.local/share/rhythmbox/plugins/coverart_browser/coverart_browser_source.py", line 37, in <module>
    from coverart_widgets import PanedCollapsible
  File "/home/reece/.local/share/rhythmbox/plugins/coverart_browser/coverart_widgets.py", line 26, in <module>
    from gi.repository import Notify
  File "/usr/lib/python3/dist-packages/gi/importer.py", line 144, in find_module
    'introspection typelib not found' % namespace)
ImportError: cannot import name Notify, introspection typelib not found

(rhythmbox:3110): libpeas-WARNING **: Error loading plugin 'coverart_browser'

(rhythmbox:3110): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist


(rhythmbox:3110): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist


(rhythmbox:3110): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist


(rhythmbox:3110): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist


(rhythmbox:3110): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist


(rhythmbox:3110): Gtk-WARNING **: Duplicate child name in GtkStack: Add to Playlist


(rhythmbox:3110): Rhythmbox-WARNING **: Unable to grab media player keys: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files

答案1

从终端运行 rhythmbox 时输出的重要部分是这部分:

ImportError:无法导入名称通知,未找到内省类型库

这意味着 Kubuntu 默认没有安装以下软件包 - gir1.2-notify-0.7

要安装此包:

sudo apt-get install gir1.2-notify-0.7

顺便说一句 - 由于 Debian 包是我自己提供的...我将在下一个版本中更新此包以包含此依赖项。

相关内容