Устранение неисправностей

Если в работе StarDict возникают проблемы, изучите вывод StarDict. По умолчанию приложение выводит наиболее важные сообщения в стандартный поток вывода и стандартный поток ошибок. Для просмотра сообщений запустите StarDict из консоли. Вывод можно сделать более подробным с помощью параметра командной строки --message-level (см. Раздел 7.1 ― Параметры командной строки).

Для просмотра стандартного потока вывода и стандартного потока ошибок в Windows запустите StarDict из консоли Windows и передайте ненулевой аргумент параметру командной строки --message-level. К сожалению, консоль Windows часто не может отобразить все отправляемые на вывод символы Юникода. В этом случае следует перенаправить вывод в файл или воспользоваться возможностью журналирования StarDict.

Рисунок 13Запуск StarDict из консоли Windows

Иногда StarDict ничего не выводит в консоль или консоль недоступна. В таком случае следует включить возможность журналирования (подробнее: Раздел 7.5 ― Журналирование).

If StarDict fails to start, it's recommended to set the output message level to the highest value so you can see all produced messages. They may help in diagnosing the cause of the problem. StarDict loads a number of plug-ins at startup. A broken plug-in may crash or hang the entire application. Each plug-in prints Loading PLUG-IN NAME plug-in... at the very begging of the plug-in initialization process. PLUG-IN NAME plug-in loaded. message marks the end of the initialization process. If you do not see the paired message, the plug-in definitely fails to load. Plug-ins normally print error messages, they may help you to identify and fix the problem. On the other hand, you may simply remove the misbehaving plug-in. Just remove the corresponding library. All plug-in are optional, StarDict will work without plug-ins.

Typical StarDict output:

[debug] Loading StarDict configuration...
[debug] StarDict configuration loaded.
[debug] Loading skin...
[debug] Skin loaded.
[debug] Loading Man plug-in...
Man plug-in loaded.
[debug] Loading WordNet dict rendering plug-in...
WordNet dict rendering plug-in loaded.
[debug] Loading Wiki data parsing plug-in...
Wiki data parsing plug-in loaded.
[debug] Loading Spelling plug-in...
Spelling plugin loaded.
[debug] Loading Gucharmap plug-in...
Gucharmap plug-in loaded.
[debug] Loading QQWry plug-in...
QQWry plug-in loaded.
[debug] Loading Dict.cn plug-in...
Dict.cn plug-in loaded.
[debug] Loading WordNet data parsing plug-in...
WordNet data parsing plug-in loaded.
[debug] Loading Festival plug-in...
Festival plug-in loaded.
[debug] Loading XDXF data parsing plug-in...
XDXF data parsing plug-in loaded.
[debug] Loading HTML data parsing plug-in...
HTML data parsing plug-in loaded.
[debug] Loading Espeak plug-in...
Espeak plug-in loaded.
[debug] Loading PowerWord data parsing plug-in...
PowerWord data parsing plug-in loaded.
bookname: StarDict dictionary, wordcount 9