[mary-users] TTS error with semicolon

Morgan Galpin morgangalpin at gmail.com
Wed Nov 10 22:20:06 CET 2010


I've been converting a series that I've been reading online to a set of wav
files. Usually it goes well, but it has been choking on the latest blob of
text I've been feeding it. I slowly reduced the input text until I narrowed
down what was causing the error. The specific text that caused the error is:

;-)

After I narrowed it down a little more, it turns out that it is just the
semicolon.

Let me know if you need any more information,
Morgan.



System: Windows XP Professional 32bit

Java version:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)

Installed MARY using: openmary-standalone-install-4.1.1.jar

Input Type: TEXT

Input text: ;

Output Type: AUDIO

Voice: us1 (English, female)

Effects: none


Expected result: Skip over the semicolon and output a wav file to the file
name I selected.

Actual result: non-specific server error reported and no wav file written.
The client simply displays the dialog:

"IOException",  Server returned HTTP response code: 500 for URL:
http://localhost:59125/process   If you think this is a bug in the MARY
system... [file a bug at] http://mary.opendfki.de/newticket

I couldn't log in to create a bug report there either, but that is a
secondary issue.


Debug output log:
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.server Connection
from null
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 New request
(input type "TEXT", output type "AUDIO", voice "us1", effect "", style "",
audio "WAVE")
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.server Read: ;
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 Handling
request using the following modules:
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 -
TextToMaryXML (marytts.modules.TextToMaryXML)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 Next module:
TextToMaryXML
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 Handling
request using the following modules:
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 - JTokeniser
(marytts.language.en.JTokeniser)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 - XML2Utt
TokensEn (marytts.language.en.XML2UttTokensEn)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 - TokenToWords
(marytts.language.en.FreeTTSTokenToWords)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 - Utt2XML
WordsEn (marytts.language.en.Utt2XMLWordsEn)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 -
OpenNLPPosTagger (marytts.modules.OpenNLPPosTagger)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 - JPhonemiser
(marytts.modules.JPhonemiser)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 - Prosody
(marytts.language.en.Prosody)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 -
PronunciationModel (marytts.language.en.PronunciationModel)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 -
KlattDurationModeller (marytts.modules.KlattDurationModeller)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 -
ContourGenerator (marytts.modules.TobiContourGenerator)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 - Synthesis
(marytts.modules.Synthesis)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 Next module:
JTokeniser
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.R 21 Next module:
XML2Utt TokensEn
2010-11-10 12:47:32,375 [I/O dispatcher 6] ERROR marytts.server Processing
failed.
java.lang.AssertionError
    at marytts.modules.XML2UttBase.fillUtterance(XML2UttBase.java:249)
    at
marytts.language.en.XML2UttTokensEn.fillUtterance(XML2UttTokensEn.java:57)
    at marytts.modules.XML2UttBase.process(XML2UttBase.java:149)
    at marytts.server.Request.processOneChunk(Request.java:553)
    at marytts.server.Request.processOrLookupOneChunk(Request.java:394)
    at marytts.server.Request.process(Request.java:341)
    at
marytts.server.http.SynthesisRequestHandler.process(SynthesisRequestHandler.java:286)
    at
marytts.server.http.SynthesisRequestHandler.handleClientRequest(SynthesisRequestHandler.java:112)
    at
marytts.server.http.BaseHttpRequestHandler.handle(BaseHttpRequestHandler.java:150)
    at
org.apache.http.nio.protocol.BufferingHttpServiceHandler$RequestHandlerAdaptor.handle(BufferingHttpServiceHandler.java:193)
    at
org.apache.http.nio.protocol.SimpleNHttpRequestHandler.handle(SimpleNHttpRequestHandler.java:55)
    at
org.apache.http.nio.protocol.AsyncNHttpServiceHandler.processRequest(AsyncNHttpServiceHandler.java:454)
    at
org.apache.http.nio.protocol.AsyncNHttpServiceHandler.inputReady(AsyncNHttpServiceHandler.java:320)
    at
org.apache.http.nio.protocol.BufferingHttpServiceHandler.inputReady(BufferingHttpServiceHandler.java:135)
    at
org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:179)
    at
org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(DefaultServerIOEventDispatch.java:145)
    at
org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:153)
    at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:314)
    at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:294)
    at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:256)
    at
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:96)
    at
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:556)
    at java.lang.Thread.run(Unknown Source)
2010-11-10 12:47:32,375 [I/O dispatcher 6] INFO  marytts.server Request
couldn't be handled successfully.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/mary-users/attachments/20101110/9296fc7b/attachment.htm 


More information about the Mary-users mailing list