I installed gedit-latex-plugin
in Ubuntu Vivid via aptitude
without errors. Trying to activate the plugin in gedit via Preferences > Plugins results in a runtime error and the plugin not getting activated.
Any hints on how to tackle this would be very much appreciated.
The full error output is like follows:
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 24, in <module>
from .config import MENUACTIONS
File "/usr/lib/gedit/plugins/latex/config.py", line 79, in <module>
from .bibtex.editor import BibTeXEditor
File "/usr/lib/gedit/plugins/latex/bibtex/editor.py", line 35, in <module>
from ..job import Job, JobChangeListener
File "/usr/lib/gedit/plugins/latex/job.py", line 202, in <module>
job_manager = JobManager()
File "/usr/lib/gedit/plugins/latex/job.py", line 160, in __init__
dbus.service.Object.__init__(self, bus_name, OBJECT_PATH)
File "/usr/lib/python3/dist-packages/dbus/service.py", line 485, in __init__
self.add_to_connection(conn, object_path)
File "/usr/lib/python3/dist-packages/dbus/service.py", line 576, in add_to_connection
self._fallback)
RuntimeError: To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...)
(gedit:17951): libpeas-WARNING **: Error loading plugin 'latex'
And in the GUI it looks like this:
sudo apt-get install --reinstall gedit-latex-plugin
?