#156 Problem with snippet

open
nobody
5
2012-03-09
2012-03-09
Marco Salathe
No

If snippet is enabled there won't be any code input into the document for the figure, table, etc. menu. If snippet is disable everything works.

Terminal output:

Traceback (most recent call last):
File "/usr/lib/gedit/plugins/latex/action.py", line 60, in <lambda>
self._handler = self._internal_action.connect("activate", lambda gtk_action, action: action.activate(window_context), self)
File "/usr/lib/gedit/plugins/latex/latex/actions.py", line 384, in activate
context.active_editor.insert(source)
File "/usr/lib/gedit/plugins/latex/latex/editor.py", line 132, in insert
Editor.insert(self, source.source)
File "/usr/lib/gedit/plugins/latex/editor.py", line 313, in insert
SnippetManager().insert_at_cursor(self, str(source))
File "/usr/lib/gedit/plugins/latex/snippetmanager.py", line 52, in insert_at_cursor
self.insert(editor, iter, text)
File "/usr/lib/gedit/plugins/latex/snippetmanager.py", line 37, in insert
bus.send('/plugins/snippets', 'parse-and-activate',
AttributeError: 'MessageBus' object has no attribute 'send'

Discussion

  • José  Aliste
    José Aliste
    2012-05-16

    Hi, please note that the development of Gedit-Latex is know done in the Gnome project. Please forward your bug to bugzilla.gnome.org under the Product:gedit, component:latex