teltek / matterhorn-modules Goto Github PK
View Code? Open in Web Editor NEWMatterhorn modules by Teltek Video Research
Matterhorn modules by Teltek Video Research
Error compiling matterhorn-execute-impl for Matterhorn version 1.4-SNAPSHOT
[ERROR] Failed to execute goal on project matterhorn-execute-impl: Could not resolve dependencies for project org.opencastproject:matterhorn-execute-impl:bundle:1.0.0: Failure to find org.opencastproject:matterhorn-workflow-service-api:jar:1.4-SNAPSHOT in http://repository.opencastproject.org/nexus/content/groups/public-snapshots was cached in the local repository, resolution will not be reattempted until the update interval of opencast.snapshots has elapsed or updates are forced -> [Help 1]
Hi Teltek-devs,
I'm trying to concatenate an intro and outro to an ingested video using the ExecuteOnceWorkflow calling a script.
Everytime when the execution-operation starts, it seems, that nothing happens.
Regarding to the log files,
on the admin machine it's like
2013-07-15 13:40:51 INFO (ExecuteServiceRemoteImpl:128) - Executing command /mnt/storage_dev/etc/workflows/join_script.sh using a remote execute service
2013-07-15 13:40:51 INFO (ExecuteServiceRemoteImpl:136) - Completing execution of command /mnt/storage_dev/etc/workflows/join_script.sh using a remote execute service
2013-07-15 13:40:56 WARN (ServiceRegistryJpaImpl:1888) - Service org.opencastproject.execute@https://mh-dev5.rz.uni-ulm.de failed (500) accepting Job {id:964, version:5}
2013-07-15 13:40:56 WARN (ServiceRegistryJpaImpl:1888) - Service org.opencastproject.execute@https://mh-dev4.rz.uni-ulm.de failed (500) accepting Job {id:964, version:6}
and on the worker machines it's like:
2013-07-15 13:41:56 WARN (ServiceRegistryJpaImpl:1888) - Service org.opencastproject.execute@https://mh-dev4.rz.uni-ulm.de failed (500) accepting Job {id:964, version:57}
2013-07-15 13:41:59 ERROR (AbstractFaultChainInitiatorObserver:101) - Error occurred during error handling, give up!
org.apache.cxf.interceptor.Fault: javax.persistence.RollbackException: Exception [EclipseLink-4002](Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persist
ence.exceptions.DatabaseException
Internal Exception: org.postgresql.util.PSQLException: ERROR: operator does not exist: text = oid
Hint: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Position: 60
Error Code: 0
Call: DELETE FROM mh_job_argument WHERE ((id = ?) AND (argument = ?))
bind => [962, null]
...
First i thought it's a script or command problem, so i changed my script to
create a txt file in my workflow directory, with the same result as listed above.
I'll be glad for any advice you can provide.
I have a script that generates many output files and I want to add all of them to the mediapackage. Can I use the execution service to accomplish this?
Maybe a new operation? I can create a xml if its needed with information about the files and their types.
Accept someting as:
....
<configuration key="target-flavor">*/preview</configuration>
....
If commands.allowed
in org.opencastproject.execute.impl.ExecuteServiceImpl.properties
is left empty,
I got the message that the command is not allowed to be executed by the ExecuteService.
As I know by convention all commands should be allowed if the properties is undefined.
It's curious because if I define ffmpeg in the properties, the Service works well, but define the absolute path to my script don't.
2013-03-01 14:35:19 WARN (MediaInspectionServiceImpl:323) - Error inspecting http://localhost:8080/files/collection/executor/38_out
org.opencastproject.inspection.api.MediaInspectionException: Can not inspect files without a filename extension
at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.inspectTrack(MediaInspectionServiceImpl.java:251)
at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.process(MediaInspectionServiceImpl.java:173)
at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:192)
at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:157)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
I have a script that generates a catalog.xml file and I want to use the execution service to add it to the mediapackage. I configured a "execute-once" with the expected type Catalog, but it fails.
...
<configuration key="expected-type">Catalog</configuration>
...
If I run the same operation but with "Attachment" as an expected type. It works as expected. it adds the catalog.xml as an attachment, but I want to add it as an catalog.
The problem is that the catalogs have a type property and the execute service is not putting this parameter. Maybe you can add a new configuration key, for example
...
<configuration key="catalog-type">mpeg-7/segments</configuration>
...
and add the type property to the catalog.
Hi,
I just wanted to test the Matterhorn execute service with our Matterhorn 1.3.1 install. I adhered to the instructions on http://opencast.jira.com/wiki/display/MHDOC/Execute+Service and all modules compiled fine except matterhorn-exec-impl.
Here's the result of the compilation command - could you please tell me if this is a bug or if I did something wrong?
Thanks in advance
Alex
[root@mh-test5 matterhorn-execute-impl]# pwd
/opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl
[root@mh-test5 matterhorn-execute-impl]# mvn clean install -DdeployTo=/opt/matterhorn/felix/matterhorn -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building matterhorn-execute-impl 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ matterhorn-execute-impl ---
[INFO] Deleting /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ matterhorn-execute-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ matterhorn-execute-impl ---
[INFO] Compiling 2 source files to /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.327s
[INFO] Finished at: Wed Mar 20 22:48:57 CET 2013
[INFO] Final Memory: 22M/143M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project matterhorn-execute-impl: Compilation failure
[ERROR] /opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project matterhorn-execute-impl: Compilation failure
/opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
/opt/matterhorn/matterhorn_1.3.1/modules/matterhorn-execute-impl/src/main/java/org/opencastproject/execute/impl/endpoint/ExecuteRestEndpoint.java:[189,2] error: method does not override or implement a method from a supertype
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:729)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.