marytts / gradle-marytts-voicebuilding-plugin

A replacement for the legacy VoiceImportTools in MaryTTS
http://mary.dfki.de/
GNU General Public License v3.0
16 stars 12 forks source link

ArrayIndexOutOfBoundsException while running extractF0Features task #121

Closed muntasir2000 closed 4 years ago

muntasir2000 commented 4 years ago

The extractF0Features task fails with ArrayIndexOutOfBoundsException. I am training for an officially unsupported language, Bangla. Any clue?

Log -

> Task :extractF0Features
Task ':extractF0Features' is not up-to-date because:
  Task has failed previously.

> Task :extractF0Features FAILED
:extractF0Features (Thread[Daemon worker Thread 5,5,main]) completed. Took 17.461 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':extractF0Features'.
> java.lang.ArrayIndexOutOfBoundsException (no error message)

* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':extractF0Features'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
        at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
        at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:74)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph.execute(DefaultTaskExecutionGraph.java:143)
        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:40)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:40)
        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:24)
        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:46)
        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:49)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:40)
        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:33)
        at org.gradle.initialization.DefaultGradleLauncher$ExecuteTasks.run(DefaultGradleLauncher.java:355)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.initialization.DefaultGradleLauncher.runTasks(DefaultGradleLauncher.java:219)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
        at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:124)
        at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:77)
        at org.gradle.internal.invocation.GradleBuildController$1.call(GradleBuildController.java:74)
        at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:154)
        at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:38)
        at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:96)
        at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:74)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.run(RunAsBuildOperationBuildActionRunner.java:50)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:45)
        at org.gradle.tooling.internal.provider.SubscribableBuildActionRunner.run(SubscribableBuildActionRunner.java:51)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:47)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:44)
        at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:79)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:44)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
        at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:39)
        at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:80)
        at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:53)
        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:62)
        at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:34)
        at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
        at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
        at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
        at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:44)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:46)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)
        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
        at org.gradle.util.Swapper.swap(Swapper.java:38)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
        at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:81)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:122)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:295)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: java.lang.ArrayIndexOutOfBoundsException

* Get more help at https://help.gradle.org

BUILD FAILED in 19s
34 actionable tasks: 1 executed, 33 up-to-date
seblemaguer commented 4 years ago

Hello,

in case of, could you run by adding the option --stacktrace or you already did?

Thanks

muntasir2000 commented 4 years ago

Yes, the provided output is with --stacktrace option.

In case --debug is helpful, here it is -


00:40:58.946 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :extractF0Features
00:40:58.946 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Task :extractF0Features' started
00:40:58.946 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':extractF0Features'
00:40:58.946 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Putting task artifact state for task ':extractF0Features' into context took 0.0 secs.
00:40:58.947 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':extractF0Features' is up-to-date
00:40:58.947 [DEBUG] [org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository] Implementation for task ':extractF0Features': de.dfki.mary.voicebuilding.tasks.ExtractF0Features_Decorated@5b11296d7435f9126e50f2ea495cf026
00:40:58.947 [DEBUG] [org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository] Action implementations for task ':extractF0Features': [de.dfki.mary.voicebuilding.tasks.ExtractF0Features_Decorated@5b11296d7435f9126e50f2ea495cf026]
00:40:58.947 [DEBUG] [org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository] Fingerprinting property featureFile (AbsolutePathInput) for task ':extractF0Features'
00:40:58.947 [DEBUG] [org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository] Fingerprinting property timelineFile (AbsolutePathInput) for task ':extractF0Features'
00:40:58.947 [DEBUG] [org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository] Fingerprinting property unitFile (AbsolutePathInput) for task ':extractF0Features'
00:40:58.947 [DEBUG] [org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository] Fingerprinting property destFile (Output) for task ':extractF0Features'
00:40:58.948 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Task ':extractF0Features' is not up-to-date because:
  Task has failed previously.
