I had pyenchant 1.6.8 installed. I uninstalled it.

Leo fails to load with this error, when pyenchant is not installed:

N:\git\leo-editor>launchleo.py

reading settings in N:\git\leo-editor\leo\config\leoSettings.leo
reading settings in C:\Users\lewis\.leo\myLeoSettings.leo
Empty setting name in False
set parent @settings

Leo 5.7b1, build 20180205170654, Mon Feb  5 17:06:54 CST 2018
Git repo info: branch = master, commit = c8e13c3bccdc
Python 3.6.4, PyQt version 5.10.0
Windows 10 AMD64 (build 10.0.16299) SP0
** isPython3: True
** caching enabled

reading settings in C:\Users\lewis\.leo\workbook.leo
Traceback (most recent call last):
  File "N:\git\leo-editor\launchLeo.py", line 8, in <module>
    leo.core.runLeo.run()
  File "N:\git\leo-editor\leo\core\runLeo.py", line 74, in run
    g.app.loadManager.load(fileName, pymacs)
  File "N:\git\leo-editor\leo\core\leoApp.py", line 2204, in load
    ok = lm.doPostPluginsInit()
  File "N:\git\leo-editor\leo\core\leoApp.py", line 2836, in 
doPostPluginsInit
    c1 = lm.openEmptyWorkBook()
  File "N:\git\leo-editor\leo\core\leoApp.py", line 2897, in 
openEmptyWorkBook
    c = lm.loadLocalFile(fn, gui=g.app.gui, old_c=None)
  File "N:\git\leo-editor\leo\core\leoApp.py", line 3062, in loadLocalFile
    c = lm.openFileByName(fn, gui, old_c, previousSettings)
  File "N:\git\leo-editor\leo\core\leoApp.py", line 3086, in openFileByName
    previousSettings=previousSettings)
  File "N:\git\leo-editor\leo\core\leoApp.py", line 1543, in newCommander
    return leoCommands.Commands(fileName, relativeFileName, gui, 
previousSettings)
  File "N:\git\leo-editor\leo\core\leoCommands.py", line 82, in __init__
    c.finishCreate()
  File "N:\git\leo-editor\leo\core\leoCommands.py", line 415, in 
finishCreate
    c.frame.log.finishCreate()
  File "N:\git\leo-editor\leo\plugins\qt_frame.py", line 3146, in 
finishCreate
    c.spellCommands.openSpellTab()
  File "N:\git\leo-editor\leo\commands\spellCommands.py", line 173, in 
openSpellTab
    self.handler = SpellTabHandler(c, tabName)
  File "N:\git\leo-editor\leo\commands\spellCommands.py", line 414, in 
__init__
    self.spellController = EnchantClass(c)
  File "N:\git\leo-editor\leo\commands\spellCommands.py", line 32, in 
__init__
    if language and not enchant.dict_exists(language):
AttributeError: module 'enchant' has no attribute 'dict_exists'

I changed to default leoSettings.leo to eliminate any personal settings, 
but Leo still did not load unless pyenchant was installed.

Regards
Lewis

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to