No, unfortunately it didn't.  There is something else wrong in the 
pyenchant package or the enchant support libraries (both of which which are 
installed by the distro's package manager).

On Wednesday, January 11, 2023 at 4:49:25 AM UTC-5 lewis wrote:

> In leosettings.leo under Spell checking there is a node:
> @string enchant-language = en-US
>
> Does that help?
>
> On Wednesday, January 11, 2023 at 4:18:20 PM UTC+11 tbp1...@gmail.com 
> wrote:
>
>> Of course, one solution is to uninstall pyenchant.  I did that and now 
>> Leo can run.  
>>
>> On Tuesday, January 10, 2023 at 10:53:40 PM UTC-5 Thomas Passin wrote:
>>
>>> I created a new virtual machine for a Linux distro new to me - Manjaro.  
>>> Although pyenchant is installed, and the system's package manager claims 
>>> that the Enchant libraries are installed, they aren't playing together.
>>>
>>> I installed Leo but it won't start because pyenchant isn't working.  I 
>>> don't think the error messages will be helpful, but here are the last few 
>>> lines:
>>>
>>> File 
>>> "/home/tom/.local/lib/python3.10/site-packages/enchant/__init__.py", line 
>>> 287, in _request_dict_data
>>>     self._raise_error(e_str % (tag,), DictNotFoundError)
>>>
>>>   File 
>>> "/home/tom/.local/lib/python3.10/site-packages/enchant/__init__.py", line 
>>> 233, in _raise_error
>>>     raise eclass(default)
>>>
>>> enchant.errors.DictNotFoundError: Dictionary for language 'en_US' could 
>>> not be found
>>> Please check https://pyenchant.github.io/pyenchant/ for details
>>>
>>> I don't think that the problem is really that the en_US dictionary can't 
>>> be found, because of other errors when I import pyenchant into a Python 
>>> REPL session.  It imports but then can't actually run various functions.
>>>
>>> I looked in the pyenchant web site, and found that it can be tricky to 
>>> get the right version of the pyenchant working with the versions of the 
>>> enchant binaries that  might have been compiled for your machine 
>>> (especially on Windows, and yes, I know this case is Linux).
>>>
>>> I can't find a setting to allow Leo to skip loading the spellchecker.  I 
>>> have looked in LeoSettings.leo and myLeoSettings, and searched through 
>>> pyLeoRef without hitting on one.  It seems to me that I remember such a 
>>> setting, but I haven't been able to find it.
>>>
>>> If there is not such a setting, I think there should be one.  It doesn't 
>>> make sense for Leo to be unable to run because of a problem with the 
>>> pyenchant system.
>>>
>>> Does anyone have some insight here?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/2cd290a1-fe2f-4e47-99e9-1830528b85f0n%40googlegroups.com.

Reply via email to