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