Difference between revisions of "Troubleshooting"
(→Speech core module) |
(→There was error while using mbrola, install corresponding file or create symbolic link) |
||
Line 63: | Line 63: | ||
==There was error while using mbrola, install corresponding file or create symbolic link== | ==There was error while using mbrola, install corresponding file or create symbolic link== | ||
This can happen if some mbrola voices model are not installed or reachable.<br /> | This can happen if some mbrola voices model are not installed or reachable.<br /> | ||
− | To fix this issue, | + | To fix this issue, you can follow [[Troubleshooting#.2Fusr.2Fshare.2Fmbrola.2Fvoices.2Ffr1_not_found |these instructions]] (adapted to missing model). |
==/usr/share/mbrola/voices/fr1 not found== | ==/usr/share/mbrola/voices/fr1 not found== |
Revision as of 18:12, 29 November 2011
Contents
- 1 General
- 1.1 configure: error: no acceptable C compiler found in $PATH
- 1.2 make: *** No targets specified and no makefile found. Stop.
- 1.3 There is WARNING or ERROR when using Hemera
- 1.4 GNU version of which not found. Please install it
- 1.5 You must update your LANG environment variable to use the UTF-8 charmaps ('XXX' detected)
- 1.6 Although the current OS locale 'XXX' defines to use the UTF-8 charmaps, it is not available (checked with 'locale -a')
- 1.7 lt-sox FAIL sox: Not enough input filenames specified; and SoX usage (lots of lines) is shown when Hemera attempts to play/rec sound
- 1.8 lt-sox FAIL formats: can't open output file `/dev/dsp': Permission denied
- 1.9 Unable to record sound with microphone
- 2 Speech core module
- 3 Speech Recognition core module
General
configure: error: no acceptable C compiler found in $PATH
You must prepare your computer for compiling source code.
make: *** No targets specified and no makefile found. Stop.
First, you must prepare your computer for compiling source code to ensure having GNU version of make.
Then, ensure a Makefile is available in the directory in which you launched the command.
The most of third-party tools uses autotools, so you usually need to launch ./configure to create such Makefile.
There is WARNING or ERROR when using Hemera
In this case, follow these instructions until you find a solution:
- fix the issue if the message gives instruction
- check the log (indicated on standard output) for more details
- lookup solution on other section of this Troubleshooting page
- ask for solution on the Help Forum
GNU version of which not found. Please install it
Hemera requires GNU version of which, which is natively provided by some GNU/Linux distribution.
Anyway, it is not the case of Debian-based distributions, in which case you must install it from source.
You must update your LANG environment variable to use the UTF-8 charmaps ('XXX' detected)
Hemera requires UTF-8, update your OS to use UTF-8.
Although the current OS locale 'XXX' defines to use the UTF-8 charmaps, it is not available (checked with 'locale -a')
Hemera requires UTF-8, update your OS to use UTF-8.
This locale must be installed on your OS, which can be confirmed using the locale command.
lt-sox FAIL sox: Not enough input filenames specified; and SoX usage (lots of lines) is shown when Hemera attempts to play/rec sound
You may have installed SoX from source code.
With this version, input and output must be specified on command line. For Default Sound Device (either as input or output), the option -d is use.
Update your configuration file comparing with the template in which corresponding option has been added later.
lt-sox FAIL formats: can't open output file `/dev/dsp': Permission denied
You may have installed SoX from source code.
It means your version of SoX version is missing support to your Sound Device. You must ensure having support to it (usually Alsa or PulseAudio) and compile source code again.
Ensure that end of report given by configure indicates support to your Sound Device.
For instance:
OPTIONAL DEVICE DRIVERS alsa (Linux)...............yes pulseaudio.................yes
Unable to record sound with microphone
You must ensure you can record with your microphone.
You can then perform sound check.
Speech core module
Detected version XXX of espeak which needs --pho option
This error message can be seen since version 1.44.0 of espeak, which needs a new option to be used as Phoneme mnemonics writer.
To fix this issue, check/update the following configuration element
hemera.core.speech.tool.options
There was error while using mbrola, install corresponding file or create symbolic link
This can happen if some mbrola voices model are not installed or reachable.
To fix this issue, you can follow these instructions (adapted to missing model).
Since version 1.44, espeak changes the way it looks up for language files.
Follow these instructions according to situation.
On Debian-based distributions, this directory is usually created by mbrola language packages (e.g. mbrola-fr4); so to fix this issue, you can create a symbolic link:
ln -s /usr/share/mbrola/voices/fr4 /usr/share/mbrola/voices/fr1
This issue has been seen on recent version of Redhat-based distributions (e.g. Fedora 14).
To fix it, perform these instructions as root:
mkdir -p /usr/share/mbrola ln -s HEMERA_TP_PATH/speech/data/language /usr/share/mbrola/voices ln -s /usr/share/mbrola/voices/fr4 /usr/share/mbrola/voices/fr1
Speech Recognition core module
lia_phon is stuck on "Initialisation des tableaux 1.2.3-grams"
If you have an x86_64 OS architecture, you must force lia_phon compilation to x86.
You can use the patch provided by the Hemera little speech recognition model creation project .
sphinx3_decode failed in Segmentation Fault
There is some incompatibility between x86_64 old version of sphinx3_decode and UTF-8 language model.
You may follow these instructions.
there is no "answer" when I speak in microphone
You must ensure you can record with your microphone.
You can then perform sound check.