[libpeas] Problem packaging totem so that plugins work
- From: Damien Cassou <damien cassou me>
- To: libpeas-list gnome org
- Subject: [libpeas] Problem packaging totem so that plugins work
- Date: Wed, 06 Jul 2016 16:38:57 +0200
Hi,
not sure anyone is still reading this list but I still ask my question:
I'm packaging totem for NixOS and I have a problem with totem plugins
(see trace below). I'm probably missing a dependency somewhere, can you
please help me? Please note that NixOS is a bit special because each
dependency must be explicitly stated for each package (there is no
global directory where every package can look for its dependencies).
$ ./result/bin/totem
(totem:24574): libpeas-WARNING **: Error importing plugin 'opensubtitles':
Traceback (most recent call last):
File "/nix/store/w9gwivwr7ih57b4y1dfhv64xy316p5qn-python3-3.5.1/lib/python3.5/importlib/__init__.py", line
126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 662, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File
"/nix/store/lcmys8z90c568yngraa9s6g6glwzdihh-totem-3.20.1/lib/totem/plugins/opensubtitles/opensubtitles.py",
line 6, in <module>
gi.require_version('Totem', '1.0')
File
"/nix/store/l57qb8rir38kfdqjykrnvi1yk1xd070k-pygobject-3.20.0/lib/python3.5/site-packages/gi/__init__.py",
line 102, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Totem not available
(totem:24574): libpeas-WARNING **: Error loading plugin 'opensubtitles'
(totem:24574): Grilo-WARNING **: [dleyna] grl-dleyna-servers-manager.c:138: Unable to fetch the list of
available servers: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.intel.dleyna-server
was not provided by any .service files
(totem:24574): libpeas-WARNING **: Error importing plugin 'pythonconsole':
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", 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 "/nix/store/w9gwivwr7ih57b4y1dfhv64xy316p5qn-python3-3.5.1/lib/python3.5/importlib/__init__.py", line
126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 662, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File
"/nix/store/lcmys8z90c568yngraa9s6g6glwzdihh-totem-3.20.1/lib/totem/plugins/pythonconsole/pythonconsole.py",
line 39, in <module>
from gi.repository import GObject, Peas, Gtk, Totem # pylint: disable-msg=E0611
File
"/nix/store/l57qb8rir38kfdqjykrnvi1yk1xd070k-pygobject-3.20.0/lib/python3.5/site-packages/gi/importer.py",
line 127, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name Totem, introspection typelib not found
(totem:24574): libpeas-WARNING **: Error loading plugin 'pythonconsole'
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]