Public bug reported:

gedit is unable to load the latex plugin unless gir1.2-gtksource-3.0
package is installed.

If you attempt to enable the plugin without gir1.2-gtksource-3.0, it
results in:

** (gedit:5775): WARNING **: Could not load Gedit repository: Typelib file for 
namespace 'GtkSource', version '3.0' not found
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 2135, 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/gedit/plugins/latex/__init__.py", line 38, in <module>
    from .appactivatable import LaTeXAppActivatable
  File "/usr/lib/gedit/plugins/latex/appactivatable.py", line 21, in <module>
    from gi.repository import GLib, Gedit, GObject
  File "/usr/lib/python3/dist-packages/gi/importer.py", line 53, in find_module
    'introspection typelib not found' % namespace)
ImportError: cannot import name Gedit, introspection typelib not found

(gedit:5775): libpeas-WARNING **: Error loading plugin 'latex'

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gedit-latex-plugin 3.8.0-1
ProcVersionSignature: Ubuntu 3.13.0-71.114-generic 3.13.11-ckt29
Uname: Linux 3.13.0-71-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Mar 19 23:20:47 2016
PackageArchitecture: all
SourcePackage: gedit-latex-plugin
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gedit-latex-plugin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1559582

Title:
  ImportError: cannot import name Gedit, introspection typelib not found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/1559582/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to