Wow, this bug appears again for me on Ubuntu 17.04. Four years later!? However, the stacktrace changed a bit but the runtime error is the same as in #7 ("To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop…"):
(gedit:10222): libpeas-WARNING **: Error importing plugin 'latex': 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 "<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 673, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed 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:10222): libpeas-WARNING **: Error loading plugin 'latex' I can hereby *confirm* that the workaround in comment #14 works. Thank you Huihuo Zheng. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1203163 Title: The plugin does not work in gedit 3.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/1203163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs