[mary-users] How to install voices using installer?

Robert Schuon rschuon at mindspring.com
Tue Apr 8 22:44:37 CEST 2014


Well, that got us further - Thank you!!  I added the environment vars to the PATH, and it starts to compile.  However, it fails, and says Mary is not running, even though I tried it with the local server running, and not running and it give the same error message in both cases:

-------------------------------------------------------------------------------
Test set: marytts.voice.Myvoice2Hsmm.LoadVoiceIT
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.625 sec <<< FAILURE!
marytts.voice.Myvoice2Hsmm.LoadVoiceIT  Time elapsed: 0 sec  <<< ERROR!
java.lang.Exception: Problem starting module Synthesis
	at marytts.server.Mary.startModules(Mary.java:150)
	at marytts.server.Mary.startup(Mary.java:298)
	at marytts.server.Mary.startup(Mary.java:205)
	at marytts.util.MaryRuntimeUtils.ensureMaryStarted(MaryRuntimeUtils.java:71)
	at marytts.voice.Myvoice2Hsmm.LoadVoiceIT.beforeClass(LoadVoiceIT.java:14)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
	at com.sun.proxy.$Proxy0.invoke(Unknown Source)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: marytts.exceptions.MaryConfigurationException: Cannot instantiate voice 'myvoice2-hsmm'
	at marytts.modules.synthesis.Voice.<init>(Voice.java:207)
	at marytts.htsengine.HMMVoice.<init>(HMMVoice.java:88)
	at marytts.modules.synthesis.HMMSynthesizer.startup(HMMSynthesizer.java:155)
	at marytts.modules.Synthesis.startupSynthesizers(Synthesis.java:82)
	at marytts.modules.Synthesis.startup(Synthesis.java:72)
	at marytts.server.Mary.startModules(Mary.java:148)
	... 25 more
Caused by: marytts.exceptions.MaryConfigurationException: Cannot instantiate model 'duration' of type 'hmm' from 'null'
	at marytts.modules.synthesis.Voice.loadAcousticModels(Voice.java:349)
	at marytts.modules.synthesis.Voice.init(Voice.java:241)
	at marytts.modules.synthesis.Voice.<init>(Voice.java:205)
	... 30 more
Caused by: marytts.exceptions.MaryConfigurationException: Cannot load model data from stream
	at marytts.modules.acoustic.Model.load(Model.java:141)
	at marytts.modules.acoustic.HMMModel.<init>(HMMModel.java:104)
	at marytts.modules.synthesis.Voice.loadAcousticModels(Voice.java:343)
	... 32 more
Caused by: java.io.IOException: Unexpected input: expected 'ByteValuedFeatureProcessors', read '


More information about the Mary-users mailing list