ImportError: cannot import name Gedit, introspection typelib not found

Bug #1559582 reported by Robert Millan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gedit-latex-plugin (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Robert Millan (rmh) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit-latex-plugin (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.