[mary-users] add new language

Ingmar Steiner ingmar.steiner at dfki.de
Thu Mar 13 10:30:57 CET 2014


Dear Samir,

thanks for the DEBUG output from the request. But it would be important 
to see all of the DEBUG output from *before* you try to process the 
request, i.e., everything from running `marytts-server.sh` up to the message

> <date and time> [main] INFO  marytts.main Startup complete.

We need to make sure that your marytts-lang-xy module is actually loaded 
at startup.

Best wishes,

-Ingmar

On 13.03.14 06:51, Samir Abbasov wrote:
> Dear Ingmar Steiner, I run MaryTTS Server with
> `-Dlog4j.logger.marytts=DEBUG,
> stderr` parameter, and get following error:
>
>
> 2014-03-13 09:39:32,629 [I/O dispatcher 1] INFO  marytts.server
> Connection from null
> 2014-03-13 09:39:32,647 [I/O dispatcher 1] DEBUG marytts.server New
> synthesis request: /process
> 2014-03-13 09:39:32,648 [I/O dispatcher 1] DEBUG marytts.server
> LOCALE=xy
> 2014-03-13 09:39:32,648 [I/O dispatcher 1] DEBUG marytts.server
> AUDIO=WAVE_FILE
> 2014-03-13 09:39:32,648 [I/O dispatcher 1] DEBUG marytts.server
> INPUT_TYPE=TEXT
> 2014-03-13 09:39:32,648 [I/O dispatcher 1] DEBUG marytts.server
> INPUT_TEXT=salam
> 2014-03-13 09:39:32,648 [I/O dispatcher 1] DEBUG marytts.server
> OUTPUT_TYPE=PHONEMES
> 2014-03-13 09:39:32,648 [I/O dispatcher 1] WARN  marytts.Voice Could not
> find default voice for locale xy
> 2014-03-13 09:39:32,648 [I/O dispatcher 1] DEBUG marytts.server No voice
> requested -- using default null
> 2014-03-13 09:39:32,648 [I/O dispatcher 1] DEBUG marytts.server No audio
> effects requested
> 2014-03-13 09:39:32,653 [I/O dispatcher 1] INFO  marytts.R 0 New request
> (input type "TEXT", output type "PHONEMES", effect "", audio "AU")
> 2014-03-13 09:39:32,653 [I/O dispatcher 1] DEBUG marytts.IO Setting text
> input: salam
> 2014-03-13 09:39:32,654 [I/O dispatcher 1] WARN  marytts.Voice Could not
> find default voice for locale xy
> 2014-03-13 09:39:32,654 [I/O dispatcher 1] DEBUG marytts.Voice Couldn't
> find any voice at all
> 2014-03-13 09:39:32,654 [I/O dispatcher 1] INFO  marytts.server Read: salam
> 2014-03-13 09:39:32,654 [I/O dispatcher 1] DEBUG marytts.R 0 Now
> converting the following input data from TEXT to RAWMARYXML:
> 2014-03-13 09:39:32,654 [I/O dispatcher 1] DEBUG marytts.IO Writing Text
> output:
> salam
> 2014-03-13 09:39:32,654 [I/O dispatcher 1] DEBUG marytts.R 0 Determining
> which modules to use
> Salam
> 2014-03-13 09:39:32,655 [I/O dispatcher 1] DEBUG marytts.ModuleRegistry
> Module TextToMaryXML converts TEXT into RAWMARYXML (locale xy, voice null)
> 2014-03-13 09:39:32,655 [I/O dispatcher 1] DEBUG marytts.ModuleRegistry
> found path through modules
> 2014-03-13 09:39:32,655 [I/O dispatcher 1] INFO  marytts.R 0 Handling
> request using the following modules:
> 2014-03-13 09:39:32,655 [I/O dispatcher 1] INFO  marytts.R 0 -
> TextToMaryXML (marytts.modules.TextToMaryXML)
> 2014-03-13 09:39:32,655 [I/O dispatcher 1] DEBUG marytts.R 0 Handing the
> following data to the next module:
> 2014-03-13 09:39:32,655 [I/O dispatcher 1] DEBUG marytts.IO Writing Text
> output:
> salam
> 2014-03-13 09:39:32,656 [I/O dispatcher 1] INFO  marytts.R 0 Next
> module: TextToMaryXML
> 2014-03-13 09:39:32,656 [I/O dispatcher 1] DEBUG marytts.TextToMaryXML
> textNodeString=`salam'
> 2014-03-13 09:39:32,656 [I/O dispatcher 1] DEBUG marytts.R 0 Now
> splitting the following RAWMARYXML data into chunks:
> 2014-03-13 09:39:33,153 [I/O dispatcher 1] DEBUG marytts.IO <?xml
> version="1.0" encoding="UTF-8"?><maryxml
> xmlns="http://mary.dfki.de/2002/MaryXML"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="0.5"
> xml:lang="xy">
> <p>
> salam
> </p>
> </maryxml>
>
> 2014-03-13 09:39:33,155 [I/O dispatcher 1] DEBUG marytts.R 0 Now
> converting the following input data from RAWMARYXML to PHONEMES:
> 2014-03-13 09:39:33,156 [I/O dispatcher 1] DEBUG marytts.IO <?xml
> version="1.0" encoding="UTF-8"?><maryxml
> xmlns="http://mary.dfki.de/2002/MaryXML"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="0.5"
> xml:lang="xy">
> <p>
> salam
> </p>
> </maryxml>
>
> 2014-03-13 09:39:33,157 [I/O dispatcher 1] DEBUG marytts.R 0 Determining
> which modules to use
> Salam
> 2014-03-13 09:39:33,157 [I/O dispatcher 1] DEBUG marytts.ModuleRegistry
> Module JTokeniser converts RAWMARYXML into TOKENS (locale xy, voice null)
> 2014-03-13 09:39:33,157 [I/O dispatcher 1] DEBUG marytts.ModuleRegistry
> Module DummyTokens2Words converts TOKENS into WORDS (locale xy, voice null)
> 2014-03-13 09:39:33,157 [I/O dispatcher 1] DEBUG marytts.ModuleRegistry
> Module OpenNLPPosTagger converts WORDS into PARTSOFSPEECH (locale xy,
> voice null)
> 2014-03-13 09:39:33,158 [I/O dispatcher 1] ERROR marytts.server
> Processing failed.
>
> java.lang.UnsupportedOperationException: No known way of generating
> output from input -- no processing path through modules.
>      at marytts.server.Request.processOneChunk(Request.java:509)
>
>      at marytts.server.Request.processOrLookupOneChunk(Request.java:389)
>      at marytts.server.Request.process(Request.java:336)
>      at
> marytts.server.http.SynthesisRequestHandler.process(SynthesisRequestHandler.java:272)
>      at
> marytts.server.http.SynthesisRequestHandler.handleClientRequest(SynthesisRequestHandler.java:98)
>      at
> marytts.server.http.BaseHttpRequestHandler.handle(BaseHttpRequestHandler.java:144)
>      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.requestReceived(AsyncNHttpServiceHandler.java:225)
>      at
> org.apache.http.nio.protocol.BufferingHttpServiceHandler.requestReceived(BufferingHttpServiceHandler.java:127)
>      at
> org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:161)
>      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:744)
> 2014-03-13 09:39:33,162 [I/O dispatcher 1] DEBUG marytts.http Returning
> HTTP status 500: Processing failed.
>
> java.lang.UnsupportedOperationException: No known way of generating
> output from input -- no processing path through modules.
>      at marytts.server.Request.processOneChunk(Request.java:509)
>
>      at marytts.server.Request.processOrLookupOneChunk(Request.java:389)
>      at marytts.server.Request.process(Request.java:336)
>      at
> marytts.server.http.SynthesisRequestHandler.process(SynthesisRequestHandler.java:272)
>      at
> marytts.server.http.SynthesisRequestHandler.handleClientRequest(SynthesisRequestHandler.java:98)
>      at
> marytts.server.http.BaseHttpRequestHandler.handle(BaseHttpRequestHandler.java:144)
>      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.requestReceived(AsyncNHttpServiceHandler.java:225)
>      at
> org.apache.http.nio.protocol.BufferingHttpServiceHandler.requestReceived(BufferingHttpServiceHandler.java:127)
>      at
> org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:161)
>      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:744)
>
> 2014-03-13 09:39:33,164 [I/O dispatcher 1] INFO  marytts.server Request
> couldn't be handled successfully.
>
>
> On 12 March 2014 18:28, Ingmar Steiner <ingmar.steiner at dfki.de
> <mailto:ingmar.steiner at dfki.de>> wrote:
>
>     Dear Samir,
>
>     could you please paste DEBUG level output from your MaryTTS Server,
>     by setting the property `-Dlog4j.logger.marytts=DEBUG,__stderr`?
>
>     Best wishes,
>
>     -Ingmar
>
>
>     On 12.03.14 14:51, Samir Abbasov wrote:
>
>         Hi, i would like to build tts for xy language, i passed four
>         steps as
>         described in the link
>         https://github.com/marytts/__marytts/wiki/New-Language-__Support
>         <https://github.com/marytts/marytts/wiki/New-Language-Support> .
>         At the
>         fourth step I run marytts-server.sh and check output format up to
>         TARGETFEATURES, but it get the following error:
>
>
>            Internal server error
>
>         Processing failed.
>
>         java.lang.__UnsupportedOperationException: No known way of
>         generating output from input -- no processing path through modules.
>                  at
>         marytts.server.Request.__processOneChunk(Request.java:__508)
>                  at
>         marytts.server.Request.__processOrLookupOneChunk(__Request.java:389)
>                  at marytts.server.Request.__process(Request.java:336)
>                  at
>         marytts.server.http.__SynthesisRequestHandler.__process(__SynthesisRequestHandler.java:__272)
>                  at
>         marytts.server.http.__SynthesisRequestHandler.__handleClientRequest(__SynthesisRequestHandler.java:__98)
>                  at
>         marytts.server.http.__BaseHttpRequestHandler.handle(__BaseHttpRequestHandler.java:__144)
>                  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.__requestReceived(__AsyncNHttpServiceHandler.java:__225)
>                  at
>         org.apache.http.nio.protocol.__BufferingHttpServiceHandler.__requestReceived(__BufferingHttpServiceHandler.__java:127)
>                  at
>         org.apache.http.impl.nio.__DefaultNHttpServerConnection.__consumeInput(__DefaultNHttpServerConnection.__java:161)
>                  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:744)
>
>
>            Kind regards,
>
>         Samir
>
>
>
>         _________________________________________________
>         Mary-users mailing list
>         Mary-users at dfki.de <mailto:Mary-users at dfki.de>
>         http://www.dfki.de/mailman/__cgi-bin/listinfo/mary-users
>         <http://www.dfki.de/mailman/cgi-bin/listinfo/mary-users>
>
>


More information about the Mary-users mailing list