Red Hat Bugzilla – Bug 596502
[abrt] crash in lyx-common-1.6.5-2.fc12: utf_8.py:16:decode:UnicodeDecodeError: 'utf8' codec can't decode bytes in position 64-65: invalid data
Last modified: 2011-05-13 06:59:22 EDT
abrt 1.0.9 detected a crash.
cmdline: python -tt /usr/share/lyx/lyx2lyx/lyx2lyx -t 345 -o /tmp/lyx_tmpdir.MT3465/Buffer_readFile.QG3465 /home/sebi/Uni/cv-seminar2/reports/03/03.lyx
comment: Is it a known limitation? Running the file via pdflatex for example works just fine.
reason: utf_8.py:16:decode:UnicodeDecodeError: 'utf8' codec can't decode bytes in position 64-65: invalid data
release: Fedora release 12 (Constantine)
utf_8.py:16:decode:UnicodeDecodeError: 'utf8' codec can't decode bytes in position 64-65: invalid data
Traceback (most recent call last):
File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 83, in <module>
File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 76, in main
doc = LyX.File(**options.__dict__)
File "/usr/share/lyx/lyx2lyx/LyX.py", line 652, in __init__
File "/usr/share/lyx/lyx2lyx/LyX.py", line 283, in read
self.preamble[i] = self.preamble[i].decode(self.encoding)
File "/usr/lib64/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 64-65: invalid data
Local variables in innermost frame:
How to reproduce
1. Write .tex file in utf8
2. import latex file via menu
3. experience error
Created attachment 417019 [details]
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
Sebastian have you tried lyx-2.0 in F14? Does this problem still occurs there?
I'm not 100% sure that I've used the original file for testing this now, but it appears that this issue isn't apparent any more with lyx-2.0.
Thanks for asking and for quick packaging of the lyx2 release!