wikispeech_1 | wikispeech_1 | INFO: mapperMapFromMary( ' t w E l v , en , {'mapper': {'to': 'en-us_sampa_mary', 'from': 'en-us_ws-sampa'}, 'call': 'marytts_preproc', 'module': 'adapters.marytts_adapter'} ) wikispeech_1 | INFO: mapperMapFromMary( j 9 - t @ - ' b O r g , sv , {'mapper': {'to': 'sv-se_sampa_mary', 'from': 'sv-se_ws-sampa'}, 'call': 'marytts_preproc', 'module': 'adapters.marytts_adapter'} ) wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: ALL SELF-TESTS RUN SUCCESSFULLY wikispeech_1 | INFO: Loaded textprocessors: [{"name":"marytts_textproc_sv", "lang":"sv"}, {"name":"test_textproc_sv", "lang":"sv"}, {"name":"marytts_textproc_nb", "lang":"nb"}, {"name":"marytts_textproc_nb", "lang":"nb"}, {"name":"marytts_textproc_en", "lang":"en"}, {"name":"test_textproc_en", "lang":"en"}, {"name":"ws_textproc_en", "lang":"en"}, {"name":"basic_en", "lang":"en"}, {"name":"basic_eu", "lang":"eu"}, {"name":"marytts_textproc_ar", "lang":"ar"}] wikispeech_1 | INFO: Loaded textprocessors for languages: ['sv', 'nb', 'en', 'eu', 'ar'] wikispeech_1 | INFO: Loaded voices: [{name:stts_sv_nst-hsmm, lang:sv}, {name:stts_no_nst-hsmm, lang:nb}, {name:dfki-spike-hsmm, lang:en}, {name:cmu-slt-hsmm, lang:en}, {name:cmu-slt-flite, lang:en}, {name:ar-nah-hsmm, lang:ar}] wikispeech_1 | INFO: Loaded voices for languages: ['sv', 'nb', 'en', 'ar'] wikispeech_1 | INFO: Supported languages: ['sv', 'nb', 'en', 'ar'] wikispeech_1 | INFO: port_nr set to 10000 wikispeech_1 | INFO: DEBUG_MODE set to False wikispeech_1 | INFO: The wikispeech server can be accessed at http://localhost:10000 wikispeech_1 | The wikispeech server can be accessed at http://localhost:10000 wikispeech_1 | (The following line comes from the flask server, ignore it..) wikispeech_1 | INFO: request: wikispeech_1 | INFO: request.url: http://wikispeech-tts.wmflabs.org/ wikispeech_1 | INFO: hostname: http://wikispeech-tts.wmflabs.org/ wikispeech_1 | INFO: mapperMapFromMary( ' b l A n d , en-US , {'mapper': {'to': 'en-us_sampa_mary', 'from': 'en-us_ws-sampa'}, 'call': 'marytts_preproc', 'module': 'adapters.marytts_adapter'} ) wikispeech_1 | INFO: mapperMapFromMary( ' A n , en-US , {'mapper': {'to': 'en-us_sampa_mary', 'from': 'en-us_ws-sampa'}, 'call': 'marytts_preproc', 'module': 'adapters.marytts_adapter'} ) wikispeech_1 | INFO: mapperMapFromMary( ' b l A n d , en-US , {'mapper': {'to': 'en-us_sampa_mary', 'from': 'en-us_ws-sampa'}, 'call': 'marytts_preproc', 'module': 'adapters.marytts_adapter'} ) wikispeech_1 | INFO: Looking for audio file tmp/flite_out.wav wikispeech_1 | INFO: Looking for audio file tmp/tmpfq_qjgq0.opus wikispeech_1 | INFO: request: wikispeech_1 | INFO: request.url: http://wikispeech-tts.wmflabs.org/ wikispeech_1 | INFO: hostname: http://wikispeech-tts.wmflabs.org/ wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/test.html wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/responsivetabs/css/font-awesome.css wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/responsivetabs/css/style.css wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/Trumbowyg-master/dist/ui/trumbowyg.css wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/wikispeech_simple_player.js wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/responsivetabs/js/tabs.js wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/sorttable.js wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/jquery/jquery-3.1.0.min.js wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/Trumbowyg-master/dist/trumbowyg.js wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/json-editor/jsoneditor.js wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/json-editor/initialise.js wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/test_workflow.js wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/add_testdata.js wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/responsivetabs/fonts/oxygen/oxygen-v5-latin-regular.woff2 wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/responsivetabs/fonts/oxygen/oxygen-v5-latin-700.woff2 wikispeech_1 | INFO: Looking for static file /wikispeech/wikispeech_mockup/workflow_demo/ext/Trumbowyg-master/dist/ui/icons.svg wikispeech_1 | INFO: Lexserver proxy to: http://localhost:8787/lexicon/list wikispeech_1 | INFO: mapperMapFromMary( ' m V N - k i , en_US , {'mapper': {'to': 'en-us_sampa_mary', 'from': 'en-us_ws-sampa'}, 'call': 'marytts_preproc', 'module': 'adapters.marytts_adapter'} ) wikispeech_1 | INFO: Lexserver proxy to: http://localhost:8787/lexicon/lookup?lexicons=wikispeech_testdb%3Aenu&pagelength=2&words=monkey wikispeech_1 | INFO: request: wikispeech_1 | INFO: request.url: http://wikispeech-tts.wmflabs.org/ wikispeech_1 | INFO: hostname: http://wikispeech-tts.wmflabs.org/ wikispeech_1 | INFO: request: dummy<%2Fphoneme><%2Fspeak>' [GET]> wikispeech_1 | INFO: request.url: http://wikispeech-tts.wmflabs.org/?lang=sv&input_type=ssml&input=dummy<%2Fphoneme><%2Fspeak> wikispeech_1 | INFO: hostname: http://wikispeech-tts.wmflabs.org/ wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: mapperMapFromMary( A: p a , sv , {'mapper': {'to': 'sv-se_sampa_mary', 'from': 'sv-se_ws-sampa'}, 'call': 'marytts_preproc', 'module': 'adapters.marytts_adapter'} ) wikispeech_1 | WARNING: LEXICON LOOKUP STRING IS EMPTY! wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: Looking for audio file tmp/tmpz0jn2aee.opus wikispeech_1 | INFO: request: <%2Fphoneme><%2Fspeak>' [GET]> wikispeech_1 | INFO: request.url: http://wikispeech-tts.wmflabs.org/?lang=sv&input_type=ssml&input=<%2Fphoneme><%2Fspeak> wikispeech_1 | INFO: hostname: http://wikispeech-tts.wmflabs.org/ wikispeech_1 | INFO: marytts mapper defined for language sv wikispeech_1 | From: sv-se_ws-sampa wikispeech_1 | To: sv-se_sampa_mary wikispeech_1 | INFO: request: <%2Fphoneme><%2Fspeak>' [GET]>[2017-12-05 09:05:09,348] ERROR in app: Exception on / [GET] wikispeech_1 | Traceback (most recent call last): wikispeech_1 | File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1982, in wsgi_app wikispeech_1 | response = self.full_dispatch_request() wikispeech_1 | File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1614, in full_dispatch_request wikispeech_1 | rv = self.handle_user_exception(e) wikispeech_1 | File "/usr/local/lib/python3.5/dist-packages/flask_cors/extension.py", line 161, in wrapped_function wikispeech_1 | return cors_after_request(app.make_response(f(*args, **kwargs))) wikispeech_1 | File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1517, in handle_user_exception wikispeech_1 | reraise(exc_type, exc_value, tb) wikispeech_1 | File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise wikispeech_1 | raise value wikispeech_1 | File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1612, in full_dispatch_request wikispeech_1 | rv = self.dispatch_request() wikispeech_1 | File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1598, in dispatch_request wikispeech_1 | return self.view_functions[rule.endpoint](**req.view_args) wikispeech_1 | File "./wikispeech_server/wikispeech.py", line 236, in wikispeech wikispeech_1 | markup = textproc(lang, textprocessor_name, input, input_type=input_type) wikispeech_1 | File "./wikispeech_server/wikispeech.py", line 455, in textproc wikispeech_1 | utt = process(text, lang, component, input_type=input_type) wikispeech_1 | File "./wikispeech_server/adapters/marytts_adapter.py", line 62, in marytts_preproc wikispeech_1 | raise ValueError("marytts call failed with error", r.status_code, r.text) wikispeech_1 | ValueError: ('marytts call failed with error', 500, '

