Thanks for the tip. I'll see if it works out. Still, I think Leo should not fail to load if the spell checker is not functional, and it looks like there's now a PR about that.
On Wednesday, January 11, 2023 at 8:55:14 AM UTC-5 gates...@gmail.com wrote: > Some packagers of PyEnchant do not include any dictionary files. The > PyEnchant documentation explains how to find one and install them: > https://pyenchant.github.io/pyenchant/install.html#installing-a-dictionary > > Try installing the package 'hunspell-en_US' (or the language of your > choice). That *should* do the trick to get this working on Manjaro, as it > did on my Arch installs. > > Jake > > On Wed, Jan 11, 2023 at 8:47 AM Thomas Passin <tbp1...@gmail.com> wrote: > >> 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+...@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 >> >> <https://groups.google.com/d/msgid/leo-editor/2cd290a1-fe2f-4e47-99e9-1830528b85f0n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/1d6de462-3da4-450f-8281-263b56d242b4n%40googlegroups.com.