[mary-users] Developer Question

Norm Levy normlevy at shoutomatic.com
Wed Mar 12 15:28:17 CET 2014


Apologies Ingmar!

I meant "transcription.sh" not "translation.sh"
Thank you for any guidance!
Norm


On Tue, Mar 11, 2014 at 12:25 PM, Ingmar Steiner <ingmar.steiner at dfki.de>wrote:

> Dear Norm,
>
> I'm not sure what your translation.sh script does, or why it needs to run
> the TranscriptionGUI, but obviously it makes no sense to run a GUI headless.
>
> On the other hand, the MaryTTS server is designed specifically to be able
> to run on a remote machine. Several years ago, there were some issues with
> HeadlessExceptions (see http://mary.opendfki.de/ticket/357), but those
> should be long fixed. Please open a new issue at
> https://github.com/marytts/marytts/issues/new if you still have problems.
>
> On a different angle, it would be great to wrap the MaryTTS server in a
> WAR or something, but AFAIA, this is still on the wishlist...
>
> Best wishes,
>
> -Ingmar
>
> On 10.03.14 16:08, Norm Levy wrote:
>
>> Can the MARY TTS server be run via an API on a remote server?
>>
>> We compiled and successfully ran the client in the Windows OS but when
>> we pushed the compiled server code to our remote Linux box the server
>> does not run because it complains there is no display.
>>
>> Here is the Error from translation.sh:
>>
>> Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException:
>> No X11 DISPLAY variable was set, but this program performed an operation
>> which requires it.
>> at java.awt.GraphicsEnvironment.checkHeadless(
>> GraphicsEnvironment.java:173)
>> at java.awt.Window.<init>(Window.java:546)
>> at java.awt.Frame.<init>(Frame.java:419)
>> at java.awt.Frame.<init>(Frame.java:384)
>> at javax.swing.JFrame.<init>(JFrame.java:174)
>> at
>> marytts.tools.transcription.TranscriptionGUI.<init>(
>> TranscriptionGUI.java:67)
>> at
>> marytts.tools.transcription.TranscriptionGUI$18.run(
>> TranscriptionGUI.java:882)
>> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
>> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:673)
>> at java.awt.EventQueue.access$300(EventQueue.java:96)
>> at java.awt.EventQueue$2.run(EventQueue.java:634)
>> at java.awt.EventQueue$2.run(EventQueue.java:632)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> java.security.AccessControlContext$1.doIntersectionPrivilege(
>> AccessControlContext.java:108)
>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:643)
>> at
>> java.awt.EventDispatchThread.pumpOneEventForFilters(
>> EventDispatchThread.java:275)
>> at
>> java.awt.EventDispatchThread.pumpEventsForFilter(
>> EventDispatchThread.java:200)
>> at
>> java.awt.EventDispatchThread.pumpEventsForHierarchy(
>> EventDispatchThread.java:190)
>> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
>> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
>> at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
>>
>> Has anyone created hooks to allow for example, an Apache server to host
>> a project with access via API?
>>
>> Thank you VERY much!
>>
>> Norm Levy
>>
>>
>> _______________________________________________
>> Mary-users mailing list
>> Mary-users at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/mary-users
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/mary-users/attachments/20140312/87a2d33b/attachment.htm 


More information about the Mary-users mailing list