I have retext-5.3.0-1 installed on Fedora 23. If I start retext, the application crashes shortly after startup. I end up with an enchant error in the terminal:
Using configuration file: /home/major/.config/ReText project/ReText.conf
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/ReText/highlighter.py", line 129, in highlightBlock
if not self.dictionary.check(match.group(0)):
File "/usr/lib/python3.4/site-packages/enchant/__init__.py", line 634, in check
File "/usr/lib/python3.4/site-packages/enchant/__init__.py", line 606, in _check_this
File "/usr/lib/python3.4/site-packages/enchant/__init__.py", line 176, in _check_this
enchant.errors.Error: Dict unusable: the underlying C-library object has been freed.
After some digging, this appears in a Debian bug as well: https://bugs.debian.org/812149
The patch merged into the upstream repository two weeks ago: https://github.com/retext-project/retext/commit/39603255072313423a17d9207c6b1ec613d9825b
This patch also fixes the problem for me. Would it be possible to include this upstream patch in retext 5.3.0?
Thanks for the report, I will have a look on the issue.
retext-5.3.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cbe34d1ba0
5.3.0-2 fixed the problem! Success! No issues with a new file or some very large existing files. Thanks for the quick fix.
retext-5.3.0-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-cbe34d1ba0
retext-5.3.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.