Plugin failed to load
rndeon opened this issue · comments
I'm on ubuntu 14.04, RB 3.0.2.
I ran RB in debug mode and got this when trying to click the plugin checkbox from the menu.
Traceback (most recent call last):
File "", 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/ryan/.local/share/rhythmbox/plugins/playlists_ie/playlists_ie.py", line 15, in
from gi.repository import Gio, GObject, Peas, RB, GConf, Gtk
File "/usr/lib/python3/dist-packages/gi/importer.py", line 53, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name GConf, introspection typelib not found
(rhythmbox:3227): libpeas-WARNING **: Error loading plugin 'playlists_ie'
Any ideas?
Thanks!
Do you have gconf and python gconf installed ? (I'm not sure what the exact package names in ubuntu are, but it should be something like libgconf-python)
I have the same problem with Ubuntu 16.04, RB 3.3. I have many gconf packages installed as well as libgconf-2-4 and python-gconf. Thanks.
I just checked, I do have python-gconf installed. with libgconf-2-4
Same Problem also with Ubuntu 16.04 RB 3.3
(rhythmbox:7536):
libpeas-WARNING **: Error importing plugin 'playlists_ie':
Traceback (most recent call last):
File "", line 890, 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 "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 662, in exec_module
File "", line 222, in _call_with_frames_removed
File "/home/******/.local/share/rhythmbox/plugins/playlists_ie/playlists_ie.py", line 15, in
from gi.repository import Gio, GObject, Peas, RB, GConf, Gtk
File "/usr/lib/python3/dist-packages/gi/importer.py", line 127, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name GConf, introspection typelib not found(rhythmbox:7536): libpeas-WARNING **: Error loading plugin 'playlists_ie'
It looks like some library isn't installed. I cannot reproduce the issue, so I'm having trouble figuring it out. Try checking if you have all the packages for Gio, GObject, Peas, RB, GConf, Gtk (libraries and python bindings). And I'll ping @fossfreedom if he has any idea.
probably gir1.2-gconf-2.0 needs to be installed?
Thanks! That's it.
sudo apt install gir1.2-gconf-2.0
Worked for me too! Thanks!
Yup, that's it. Thank you