[mary-dev] Issue in voice building

Sébastien Le Maguer slemaguer at coli.uni-saarland.de
Wed May 27 07:29:41 CEST 2015


Hi,

this problem is related to this bug (tracked on github) : https://github.com/marytts/marytts/issues/285

The correction is under progress and will be released as soon as possible. I suggest to track this bug in order to be notified when the correction will be released.

Kind regards,
Sébastien

Anil John M writes:

> Dear All,
>
> I am trying the build a parametric English voice using the recent git version
> of MaryTTS, with OpenJDK 1.7 installed.
>
> When trying to run the step 2. AllophoneExtractor, VoiceImport tool throws the
> following Exception list:
>
> Mary TTS client 5.2-SNAPSHOT (impl. unknown)
> Connected to localhost:59125, Mary TTS server 5.2-SNAPSHOT (impl. unknown)
>  eng_jan_0001
>  eng_jan_0002
>  eng_jan_0003
>  eng_jan_0004
>  eng_jan_0005
>  eng_jan_0006
>  eng_jan_0007
> java.lang.Exception: The component AllophonesExtractor produced the following
> exception:
>  at marytts.tools.voiceimport.DatabaseImportMain$8.run
> (DatabaseImportMain.java:277)
> Caused by: java.io.IOException: Error message from server:
> <html><body><h1>Internal server error</h1><p>Processing failed.<pre>
> java.lang.Exception: Module JPhonemiser: Problem processing the data.
>  at marytts.server.Request.processOneChunk(Request.java:550)
>  at marytts.server.Request.processOrLookupOneChunk(Request.java:385)
>  at marytts.server.Request.process(Request.java:327)
>  at marytts.server.http.SynthesisRequestHandler.process
> (SynthesisRequestHandler.java:261)
>  at marytts.server.http.SynthesisRequestHandler.handleClientRequest
> (SynthesisRequestHandler.java:91)
>  at marytts.server.http.BaseHttpRequestHandler.handle
> (BaseHttpRequestHandler.java:138)
>  at
> org.apache.http.nio.protocol.BufferingHttpServiceHandler$RequestHandlerAdaptor.handle
> (BufferingHttpServiceHandler.java:189)
>  at org.apache.http.nio.protocol.SimpleNHttpRequestHandler.handle
> (SimpleNHttpRequestHandler.java:51)
>  at org.apache.http.nio.protocol.AsyncNHttpServiceHandler.processRequest
> (AsyncNHttpServiceHandler.java:453)
>  at org.apache.http.nio.protocol.AsyncNHttpServiceHandler.inputReady
> (AsyncNHttpServiceHandler.java:316)
>  at org.apache.http.nio.protocol.BufferingHttpServiceHandler.inputReady
> (BufferingHttpServiceHandler.java:131)
>  at org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput
> (DefaultNHttpServerConnection.java:173)
>  at org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady
> (DefaultServerIOEventDispatch.java:147)
>  at org.apache.http.impl.nio.reactor.BaseIOReactor.readable
> (BaseIOReactor.java:161)
>  at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent
> (AbstractIOReactor.java:335)
>  at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents
> (AbstractIOReactor.java:315)
>  at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute
> (AbstractIOReactor.java:275)
>  at org.apache.http.impl.nio.reactor.BaseIOReactor.execute
> (BaseIOReactor.java:104)
>  at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run
> (AbstractMultiworkerIOReactor.java:542)
>  at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: Allophone `'' could not be found
> in AllophoneSet `sampa' (Locale: en_US)
>  at marytts.modules.phonemiser.AllophoneSet.getAllophone
> (AllophoneSet.java:224)
>  at marytts.modules.phonemiser.AllophoneSet.syllabify(AllophoneSet.java:550)
>  at marytts.modules.phonemiser.TrainedLTS.syllabify(TrainedLTS.java:163)
>  at marytts.modules.JPhonemiser.phonemise(JPhonemiser.java:236)
>  at marytts.modules.JPhonemiser.process(JPhonemiser.java:164)
>  at marytts.server.Request.processOneChunk(Request.java:548)
>  ... 19 more
> </pre></body></html>
>  at marytts.client.http.MaryHttpClient.requestInputStream
> (MaryHttpClient.java:397)
>  at marytts.client.http.MaryHttpClient._process(MaryHttpClient.java:439)
>  at marytts.client.MaryClient.process(MaryClient.java:653)
>  at marytts.client.MaryClient.process(MaryClient.java:659)
>  at marytts.tools.voiceimport.AllophonesExtractor.generateAllophonesFile
> (AllophonesExtractor.java:218)
>  at marytts.tools.voiceimport.AllophonesExtractor.compute
> (AllophonesExtractor.java:150)
>  at marytts.tools.voiceimport.DatabaseImportMain$8.run
> (DatabaseImportMain.java:274)
> Caused by: java.io.IOException: Server returned HTTP response code: 500 for
> URL: http://localhost:59125/process
>  at sun.net.www.protocol.http.HttpURLConnection.getInputStream
> (HttpURLConnection.java:1627)
>  at marytts.client.http.MaryHttpClient.requestInputStream
> (MaryHttpClient.java:388)
>  ... 6 more
>
> Looking at the error highlighted in red colour, there is no such character in
> that sentence.
> Exploring the issues on marytts, this is an old issue #285, raised in Feb'2015.
> It is mentioned on this commit "Merge branch 'fix-285" https://github.com/
> marytts/marytts/commit/a84e5d8f6d4e4b88e7768ace49d5bdfc8c6db0e5 that it is
> fixed. I cloned this commit and tried to build voice again, but it too failed
> with same Exception.
>
> If anyone has faced the same issue and addressed fixing it and continued in
> successful voice building, please share how to fix and continue.
>
> Thank you
> Anil

-- 
Dr. Sébastien Le Maguer
Postdoctorate researcher

Saarland University
Campus C7.4 - room 2.03
D-66123 Saarbrücken
Germany

phone : +49-681-302-70030
Mail: slemaguer at coli.uni-saarland.de
website :  http://www.coli.uni-saarland.de/~slemaguer/


More information about the Mary-dev mailing list