Comment 6 for bug 957924

Revision history for this message
Karl Maier (w-wall2001) wrote : Re: gedit crashed when openning latex-plugin preferences

It happens on my machine also, when I start gedit and select "Edit" - "Preferences" - "Latex Plugin" - "Preferences" it crashes. Here is the output when I start gedit from the console:

Traceback (most recent call last):
  File "/usr/lib/gedit/plugins/latex/windowactivatable.py", line 79, in do_activate
    self._tool_preferences = ToolPreferences()
  File "/usr/lib/gedit/plugins/latex/util.py", line 40, in getinstance
    instances[cls] = cls()
  File "/usr/lib/gedit/plugins/latex/preferences/tools.py", line 72, in __init__
    self.__tools = ElementTree.parse(filename).getroot()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1177, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 654, in parse
    self._root = parser.close()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1636, in close
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1488, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: unclosed token: line 2, column 2
Traceback (most recent call last):
  File "/usr/lib/gedit/plugins/latex/windowactivatable.py", line 147, in do_create_configure_widget
    return PreferencesDialog().dialog
  File "/usr/lib/gedit/plugins/latex/preferences/dialog.py", line 333, in dialog
    self._tool_preferences = ToolPreferences()
  File "/usr/lib/gedit/plugins/latex/util.py", line 40, in getinstance
    instances[cls] = cls()
  File "/usr/lib/gedit/plugins/latex/preferences/tools.py", line 72, in __init__
    self.__tools = ElementTree.parse(filename).getroot()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1177, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 654, in parse
    self._root = parser.close()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1636, in close
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1488, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: unclosed token: line 2, column 2
Speicherzugriffsfehler