Thu, 25 Jun 2015 19:09:11 +0200
Fixed an issue in the spell checker causing eric to fail at startup on Windows, if pyenchant was uninstalled. This happens because the uninstaller doesn't get rid of all files. The __pycache__ directories are left behind causing the failure.
(grafted from 3ec4679c3dcd7f5dacefedc5e7560c06db7440e2)
QScintilla/SpellChecker.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/SpellChecker.py Thu Jun 25 18:58:34 2015 +0200 +++ b/QScintilla/SpellChecker.py Thu Jun 25 19:09:11 2015 +0200 @@ -85,7 +85,7 @@ if Preferences.getEditor("SpellCheckingEnabled"): try: return len(enchant.list_languages()) > 0 - except NameError: + except (NameError, AttributeError): pass return False