The error you may see:
If you made error in path to Python executable, you may don't see any error or may see this:
Query error: The program has returned exit code 255.
If you path to Python executable contains space character, must quote path like "C:\Program Files\Python27\python.exe"
If you try use Python3 (and not Python 2.7):
Query error: The program has returned exit code 1. Traceback (most recent call last): File "GoldenDict_plugin_for_full-text-search_in_StarDict_dictionaries/full-text-search-simpler.py", line 105, in <module> print(do_search(args.word,args.file)) File "GoldenDict_plugin_for_full-text-search_in_StarDict_dictionaries/full-text-search-simpler.py", line 72, in do_search text=text.decode(sys.getfilesystemencoding()) AttributeError: 'str' object has no attribute 'decode'
If you made error in path to python script:
Query error: The program has returned exit code 2. python: can't open file 'GoldenDict_plugin_for_full-text-search_in_StarDict_dictionaries/full-text-search-simpler.py': [Errno 2] No such file or directory
If you path contains space character, must quote path.
If you made error in path to StarDict dictionary, you may see:
Query error: The program has returned exit code 1. Traceback (most recent call last): File "GoldenDict_plugin_for_full-text-search_in_StarDict_dictionaries/full-text-search-simpler.py", line 105, in <module> print(do_search(args.word,args.file)) File "GoldenDict_plugin_for_full-text-search_in_StarDict_dictionaries/full-text-search-simpler.py", line 74, in do_search dict = pystardict.StarDict(dictionary_file_prefix) File "GoldenDict_plugin_for_full-text-search_in_StarDict_dictionaries/pystardict.py", line 426, in __init__ DictionaryType.__init__(self, filename_prefix) File "GoldenDict_plugin_for_full-text-search_in_StarDict_dictionaries/dictionary.py", line 71, in __init__ self.load(self.__filepath) File "GoldenDict_plugin_for_full-text-search_in_StarDict_dictionaries/pystardict.py", line 454, in load raise DictFormatError(e) dictionary.DictFormatError: Exception('.ifo file does not exists',)
For example, if you dictionary is
"F:\GoldenDict\content\dic\LIKIT EKZ 2008\LIKIT EKZ 2008.ifo"
you should specify path to it as
"F:\GoldenDict\content\dic\LIKIT EKZ 2008\LIKIT EKZ 2008"
(without
.ifo)