Control: tags -1 +moreinfo Hi Erik,
On Wed, Jan 20, 2016 at 05:32:44PM -0800, Erik wrote:
> Ran: retext docs/api.md and received the below output:
>
> Traceback (most recent call last):
> File "/usr/share/retext/ReText/highlighter.py", line 129, in highlightBlock
> if not self.dictionary.check(match.group(0)):
> File "/usr/lib/python3/dist-packages/enchant/__init__.py", line 634, in
> check
> self._check_this()
> File "/usr/lib/python3/dist-packages/enchant/__init__.py", line 606, in
> _check_this
> _EnchantObject._check_this(self,msg)
> File "/usr/lib/python3/dist-packages/enchant/__init__.py", line 176, in
> _check_this
> raise Error(msg)
> enchant.errors.Error: Dict unusable: the underlying C-library object has been
> freed.
I cannot reproduce this error.
Can you please provide me the following details:
- Does this error happen every time you start ReText? Or only for some
special documents? (If the latter, can you attach one of them?)
- Did you configure ReText for custom language for spell checking?
- Can you please run python3 console and check what is the enchant provider
there? For example:
>>> import enchant
>>> enchant.Dict('en_US')._Dict__describe()
('en_US', 'aspell', 'Aspell Provider',
'/usr/lib/x86_64-linux-gnu/enchant/libenchant_aspell.so')
... and paste all the output here.
If you are using a different language, replace en_US with code of that
language.
Thanks in advance,
--
Dmitry Shachnev
signature.asc
Description: PGP signature

