[mary-users] Developer Question

Ingmar Steiner ingmar.steiner at dfki.de
Sat Mar 15 15:35:50 CET 2014


Thanks, Nickolay, you beat me to it! =)

+1 for build from source. Depending on your platform, it's actually the only
solution (OSX 10.7+ anyone?)

On the other hand, an easy way to sidestep this would be to run a local VM just
for voicebuilding.

Best wishes,

-Ingmar

On March 15, 2014 at 8:22 AM "Nickolay V. Shmyrev" <nshmyrev at yandex.ru> wrote:
> Dear Norm
> 
> You can build the packages from source. You can use --prefix option for
> configure:
>
> ./configure --prefix=/home/norm/local && make && make install
>
> This way the software will be installed in /home/norm/local folder
> instead of /usr/local.
>
> You need to update PATH environment variable after that and probably
> LD_LIBRARY_PATH too.
>
> On 14/03/2014 at 16:45 -0400, Norm Levy wrote:
> > Hi Group!  A little help please :-)   Our host does not allow sudo
> > access, and we are unable to alter /usr/local directories, so we are
> > unable to install snack and SoX.  Do you know of any way we can make
> > these packages without requiring sudo access and access to /usr/local?
> >
> >
> > On Wed, Mar 12, 2014 at 10:28 AM, Norm Levy <normlevy at shoutomatic.com>
> > wrote:
> >         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
> > 
> > 
> > 
> >
> >
> > _______________________________________________
> > Mary-users mailing list
> > Mary-users at dfki.de
> > http://www.dfki.de/mailman/cgi-bin/listinfo/mary-users
>


More information about the Mary-users mailing list