GNOME Bugzilla – Bug 667096
KeyError: 'bibtex-error'
Last modified: 2019-02-22 03:41:47 UTC
Traceback (most recent call last):
+ Trace 229360
return function(*args, **kw)
self.remove_markers("bibtex-error")
type_record = self._marker_types[marker_type]
I have the latest git version of the latex plugin.
Created attachment 226765 [details] [review] One-liner fix The bug is confirmed and grave, but that particular traceback is just a consequence of an error which comes out when opening a .bib file (and which is only printed to terminal): Traceback (most recent call last):
+ Trace 231064
It is grave because it halts the initialization of the BibTeXEditor instance and hence trigger a series of errors, included the one reported. Luckily, the fix is trivial, see the attached patch.
Sorry, I copypasted the same traceback, that's the right one (the one coming out at startup in the terminal): Traceback (most recent call last):
+ Trace 231065
self._adjust_editor()
editor_class.__init__(self._editor, self, file)
Editor.__init__(self, tab_decorator, file)
self._window_context.create_editor_views(self, file)
self.editor_views[editor][id] = clazz(self, editor)
self._item_none = Gtk.RadioMenuItem.new_with_label(None, _("No Grouping"))
return info.invoke(cls, *args, **kwargs)
Review of attachment 226765 [details] [review]: Looks good to me.
Nacho, could you just push the patch? I don't have my ssh keys in this new computer.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.