00:40:58.948 [DEBUG] [org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter] Ensuring parent directory exists for property destFile (Output) at /home/tareq/bn-voicebuilding-marytts/build/prosody/f0.feats
00:40:58.948 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':extractF0Features'.
00:40:58.948 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Execute extract for :extractF0Features' started
00:41:03.614 [LIFECYCLE] [org.gradle.process.internal.health.memory.MemoryManager] 
00:41:03.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 8239976448, Free: 2001104896}
00:41:03.614 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 8239976448, Free: 2001104896}
00:41:03.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 7635730432, Committed: 1976041472}
00:41:08.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 8239976448, Free: 1909145600}
00:41:08.614 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 8239976448, Free: 1909145600}
00:41:08.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 7635730432, Committed: 2065170432}
00:41:09.693 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
00:41:09.693 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
00:41:09.694 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
00:41:09.694 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
00:41:09.694 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
00:41:09.694 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
00:41:09.694 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
00:41:13.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 8239976448, Free: 1908060160}
00:41:13.614 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 8239976448, Free: 1908060160}
00:41:13.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 7635730432, Committed: 2065170432}
00:41:18.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 8239976448, Free: 1944313856}
00:41:18.614 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 8239976448, Free: 1944313856}
00:41:18.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 7635730432, Committed: 2067267584}
00:41:19.693 [DEBUG] [org.gradle.launcher.daemon.server.Daemon] DaemonExpirationPeriodicCheck running
00:41:19.693 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
00:41:19.693 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
00:41:19.693 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
00:41:19.693 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
00:41:19.694 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
00:41:19.694 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
00:41:23.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 8239976448, Free: 1948942336}
00:41:23.614 [DEBUG] [org.gradle.launcher.daemon.server.health.LowMemoryDaemonExpirationStrategy] Received memory status update: {Total: 8239976448, Free: 1948942336}
00:41:23.614 [DEBUG] [org.gradle.process.internal.health.memory.MemoryManager] Emitting JVM memory status event {Maximum: 7635730432, Committed: 2146959360}
00:41:00.951 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] 
00:41:00.951 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :extractF0Features
00:41:25.490 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Execute extract for :extractF0Features'
00:41:25.490 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Execute extract for :extractF0Features' completed
00:41:25.490 [DEBUG] [org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository] Fingerprinting property destFile (Output) for task ':extractF0Features'
00:41:26.931 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context.
00:41:26.931 [LIFECYCLE] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] 
00:41:26.931 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Opening cache fileHashes.bin (/home/tareq/bn-voicebuilding-marytts/.gradle/4.10/fileHashes/fileHashes.bin)
00:41:26.850 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] 
00:41:26.850 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :extractF0Features FAILED
00:41:26.931 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':extractF0Features'
00:41:26.931 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Task :extractF0Features'
00:41:26.931 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Task :extractF0Features' completed
00:41:26.931 [INFO] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] :extractF0Features (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 27.984 secs.
00:41:26.931 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Task worker for ':' Thread 2: released lock on :
00:41:26.931 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1.28 completed (1 worker(s) in use)
00:41:26.931 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Task worker for ':' Thread 2: released lock on root.1.28
00:41:26.931 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':' Thread 2,5,main]] finished, busy: 29.207 secs, idle: 2.725 secs
00:41:26.931 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':',5,main]] finished, busy: 2.669 secs, idle: 29.265 secs
00:41:26.931 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':' Thread 3,5,main]] finished, busy: 0.0 secs, idle: 31.932 secs
00:41:26.931 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 6,5,main]] finished, busy: 0.0 secs, idle: 31.932 secs
00:41:26.932 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskExecutionGraph] Timing: Executing the DAG took 31.936 secs
00:41:26.932 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Run tasks'
00:41:26.932 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Run tasks' completed
00:41:26.933 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':extractF0Features'.
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > java.lang.ArrayIndexOutOfBoundsException (no error message)
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]  Run with --scan to get full insights.
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Exception is:
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':extractF0Features'.
00:41:26.934 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
00:41:26.935 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.lang.ArrayIndexOutOfBoundsException
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
00:41:26.936 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
00:41:26.937 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
00:41:26.937 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] 
00:41:26.937 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 39s
00:41:26.937 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] 34 actionable tasks: 1 executed, 33 up-to-date
00:41:26.937 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1 completed (0 worker(s) in use)
00:41:26.937 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 6: released lock on root.1
00:41:26.937 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Run build'
00:41:26.937 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Run build' completed
00:41:26.939 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for file content cache (/home/tareq/bn-voicebuilding-marytts/.gradle/4.10/fileContent)
00:41:26.939 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on file content cache (/home/tareq/bn-voicebuilding-marytts/.gradle/4.10/fileContent).
00:41:26.943 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for task history cache (/home/tareq/bn-voicebuilding-marytts/.gradle/4.10/taskHistory)
00:41:26.944 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (/home/tareq/bn-voicebuilding-marytts/.gradle/4.10/taskHistory).
00:41:26.946 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for Build Output Cleanup Cache (/home/tareq/bn-voicebuilding-marytts/.gradle/buildOutputCleanup)
00:41:26.946 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on Build Output Cleanup Cache (/home/tareq/bn-voicebuilding-marytts/.gradle/buildOutputCleanup).
00:41:26.956 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for cache directory md-supplier (/home/tareq/.gradle/caches/4.10/md-supplier)
00:41:26.956 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory md-supplier (/home/tareq/.gradle/caches/4.10/md-supplier).
00:41:26.956 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for cache directory md-rule (/home/tareq/.gradle/caches/4.10/md-rule)
00:41:26.956 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory md-rule (/home/tareq/.gradle/caches/4.10/md-rule).
00:41:26.957 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
00:41:26.957 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
00:41:26.962 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 6 resolution results binary files in 0.005 secs
00:41:26.962 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopping 0 deployment handles
00:41:26.963 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopped deployment handles
00:41:27.016 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for file hash cache (/home/tareq/bn-voicebuilding-marytts/.gradle/4.10/fileHashes)
00:41:27.017 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache fileHashes.bin (/home/tareq/bn-voicebuilding-marytts/.gradle/4.10/fileHashes/fileHashes.bin)
00:41:27.017 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on file hash cache (/home/tareq/bn-voicebuilding-marytts/.gradle/4.10/fileHashes).
00:41:27.018 [DEBUG] [org.gradle.cache.internal.DefaultPersistentDirectoryStore] VCS Checkout Cache (/home/tareq/bn-voicebuilding-marytts/.gradle/vcs-1) has last been fully cleaned up 7 hours ago
00:41:27.018 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache VCS Checkout Cache (/home/tareq/bn-voicebuilding-marytts/.gradle/vcs-1) was closed 0 times.
00:41:27.018 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache VCS metadata (/home/tareq/bn-voicebuilding-marytts/.gradle/4.10/vcsMetadata-1) was closed 0 times.
00:41:27.021 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build.
00:41:27.290 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: org.gradle.launcher.daemon.protocol.CloseInput@118fa177
00:41:27.290 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 13: dispatching class org.gradle.launcher.daemon.protocol.CloseInput
00:41:27.291 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':extractF0Features'.] from daemon DaemonInfo{pid=27835, address=[3bfabaa7-281c-4b7a-ace1-a21b605e8a20 port:33417, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Idle, lastBusy=1588698432522, context=DefaultDaemonContext[uid=2139f7f3-aa84-4d0c-90d4-0e94bc441e9d,javaHome=/usr/lib/jvm/java-8-openjdk-amd64,daemonRegistryDir=/home/tareq/.gradle/daemon,pid=27835,idleTimeout=10800000,daemonOpts=-XX:MaxMetaspaceSize=5012m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx8g,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
00:41:27.291 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished
00:41:27.303 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop
muntasir2000 commented 4 years ago

Just ask if you also need previous task's output. I'll rerun from the start.

psibre commented 4 years ago

Which version of the Voicebuilding plugin are you using?

muntasir2000 commented 4 years ago

I'm using the master branch as it was on April 30, 2020 (commit ID - 35b52b76f39fd55e7669a07389be1334e87634f7)

psibre commented 4 years ago

OK, thanks. Could you please try with the master branch? Because 35b52b76f39fd55e7669a07389be1334e87634f7 is kind of from the middle of a lengthy PR (#116) and not expected to be stable.

If the error persists, that's probably a uncaught bug or regression, and ideally we can fix it before the next, imminent, release.

The ExtractF0Features.extract method was hastily ported from legacy code over in marytts-builder, and sadly neither the old nor the new code has any test coverage. It would be great to refactor this and make sure we catch exceptions like this one.

We're planning to extract/migrate relevant code from marytts-builder, at which point it would make sense to refactor this task to use the migrated/new library, where we can better add unit tests.

In the meantime, the stacktrace sadly doesn't expose where in the task action the exception is being thrown. If you could try to debug this and help us isolate the cause, then we can try to fix this before we do more elaborate refactoring.

muntasir2000 commented 4 years ago

OK, I tried with the master branch (commit b27d52f). Now, generateAllophones task is failing. In marytts.BatchProcessor it shows Unsupported locale bn. But I checked and confirmed the marytts-lang-bn jar is in the classpath while invoking the BatchProcessor. I suppose the lang jar is not somehow accessible by the BatchProcessor.

The changes I made to the plugin code to add my custom language -

  1. In VoicebuildingBasePlugin, I changed this -
    
    project.dependencies {
                // runtimeOnly "de.dfki.mary:marytts-lang-$project.marytts.voice.language:$project.marytts.version", {
                //     exclude group: '*', module: 'groovy-all'
                // }
                runtimeOnly "de.dfki.mary:marytts-lang-en:5.2", {
                    exclude group: '*', module: 'groovy-all'
                }
                runtimeOnly project.files("lib/marytts-lang-bn-5.2.jar")
    }
2. In [VoicebuildingDataPlugin](https://github.com/marytts/gradle-marytts-voicebuilding-plugin/blob/5aeacf12d4a7693ad47bc1686b66e3bb82c836c1/src/main/groovy/de/dfki/mary/voicebuilding/VoicebuildingDataPlugin.groovy#L26) - 

project.afterEvaluate { // marytts group: 'de.dfki.mary', name: "marytts-lang-$project.marytts.voice.locale.language", version: project.marytts.version, { // exclude group: '*', module: 'groovy-all' // }

            marytts group: 'de.dfki.mary', name: "marytts-lang-en", version: 5.2, {
                exclude group: '*', module: 'groovy-all'
            }
            marytts project.files('lib/marytts-lang-bn-5.2.jar')

}


3. In [VoicebuildingLegacyPlugin](https://github.com/marytts/gradle-marytts-voicebuilding-plugin/blob/5aeacf12d4a7693ad47bc1686b66e3bb82c836c1/src/main/groovy/de/dfki/mary/voicebuilding/VoicebuildingLegacyPlugin.groovy#L411) - 

project.dependencies { // api "de.dfki.mary:marytts-lang-$project.marytts.voice.language:$project.marytts.version", { // exclude group: '', module: 'groovy-all' // } api "de.dfki.mary:marytts-lang-en:5.2", { exclude group: '', module: 'groovy-all' } api project.files('lib/marytts-lang-bn-5.2.jar') testImplementation "junit:junit:4.13" }


Log attached - 

Task :generateAllophones Caching disabled for task ':generateAllophones' because: Build cache is disabled Task ':generateAllophones' is not up-to-date because: Class path of task ':generateAllophones' has changed from 916871ed0b031e90089475402589bdeb to 55699a8b0c65f0d23c0fc5f53d32c0d3. Starting process 'command '/usr/lib/jvm/java-8-openjdk-amd64/bin/java''. Working directory: /home/tareq/Desktop/tts/voice-crblp-socian Command: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Dmary.base=/home/tareq/Desktop/tts/voice-crblp-socian/build -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /home/tareq/Desktop/tts/voice-crblp-socian/lib/marytts-lang-bn-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-voicebuilding/0.1/b9c9557e4364f29bebd27ac7229dc58fc619e9c8/marytts-voicebuilding-0.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-lang-en/5.2/637018181e468a1d3b49c19fa427946d9d21c4a9/marytts-lang-en-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-runtime/5.2/c75f16642056cb3342588420dba9eac940f161ef/marytts-runtime-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-signalproc/5.2/2da94209eb72bcfa779af2aef43e4f9c9205040/marytts-signalproc-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-common/5.2/91c78341663e21401cfbf993087a2cb84217e9a0/marytts-common-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.5/1730f61e9c9e59fd1b814371265334d7be0b8d2/groovy-all-2.4.5.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j/54.1.1/ce374ac81e0937384ca9d43fa93f56c915029c44/icu4j-54.1.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.6/ce1edb914c94ebc388f086c6827e8bdeec71ac2/commons-lang-2.6.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/commons-collections/commons-collections/3.2.2/8ad72fe39fa8c91eaaf12aadb21e0c3661fe26d5/commons-collections-3.2.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/emotionml-checker-java/1.1/6f5fa37119440589a80385671aa62a942aa6fb2e/emotionml-checker-java-1.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.lt.jtok/jtok-core/1.9.3/c0ed7522ca500f94311fbec1a040210a49a30a43/jtok-core-1.9.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/14.0.1/69e12f4c6aeac392555f1ea86fab82b5e5e31ad4/guava-14.0.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/2.0.2/42b1e10b3a8abb1c19b86fdf265ca5be8c166d11/trove4j-2.0.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore-nio/4.1/9bc553a00ee6c28903498b073a1ff4aa3f22de17/httpcore-nio-4.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.1/33fc26c02f8043ab0ede19eadc8c9885386b255c/httpcore-4.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.apache.opennlp/opennlp-tools/1.5.3/826d34168b0e4870c9f599ed7f2b8fee4194ba3b/opennlp-tools-1.5.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.apache.opennlp/opennlp-maxent/3.0.3/55e39e6b46e71f35229cdd6950e72d8cce3b5fd4/opennlp-maxent-3.0.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.hsqldb/hsqldb/2.0.0/c9d525ce1a464185e6b01c7de872127a06092673/hsqldb-2.0.0.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.5/2852e6e05fbb95076fc091f6d1780f1f8fe35e0f/commons-io-2.5.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-log4j12/1.6.1/bd245d6746cdd4e6203e976e21d597a46f115802/slf4j-log4j12-1.6.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/log4j/log4j/1.2.16/7999a63bfccbc7c247a9aea10d83d4272bd492c6/log4j-1.2.16.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/com.twmacinta/fast-md5/2.7.1/3ff31f12a50c172a7c6a9da61813ebd46101e977/fast-md5-2.7.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/gov.nist.math/Jampack/1.0/407441d94066e1d2529d51040762e23c41fd4879/Jampack-1.0.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/gov.nist.math/jama/1.0.3/8bcf5a314b76cadd68daa37eafe0a46d8909ab47/jama-1.0.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.swinglabs/swing-layout/1.0.3/7c0f5ee4ae72624d53bf5d42c6e0136e39d43dda/swing-layout-1.0.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.6.1/6f3b8a24bf970f17289b234284c94f43eb42f0e4/slf4j-api-1.6.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/net.sf.jwordnet/jwnl/1.3.3/7108e5b6a8875fe0488d942238575407c7ab8649/jwnl-1.3.3.jar marytts.BatchProcessor /home/tareq/Desktop/tts/voice-crblp-socian/build/tmp/generateAllophones/batch.json Successfully started process 'command '/usr/lib/jvm/java-8-openjdk-amd64/bin/java'' INFO main: Mary starting up... INFO main: Specification version 5.2 INFO main: Implementation version unknown INFO main: Running on a Java 1.8.0_252 implementation by Private Build, on a Linux platform (amd64, 4.15.0-99-generic) INFO ModuleRegistry: Now initiating mary module 'marytts.language.en.JTokeniser' INFO ModuleRegistry: Now initiating mary module 'marytts.language.en.Preprocess' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.JPhonemiser(en_US.)' INFO JPhonemiser: User dictionary '/home/tareq/Desktop/tts/voice-crblp-socian/build/user-dictionaries/userdict-en_US.txt' for locale 'en_US' does not exist. Ignoring. INFO ModuleRegistry: Now initiating mary module 'marytts.modules.JPhonemiser(en_GB.)' INFO JPhonemiser: User dictionary '/home/tareq/Desktop/tts/voice-crblp-socian/build/user-dictionaries/userdict-en_GB.txt' for locale 'en_GB' does not exist. Ignoring. INFO ModuleRegistry: Now initiating mary module 'marytts.language.en.Prosody' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.SimplePhoneme2AP(en_US)' INFO ModuleRegistry: Now initiating mary module 'marytts.language.en.PronunciationModel' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.OpenNLPPosTagger(en,en.pos)' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.Synthesis' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.TextToMaryXML' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.SableParser' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.SSMLParser' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.APMLParser' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.EmotionmlParser' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.JTokeniser' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.DummyTokens2Words' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.ProsodyGeneric' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.PronunciationModel' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.TargetFeatureLister' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.HalfPhoneTargetFeatureLister' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.AcousticModeller' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.RealisedAcoustparamsExtractor' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.RealisedDurationsExtractor' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.HTSEngine' INFO ModuleRegistry: Now initiating mary module 'marytts.modules.PraatTextGridGenerator' INFO JTokeniser: Module started (RAWMARYXML->TOKENS, locale en). INFO JTok: loading language resources for en from jtok/en INFO JTokeniser: Starting power-on self test. INFO JTokeniser: Power-on self test complete. INFO Preprocess: Module started (TOKENS->WORDS, locale en). INFO Preprocess: Starting power-on self test. INFO Preprocess: Power-on self test complete. INFO JPhonemiser: Module started (PARTSOFSPEECH->PHONEMES, locale en_US). INFO JPhonemiser: Starting power-on self test. INFO JPhonemiser: Power-on self test complete. INFO JPhonemiser: Module started (PARTSOFSPEECH->PHONEMES, locale en_GB). INFO JPhonemiser: Starting power-on self test. INFO JPhonemiser: Power-on self test complete. INFO Prosody: Module started (PHONEMES->INTONATION, locale en). INFO Prosody: Starting power-on self test. INFO Prosody: Power-on self test complete. INFO SimplePhoneme2AP: Module started (SIMPLEPHONEMES->ACOUSTPARAMS, locale en_US). INFO SimplePhoneme2AP: Starting power-on self test. INFO SimplePhoneme2AP: Power-on self test complete. INFO PronunciationModel: Module started (INTONATION->ALLOPHONES, locale en). INFO PronunciationModel: Starting power-on self test. INFO PronunciationModel: Power-on self test complete. INFO OpenNLPPosTagger: Module started (WORDS->PARTSOFSPEECH, locale en). INFO OpenNLPPosTagger: Starting power-on self test. INFO OpenNLPPosTagger: Power-on self test complete. INFO UnitSelectionSynthesizer: started. INFO TargetFeatureLister: Module started (ACOUSTPARAMS->TARGETFEATURES, locale null). INFO HTSEngine: Module started (TARGETFEATURES->AUDIO, locale null). INFO HMMSynthesizer: started. INFO Synthesis: Module started (ACOUSTPARAMS->AUDIO, locale null). INFO HMMSynthesizer: Starting power-on self test. INFO TextToMaryXML: Module started (TEXT->RAWMARYXML, locale null). INFO TextToMaryXML: Starting power-on self test. WARN TextToMaryXML: Locale is null, overriding with en_US WARN TextToMaryXML: Locale is null, overriding with en_US INFO TextToMaryXML: Power-on self test complete. INFO SableParser: Module started (SABLE->RAWMARYXML, locale null). INFO SableParser: Starting power-on self test. INFO SableParser: Power-on self test complete. INFO SSMLParser: Module started (SSML->RAWMARYXML, locale null). INFO SSMLParser: Starting power-on self test. INFO SSMLParser: Power-on self test complete. INFO APMLParser: Module started (APML->RAWMARYXML, locale null). INFO APMLParser: Starting power-on self test. INFO APMLParser: Power-on self test complete. INFO EmotionmlParser: Module started (EMOTIONML->RAWMARYXML, locale null). INFO EmotionmlParser: Starting power-on self test. INFO EmotionmlParser: Power-on self test complete. INFO JTokeniser: Module started (RAWMARYXML->TOKENS, locale null). INFO JTok: loading language resources for en from jtok/en INFO JTokeniser: Starting power-on self test. INFO JTokeniser: Power-on self test complete. INFO DummyTokens2Words: Module started (TOKENS->WORDS, locale null). INFO DummyTokens2Words: Starting power-on self test. INFO DummyTokens2Words: Power-on self test complete. INFO Prosody: Module started (PHONEMES->INTONATION, locale null). INFO Prosody: Starting power-on self test. INFO Prosody: Power-on self test complete. INFO PronunciationModel: Module started (INTONATION->ALLOPHONES, locale null). INFO PronunciationModel: Starting power-on self test. INFO PronunciationModel: Power-on self test complete. INFO TargetFeatureLister: Starting power-on self test. INFO TargetFeatureLister: Power-on self test complete. INFO TargetFeatureLister: Module started (ACOUSTPARAMS->HALFPHONE_TARGETFEATURES, locale null). INFO TargetFeatureLister: Starting power-on self test. INFO TargetFeatureLister: Power-on self test complete. INFO AcousticModeller: Module started (ALLOPHONES->ACOUSTPARAMS, locale null). INFO AcousticModeller: Starting power-on self test. INFO AcousticModeller: Power-on self test complete. INFO Realised acoustparams extractor: Module started (AUDIO->REALISED_ACOUSTPARAMS, locale null). INFO Realised acoustparams extractor: Starting power-on self test. INFO Realised acoustparams extractor: Power-on self test complete. INFO Realised durations extractor: Module started (AUDIO->REALISED_DURATIONS, locale null). INFO Realised durations extractor: Starting power-on self test. INFO Realised durations extractor: Power-on self test complete. INFO Praat TextGrid generator: Module started (REALISED_ACOUSTPARAMS->PRAAT_TEXTGRID, locale null). INFO Praat TextGrid generator: Starting power-on self test. INFO Praat TextGrid generator: Power-on self test complete. INFO main: Startup complete. ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn ERROR BatchProcessor: Unsupported locale: bn

[more ....]

psibre commented 4 years ago

I would not add a dependency on marytts-lang-en if the voice is not an English one.

psibre commented 4 years ago

Do you have a link to your voicebuilding project on GitHub? I suspect there's some confusion between hacking the plugin itself vs. configuring the voice and its runtime classpath.

muntasir2000 commented 4 years ago

I added the marytts-lang-en dependency because without it, some tests fail. I'm putting my project on Github shortly and posting a link here. Thanks for your help.

muntasir2000 commented 4 years ago

Here is the repo - https://github.com/muntasir2000/voice-crblp-socian

muntasir2000 commented 4 years ago

OK, I tried with the master branch (commit b27d52f). Now, generateAllophones task is failing. In marytts.BatchProcessor it shows Unsupported locale bn. But I checked and confirmed the marytts-lang-bn jar is in the classpath while invoking the BatchProcessor. I suppose the lang jar is not somehow accessible by the BatchProcessor.

The changes I made to the plugin code to add my custom language -

1. In [VoicebuildingBasePlugin](https://github.com/marytts/gradle-marytts-voicebuilding-plugin/blob/5aeacf12d4a7693ad47bc1686b66e3bb82c836c1/src/main/groovy/de/dfki/mary/voicebuilding/VoicebuildingBasePlugin.groovy#L57), I changed this -
project.dependencies {
                // runtimeOnly "de.dfki.mary:marytts-lang-$project.marytts.voice.language:$project.marytts.version", {
                //     exclude group: '*', module: 'groovy-all'
                // }
                runtimeOnly "de.dfki.mary:marytts-lang-en:5.2", {
                    exclude group: '*', module: 'groovy-all'
                }
                runtimeOnly project.files("lib/marytts-lang-bn-5.2.jar")
}
1. In [VoicebuildingDataPlugin](https://github.com/marytts/gradle-marytts-voicebuilding-plugin/blob/5aeacf12d4a7693ad47bc1686b66e3bb82c836c1/src/main/groovy/de/dfki/mary/voicebuilding/VoicebuildingDataPlugin.groovy#L26) -
project.afterEvaluate {
                // marytts group: 'de.dfki.mary', name: "marytts-lang-$project.marytts.voice.locale.language", version: project.marytts.version, {
                //     exclude group: '*', module: 'groovy-all'
                // }

                marytts group: 'de.dfki.mary', name: "marytts-lang-en", version: 5.2, {
                    exclude group: '*', module: 'groovy-all'
                }
                marytts project.files('lib/marytts-lang-bn-5.2.jar')
}
1. In [VoicebuildingLegacyPlugin](https://github.com/marytts/gradle-marytts-voicebuilding-plugin/blob/5aeacf12d4a7693ad47bc1686b66e3bb82c836c1/src/main/groovy/de/dfki/mary/voicebuilding/VoicebuildingLegacyPlugin.groovy#L411) -
project.dependencies {
                // api "de.dfki.mary:marytts-lang-$project.marytts.voice.language:$project.marytts.version",        {
                //     exclude group: '*', module: 'groovy-all'
                // }
                api "de.dfki.mary:marytts-lang-en:5.2", {
                    exclude group: '*', module: 'groovy-all'
                }
                api project.files('lib/marytts-lang-bn-5.2.jar')
                testImplementation "junit:junit:4.13"
            }

Log attached -

> Task :generateAllophones
Caching disabled for task ':generateAllophones' because:
  Build cache is disabled
Task ':generateAllophones' is not up-to-date because:
  Class path of task ':generateAllophones' has changed from 916871ed0b031e90089475402589bdeb to 55699a8b0c65f0d23c0fc5f53d32c0d3.
Starting process 'command '/usr/lib/jvm/java-8-openjdk-amd64/bin/java''. Working directory: /home/tareq/Desktop/tts/voice-crblp-socian Command: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Dmary.base=/home/tareq/Desktop/tts/voice-crblp-socian/build -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /home/tareq/Desktop/tts/voice-crblp-socian/lib/marytts-lang-bn-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-voicebuilding/0.1/b9c9557e4364f29bebd27ac7229dc58fc619e9c8/marytts-voicebuilding-0.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-lang-en/5.2/637018181e468a1d3b49c19fa427946d9d21c4a9/marytts-lang-en-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-runtime/5.2/c75f16642056cb3342588420dba9eac940f161ef/marytts-runtime-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-signalproc/5.2/2da94209eb72bcfa779af2aef43e4f9c9205040/marytts-signalproc-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/marytts-common/5.2/91c78341663e21401cfbf993087a2cb84217e9a0/marytts-common-5.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.5/1730f61e9c9e59fd1b814371265334d7be0b8d2/groovy-all-2.4.5.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j/54.1.1/ce374ac81e0937384ca9d43fa93f56c915029c44/icu4j-54.1.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.6/ce1edb914c94ebc388f086c6827e8bdeec71ac2/commons-lang-2.6.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/commons-collections/commons-collections/3.2.2/8ad72fe39fa8c91eaaf12aadb21e0c3661fe26d5/commons-collections-3.2.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.mary/emotionml-checker-java/1.1/6f5fa37119440589a80385671aa62a942aa6fb2e/emotionml-checker-java-1.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/de.dfki.lt.jtok/jtok-core/1.9.3/c0ed7522ca500f94311fbec1a040210a49a30a43/jtok-core-1.9.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/14.0.1/69e12f4c6aeac392555f1ea86fab82b5e5e31ad4/guava-14.0.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/2.0.2/42b1e10b3a8abb1c19b86fdf265ca5be8c166d11/trove4j-2.0.2.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore-nio/4.1/9bc553a00ee6c28903498b073a1ff4aa3f22de17/httpcore-nio-4.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.1/33fc26c02f8043ab0ede19eadc8c9885386b255c/httpcore-4.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.apache.opennlp/opennlp-tools/1.5.3/826d34168b0e4870c9f599ed7f2b8fee4194ba3b/opennlp-tools-1.5.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.apache.opennlp/opennlp-maxent/3.0.3/55e39e6b46e71f35229cdd6950e72d8cce3b5fd4/opennlp-maxent-3.0.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.hsqldb/hsqldb/2.0.0/c9d525ce1a464185e6b01c7de872127a06092673/hsqldb-2.0.0.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.5/2852e6e05fbb95076fc091f6d1780f1f8fe35e0f/commons-io-2.5.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-log4j12/1.6.1/bd245d6746cdd4e6203e976e21d597a46f115802/slf4j-log4j12-1.6.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/log4j/log4j/1.2.16/7999a63bfccbc7c247a9aea10d83d4272bd492c6/log4j-1.2.16.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/com.twmacinta/fast-md5/2.7.1/3ff31f12a50c172a7c6a9da61813ebd46101e977/fast-md5-2.7.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/gov.nist.math/Jampack/1.0/407441d94066e1d2529d51040762e23c41fd4879/Jampack-1.0.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/gov.nist.math/jama/1.0.3/8bcf5a314b76cadd68daa37eafe0a46d8909ab47/jama-1.0.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.swinglabs/swing-layout/1.0.3/7c0f5ee4ae72624d53bf5d42c6e0136e39d43dda/swing-layout-1.0.3.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.6.1/6f3b8a24bf970f17289b234284c94f43eb42f0e4/slf4j-api-1.6.1.jar:/home/tareq/.gradle/caches/modules-2/files-2.1/net.sf.jwordnet/jwnl/1.3.3/7108e5b6a8875fe0488d942238575407c7ab8649/jwnl-1.3.3.jar marytts.BatchProcessor /home/tareq/Desktop/tts/voice-crblp-socian/build/tmp/generateAllophones/batch.json
Successfully started process 'command '/usr/lib/jvm/java-8-openjdk-amd64/bin/java''
INFO  main: Mary starting up...
INFO  main: Specification version 5.2
INFO  main: Implementation version unknown
INFO  main: Running on a Java 1.8.0_252 implementation by Private Build, on a Linux platform (amd64, 4.15.0-99-generic)
INFO  ModuleRegistry: Now initiating mary module 'marytts.language.en.JTokeniser'
INFO  ModuleRegistry: Now initiating mary module 'marytts.language.en.Preprocess'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.JPhonemiser(en_US.)'
INFO  JPhonemiser: User dictionary '/home/tareq/Desktop/tts/voice-crblp-socian/build/user-dictionaries/userdict-en_US.txt' for locale 'en_US' does not exist. Ignoring.
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.JPhonemiser(en_GB.)'
INFO  JPhonemiser: User dictionary '/home/tareq/Desktop/tts/voice-crblp-socian/build/user-dictionaries/userdict-en_GB.txt' for locale 'en_GB' does not exist. Ignoring.
INFO  ModuleRegistry: Now initiating mary module 'marytts.language.en.Prosody'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.SimplePhoneme2AP(en_US)'
INFO  ModuleRegistry: Now initiating mary module 'marytts.language.en.PronunciationModel'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.OpenNLPPosTagger(en,en.pos)'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.Synthesis'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.TextToMaryXML'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.SableParser'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.SSMLParser'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.APMLParser'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.EmotionmlParser'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.JTokeniser'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.DummyTokens2Words'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.ProsodyGeneric'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.PronunciationModel'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.TargetFeatureLister'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.HalfPhoneTargetFeatureLister'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.AcousticModeller'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.RealisedAcoustparamsExtractor'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.RealisedDurationsExtractor'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.HTSEngine'
INFO  ModuleRegistry: Now initiating mary module 'marytts.modules.PraatTextGridGenerator'
INFO  JTokeniser: Module started (RAWMARYXML->TOKENS, locale en).
INFO  JTok: loading language resources for en from jtok/en
INFO  JTokeniser: Starting power-on self test.
INFO  JTokeniser: Power-on self test complete.
INFO  Preprocess: Module started (TOKENS->WORDS, locale en).
INFO  Preprocess: Starting power-on self test.
INFO  Preprocess: Power-on self test complete.
INFO  JPhonemiser: Module started (PARTSOFSPEECH->PHONEMES, locale en_US).
INFO  JPhonemiser: Starting power-on self test.
INFO  JPhonemiser: Power-on self test complete.
INFO  JPhonemiser: Module started (PARTSOFSPEECH->PHONEMES, locale en_GB).
INFO  JPhonemiser: Starting power-on self test.
INFO  JPhonemiser: Power-on self test complete.
INFO  Prosody: Module started (PHONEMES->INTONATION, locale en).
INFO  Prosody: Starting power-on self test.
INFO  Prosody: Power-on self test complete.
INFO  SimplePhoneme2AP: Module started (SIMPLEPHONEMES->ACOUSTPARAMS, locale en_US).
INFO  SimplePhoneme2AP: Starting power-on self test.
INFO  SimplePhoneme2AP: Power-on self test complete.
INFO  PronunciationModel: Module started (INTONATION->ALLOPHONES, locale en).
INFO  PronunciationModel: Starting power-on self test.
INFO  PronunciationModel: Power-on self test complete.
INFO  OpenNLPPosTagger: Module started (WORDS->PARTSOFSPEECH, locale en).
INFO  OpenNLPPosTagger: Starting power-on self test.
INFO  OpenNLPPosTagger: Power-on self test complete.
INFO  UnitSelectionSynthesizer: started.
INFO  TargetFeatureLister: Module started (ACOUSTPARAMS->TARGETFEATURES, locale null).
INFO  HTSEngine: Module started (TARGETFEATURES->AUDIO, locale null).
INFO  HMMSynthesizer: started.
INFO  Synthesis: Module started (ACOUSTPARAMS->AUDIO, locale null).
INFO  HMMSynthesizer: Starting power-on self test.
INFO  TextToMaryXML: Module started (TEXT->RAWMARYXML, locale null).
INFO  TextToMaryXML: Starting power-on self test.
WARN  TextToMaryXML: Locale is null, overriding with en_US
WARN  TextToMaryXML: Locale is null, overriding with en_US
INFO  TextToMaryXML: Power-on self test complete.
INFO  SableParser: Module started (SABLE->RAWMARYXML, locale null).
INFO  SableParser: Starting power-on self test.
INFO  SableParser: Power-on self test complete.
INFO  SSMLParser: Module started (SSML->RAWMARYXML, locale null).
INFO  SSMLParser: Starting power-on self test.
INFO  SSMLParser: Power-on self test complete.
INFO  APMLParser: Module started (APML->RAWMARYXML, locale null).
INFO  APMLParser: Starting power-on self test.
INFO  APMLParser: Power-on self test complete.
INFO  EmotionmlParser: Module started (EMOTIONML->RAWMARYXML, locale null).
INFO  EmotionmlParser: Starting power-on self test.
INFO  EmotionmlParser: Power-on self test complete.
INFO  JTokeniser: Module started (RAWMARYXML->TOKENS, locale null).
INFO  JTok: loading language resources for en from jtok/en
INFO  JTokeniser: Starting power-on self test.
INFO  JTokeniser: Power-on self test complete.
INFO  DummyTokens2Words: Module started (TOKENS->WORDS, locale null).
INFO  DummyTokens2Words: Starting power-on self test.
INFO  DummyTokens2Words: Power-on self test complete.
INFO  Prosody: Module started (PHONEMES->INTONATION, locale null).
INFO  Prosody: Starting power-on self test.
INFO  Prosody: Power-on self test complete.
INFO  PronunciationModel: Module started (INTONATION->ALLOPHONES, locale null).
INFO  PronunciationModel: Starting power-on self test.
INFO  PronunciationModel: Power-on self test complete.
INFO  TargetFeatureLister: Starting power-on self test.
INFO  TargetFeatureLister: Power-on self test complete.
INFO  TargetFeatureLister: Module started (ACOUSTPARAMS->HALFPHONE_TARGETFEATURES, locale null).
INFO  TargetFeatureLister: Starting power-on self test.
INFO  TargetFeatureLister: Power-on self test complete.
INFO  AcousticModeller: Module started (ALLOPHONES->ACOUSTPARAMS, locale null).
INFO  AcousticModeller: Starting power-on self test.
INFO  AcousticModeller: Power-on self test complete.
INFO  Realised acoustparams extractor: Module started (AUDIO->REALISED_ACOUSTPARAMS, locale null).
INFO  Realised acoustparams extractor: Starting power-on self test.
INFO  Realised acoustparams extractor: Power-on self test complete.
INFO  Realised durations extractor: Module started (AUDIO->REALISED_DURATIONS, locale null).
INFO  Realised durations extractor: Starting power-on self test.
INFO  Realised durations extractor: Power-on self test complete.
INFO  Praat TextGrid generator: Module started (REALISED_ACOUSTPARAMS->PRAAT_TEXTGRID, locale null).
INFO  Praat TextGrid generator: Starting power-on self test.
INFO  Praat TextGrid generator: Power-on self test complete.
INFO  main: Startup complete.
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn
ERROR BatchProcessor: Unsupported locale: bn

[more ....]

I managed to solve the unsupported locale bn problem. I accidentally put my lib directory (with marytts-lang-bn.jar) into the buildSrc directory. But the original issue persists.

psibre commented 4 years ago

The extractF0Features task takes three input files:

These in turn are created by combining individual files generated from your voice data:

My guess is that some of these files are invalid or empty, which is either a problem with the language component, or with the data itself. Could you please inspect the source files, and look for any that stand out as being significantly smaller than the others?

But first a sanity check: please run ./gradlew clean on your voice project, to delete the build directory (make sure all of your original source data is stored elsewhere). Just in case some of the files were not regenerated since you solved the problem with the bn locale.

muntasir2000 commented 4 years ago

Yes, I also think there is something wrong with some of my files. When I took a subset of my training files for faster experimentation, the issue gone away. I'll debug more and report here. It might be possible to mitigate the issue by adding some exception handling, like you suggested earlier.

On Sat, 9 May 2020, 1:12 pm psibre, notifications@github.com wrote:

The extractF0Features task takes three input files:

  • unitFile, which is build/mary/phoneUnits.mry
  • featureFile, which is build/mary/phoneFeatures.mry, and
  • timelineFile, which is build/mary/timeline_waveforms.mry.

These in turn are created by combining individual files generated from your voice data:

  • phone units: build/lab_processed/*.lab
  • phone features: build/allophones/*.xml
  • waveforms timeline: build/waveDatagrams/*.json

My guess is that some of these files are invalid or empty, which is either a problem with the language component, or with the data itself. Could you please inspect the source files, and look for any that stand out as being significantly smaller than the others?

But first a sanity check: please run ./gradlew clean on your voice project, to delete the build directory (make sure all of your original source data is stored elsewhere). Just in case some of the files were not regenerated since you solved the problem with the bn locale.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/marytts/gradle-marytts-voicebuilding-plugin/issues/121#issuecomment-626119969, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPXUPP3NY3EHRH2ZAY7WD3RQT647ANCNFSM4MZZOOCA .

psibre commented 4 years ago

It might be possible to mitigate the issue by adding some exception handling, like you suggested earlier.

Exactly, which is why I flagged this as a bug.

But it would be awesome if you could check which files were causing the problem.

muntasir2000 commented 4 years ago

I will check and update here.

On Sat, 9 May 2020, 1:28 pm psibre, notifications@github.com wrote:

It might be possible to mitigate the issue by adding some exception handling, like you suggested earlier.

Exactly, which is why I flagged this as a bug.

But it would be awesome if you could check which files were causing the problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/marytts/gradle-marytts-voicebuilding-plugin/issues/121#issuecomment-626121717, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPXUPMDNW7MAHHVEBZVX7LRQUA27ANCNFSM4MZZOOCA .

muntasir2000 commented 4 years ago

The issue seems to be solved in the current master branch. I used the same files. Thanks for your help.

muntasir2000 commented 4 years ago

The issue seems to come back if I put all the files together. I'm training with 10000 utterances (13 hours). For testing, I split the whole dataset to 3 parts, approx 3300 utterences in each part. The issue doesn't occur when I train with each individual parts. But reappears when I train with all 10000 files.

muntasir2000 commented 4 years ago

Here is a more detailed stacktrace -

> Task :extractF0Features FAILED
:extractF0Features (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 32.68 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':extractF0Features'.
> 557480

* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':extractF0Features'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:205)
        at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:203)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:184)
        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)
        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:372)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:359)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:352)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:338)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 557480
        at marytts.unitselection.data.FeatureFileReader.getFeatureVector(FeatureFileReader.java:123)
        at marytts.unitselection.data.FeatureFileReader$getFeatureVector.call(Unknown Source)
        at de.dfki.mary.voicebuilding.tasks.ExtractF0Features$_extract_closure1.doCall(ExtractF0Features.groovy:65)
        at de.dfki.mary.voicebuilding.tasks.ExtractF0Features.extract(ExtractF0Features.groovy:43)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:49)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:727)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:694)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.run(ExecuteActionsTaskExecuter.java:568)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:553)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:536)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:109)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:276)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:265)
        at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$1(ExecuteStep.java:33)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:33)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:67)
        at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:36)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:49)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:34)
        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:43)
        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
        at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:34)
        at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:44)
        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:54)
        at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:38)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
        at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:159)
        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:72)
        at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:43)
        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:44)
        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:33)
        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
        at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:92)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:85)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:94)
        at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49)
        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:79)
        at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:53)
        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)
        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78)
        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78)
        at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39)
        at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40)
        at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28)
        at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:192)
        ... 30 more

* Get more help at https://help.gradle.org
psibre commented 4 years ago

Thanks very much for the useful feedback! We can certainly try to catch this properly, but it would be good to get at the underlying cause.

If you want to debug this, the first thing to take care of is ensuring that any changes to the plugin code in your buildSrc should not cause Gradle to rerun all upstream tasks (which will normally be considered out of date if the buildscript classpath is modified).

To this end, decouple the autowired dependencies for this task by adding this to your project's build.gradle:

extractF0Features {
  unitFile = file("$buildDir/mary/phoneUnits.mry")
  featureFile = file("$buildDir/mary/phoneFeatures.mry")
  timelineFile = file("$buildDir/mary/timeline_waveforms.mry")
}

(There might be a better way to prevent Gradle from running all previous tasks when lazy configuration is being used, but this should do as well.) Then it becomes possible to add various debug logging to de.dfki.mary.voicebuilding.tasks.ExtractF0Features and rerun it without wasting too much time.

elnursamedzade commented 4 years ago

Hello there. Please help me too. I do exactly what is done in the Readme document. I am having the following problem:

C:\Users\Elnur\gradle-marytts-voicebuilding-plugin>gradlew build Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

BU¦LD FAILED in 10s

C:\Users\Elnur\gradle-marytts-voicebuilding-plugin>

What am I doing wrong? Please somebody enlighten me.

psibre commented 4 years ago

@elnursamedzade The problem you describe sounds like a Gradle version incompatibility. v5.4 of the plugin uses Gradle features that were deprecated in Gradle 5, and removed in Gradle 6. Please use Gradle v4.10.3 with version v5.4 of the plugin.

We are working to release an updated version of the plugin that is compatible with Gradle 6 (but conversely, will not work with older versions of Gradle).

If this does not solve your problem, please open a new issue -- #121 has nothing to do with your problem.

elnursamedzade commented 4 years ago

Hello Psibre. Thanks for be interested. I'm trying right now. Thanks.

muntasir2000 commented 4 years ago

I had some issues with alignment earlier. I fixed them by training the MFA model with a lot more data externally and generating alignment of my TTS dataset using that model. Fortunately, it also fixed the ArrayIndexOutOfBoundsException. I couldn't reproduce it even if I use my whole dataset (13 hours) after realigning. Previously, the error only occurred when I used the whole dataset.

Thanks MaryTTS team for the awesome work. Closing this issue.

psibre commented 4 years ago

Thanks for the positive update and feedback!

However, I think this is actually a lingering class of bugs in the way we process the aligned segmentation in the source data. It would be great if you could provide us with a breaking label file, and it's improved new version, so that we understand the nature of the bug. Otherwise we have to continue to work around the problem, and it will inevitably reappear for other voicebuilding projects.