Internal server error

Processing failed.

java.lang.NullPointerException: Document does not have a paragraph\n\tat marytts.server.Request.moveBoundariesIntoParagraphs(Request.java:720)\n\tat marytts.server.Request.process(Request.java:310)\n\tat marytts.server.http.SynthesisRequestHandler.process(SynthesisRequestHandler.java:261)\n\tat marytts.server.http.SynthesisRequestHandler.handleClientRequest(SynthesisRequestHandler.java:91)\n\tat marytts.server.http.BaseHttpRequestHandler.handle(BaseHttpRequestHandler.java:138)\n\tat org.apache.http.nio.protocol.BufferingHttpServiceHandler$RequestHandlerAdaptor.handle(BufferingHttpServiceHandler.java:189)\n\tat org.apache.http.nio.protocol.SimpleNHttpRequestHandler.handle(SimpleNHttpRequestHandler.java:51)\n\tat org.apache.http.nio.protocol.AsyncNHttpServiceHandler.processRequest(AsyncNHttpServiceHandler.java:453)\n\tat org.apache.http.nio.protocol.AsyncNHttpServiceHandler.requestReceived(AsyncNHttpServiceHandler.java:225)\n\tat org.apache.http.nio.protocol.BufferingHttpServiceHandler.requestReceived(BufferingHttpServiceHandler.java:127)\n\tat org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:161)\n\tat org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(DefaultServerIOEventDispatch.java:147)\n\tat org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)\n\tat org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:335)\n\tat org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)\n\tat org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)\n\tat org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)\n\tat org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:542)\n\tat java.lang.Thread.run(Thread.java:748)\n
') wikispeech_1 | 10.68.21.68 - - [05/Dec/2017 09:05:09] "GET /?lang=sv&input_type=ssml&input=%3Cspeak%20version%3D%221.0%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2F10%2Fsynthesis%22%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20xsi%3Aschemalocation%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2F10%2Fsynthesis%20http%3A%2F%2Fwww.w3.org%2FTR%2Fspeech-synthesis%2Fsynthesis.xsd%22%20xml%3Alang%3D%22sv%22%3E%3Cphoneme%20alphabet%3D%22x-sampa%22%20ph%3D%22A%3A%20p%20a%22%3E%3C%2Fphoneme%3E%3C%2Fspeak%3E HTTP/1.1" 500 -