GNOME Bugzilla – Bug 676570
crash on opening of gedit latex plugin preferences
Last modified: 2019-02-22 03:40:57 UTC
Problem is caused by Gedit Latex plugin 3.2.1-1.fc16 32bit To 1. open plugin preferences. 2. modify any of "tools" (e.g. add or remove a command). (Modification usually works, it does what it should do.) 3. close gedit. (in ~/.config/gedit/latex/ appears an incomplete XML file "tools.xml") 4. run gedit 5. If a latex document is being opened, the tools, menus and tool-buttons of the plugin will not appear. 6. On opening of Latex plugin preferences program crushes. 7. After deleting of "tools.xml" the plugin works normally, however modifications made in step 2 will be lost. Additionally, in the preferences dialogue the buttons (Up, Down) which change order of tools in the list do not work.
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Created attachment 214736 [details] trace created by abrt
Created attachment 214737 [details] broken XML file
Created attachment 214738 [details] terminal output
To create this backtrace I did: 1. open latex preferences 2. edit first tool: (LaTeX → PDF) 3. remove command: gnome-open "$shortname.pdf" 4. restart gedit 5. open latex preferences
I confirm this bug. After some research it seems a conflict in python in encoding/decoding ascii to utf-8. As a workaround I removed the arrow characters in /usr/share/gedit/plugins/latex/tools.xml and it doesn't crash anymore
Yes, after removing the arrows the program does not crash any more.
Fixed by http://git.gnome.org/browse/gedit-latex/commit/?id=e5ed0756b8d5b9b0c53581983db51f6e0294aa4b
Thanks for checking. Marking as fixed.