gedit crashes on latex plugin

Bug #989310 reported by Invincicble Mutant
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The gedit-latex plugin is disabled when a .tex file is open, when i go to Edit-> Preference-> Plugins -> Latex Plugin -> Prefereces

Gedit edit crashed and closed by itself.

When the gedit is launch from terminal with: gedit myfile.tex, the following is the console output:

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 1183, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
    self._root = parser.close()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1655, in close
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: unclosed token: line 2, column 2

(gedit:15232): Gtk-CRITICAL **: gtk_list_store_set_column_types: assertion `priv->columns_dirty == 0' failed
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 1183, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
    self._root = parser.close()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1655, in close
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: unclosed token: line 2, column 2
Segmentation fault (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gedit 3.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu6
Architecture: amd64
Date: Fri Apr 27 00:38:57 2012
ExecutablePath: /usr/bin/gedit
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Invincicble Mutant (ngkengyap) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit (Ubuntu):
status: New → Confirmed
Revision history for this message
Bruno (brvollino) wrote :

This bug affected me after editing the latex plugin preferences as super user, in Ubuntu.

Revision history for this message
Bruno (brvollino) wrote :

Found a fix in https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/957924

Follow these steps
1. Remove some config files as explained here: https://bugs.launchpad.net/ubuntu/+source/gedit-latex-plugin/+bug/957924/comments/10
2. then upgrade gedit-latex-plugin to version 3.4.1-1. I got it from http://packages.ubuntu.com/quantal/all/gedit-latex-plugin/download and installed in Ubuntu 12.04.

Works for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.