Difference between revisions of "Troubleshooting"
(→General) |
|||
Line 31: | Line 31: | ||
Hemera requires UTF-8, [[Install_Hemera#UTF-8 |update your OS to use UTF-8]].<br /> | Hemera requires UTF-8, [[Install_Hemera#UTF-8 |update your OS to use UTF-8]].<br /> | ||
This locale must be installed on your OS, which can be confirmed using the ''locale'' command. | This locale must be installed on your OS, which can be confirmed using the ''locale'' command. | ||
+ | |||
+ | <br /> | ||
+ | ==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 [[Install_third-party_tools#SoX_v14.2.2B |SoX from source code]].<br /> | ||
+ | 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.<br /> | ||
+ | Update your [[Appendix#Configuration_file |configuration file]] comparing with the template in which corresponding option has been added later. | ||
+ | |||
+ | <br /> | ||
+ | ==lt-sox FAIL formats: can't open output file `/dev/dsp': Permission denied== | ||
+ | You may have installed [[Install_third-party_tools#SoX_v14.2.2B |SoX from source code]].<br /> | ||
+ | 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.<br /> | ||
+ | Ensure that end of report given by ''configure'' indicates support to your Sound Device.<br /> | ||
+ | For instance: | ||
+ | OPTIONAL DEVICE DRIVERS | ||
+ | alsa (Linux)...............yes | ||
+ | pulseaudio.................yes | ||
<br /> | <br /> |
Revision as of 13:22, 24 July 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-like GNU/Linux, 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
Seen under Debian-like GNU/Linux distribution; to fix it, you can create a symbolic link:
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 ix86.
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.