Thesaurus icon indicating copy to clipboard operation
Thesaurus copied to clipboard

No results for any word;

Open dancedar opened this issue 9 years ago • 7 comments

And I get this error: Enchant error: [WinError 2] The system cannot find the file specified, defaulting to dummy method...

Windows 10, Sublime Text 3 latest, installed exactly as described using Package Control.

Could this be a read-write issue or because I'm running it in a kinda portable mode on my desktop? [Edit. I don't have python installed at all, is it 100 required or just for words no in Thesaurus?]

dancedar avatar Aug 03 '15 21:08 dancedar

Exactly the same error, please Fiz it

sugeerth avatar Mar 04 '16 06:03 sugeerth

Same. Any chance this could be fixed for ST3 please? I'm desperately searching for a thesaurus feature!

fredgolightly avatar Jan 30 '18 10:01 fredgolightly

Did you add the API key from the installation instructions? Go to the site specified in the README and add the key to your package setting

graham768 avatar Mar 01 '18 20:03 graham768

Yep, exactly as specified. Same issue: ST's dialogue thing shows: No results were found for 'word'! Console shows: Enchant error: [WinError 2] The system cannot find the file specified, defaulting to dummy method...

On starting ST3 console also shows: reloading plugin Thesaurus.alternatives alternatives = ['error', 'No module named 'enchant''] reloading plugin Thesaurus.thesaurus

Any idea what could be going wrong?

fredgolightly avatar Mar 02 '18 10:03 fredgolightly

Same problem.

ghost avatar Mar 02 '18 16:03 ghost

I haven't looked at the source code at all, but my first guess would be installing pyenchant globally or wherever sublime plugins run since it can't find the pyenchant module 'enchant'

Try pip install -U pyenchant if you have pip for python installed already.

graham768 avatar Mar 02 '18 16:03 graham768

Actually the instructions on the main page are wrong. It is "api_key", not "thesaurus_api_key". The correct way to configure the "user settings" file is:

{
	"api_key": "api number here"
}

ghost avatar Mar 03 '18 18:03 ghost