abrt 1.0.8 detected a crash. architecture: x86_64 cmdline: gedit component: gedit executable: /usr/lib64/gedit-2/plugins kernel: 2.6.32.9-70.fc12.x86_64 package: gedit-1:2.28.3-1.fc12 reason: __init__.py:1181:uri:UnicodeDecodeError: 'utf8' codec can't decode bytes in position 23-24: invalid data release: Fedora release 12 (Constantine) backtrace ----- __init__.py:1181:uri:UnicodeDecodeError: 'utf8' codec can't decode bytes in position 23-24: invalid data Traceback (most recent call last): File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/base/decorators.py", line 650, in _on_load self._adjust_editor() File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/base/decorators.py", line 707, in _adjust_editor editor_class.__init__(self._editor, self, file) File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/base/__init__.py", line 403, in __init__ self.init(file, self._window_context) File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/latex/editor.py", line 105, in init self.__parse() File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/latex/editor.py", line 299, in __parse master_file = self.__master_file File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/latex/editor.py", line 336, in __master_file property_file = PropertyFile(self._file) File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/latex/editor.py", line 553, in __init__ self.__log.debug("File %s not found, creating empty one" % self.__file) File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/base/__init__.py", line 1304, in __str__ return self.uri File "/usr/lib64/gedit-2/plugins/GeditLaTeXPlugin/src/base/__init__.py", line 1181, in uri url = self._uri.geturl().encode("latin1") UnicodeDecodeError: 'utf8' codec can't decode bytes in position 23-24: invalid data Local variables in innermost frame: self: <GeditLaTeXPlugin.src.base.File object at 0x2c07610> How to reproduce ----- 1. Create a new LaTeX document with gedit 2. 3.
Created attachment 402331 [details] File: backtrace
I can reproduce it when saving a new tex file as "/home/ueno/Neuložený dokument 1" under Czech locale (cs_CZ.ISO8859-2). I think this is a bug of gedit-latex-plugin rather than gedit. The fix would be packaging the upstream 0.2 final (released April 18), which contains a fix for URL handling, or backporting changes to src/base/__init__.py from it: http://gedit-latex.svn.sourceforge.net/viewvc/gedit-latex/GeditLaTeXPlugin/trunk/src/base/__init__.py?r1=341&r2=349
gedit-latex-plugin-0.2-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/gedit-latex-plugin-0.2-1.fc12
gedit-latex-plugin-0.2-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/gedit-latex-plugin-0.2-1.fc11
gedit-latex-plugin-0.2-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gedit-latex-plugin-0.2-1.fc13
gedit-latex-plugin-0.2-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gedit-latex-plugin'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gedit-latex-plugin-0.2-1.fc12
gedit-latex-plugin-0.2-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gedit-latex-plugin'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gedit-latex-plugin-0.2-1.fc11
gedit-latex-plugin-0.2-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gedit-latex-plugin'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gedit-latex-plugin-0.2-1.fc13
gedit-latex-plugin-0.2-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
gedit-latex-plugin-0.2-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
gedit-latex-plugin-0.2-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.