Hi All,
In testing the "default workflow with branding" on 1.3 and trunk. I'm
getting a mime type failure:
13:26:39 INFO (ComposerServiceImpl:221) - Deleted the local copy of the
encoded file at
/home/dhorwitz/matterhorn/data/opencast-1.4/workspace/mediapackage/b06542bf-1d3f-4299-b5b7-8fd315a2b098/a5500e85-2c1e-4179-9d39-fbbe6bcd2a39/P1040151_fb93262c-0150-4493-af3d-dd02434977bb-branding.mpg
13:26:41 INFO (MediaInspectionServiceImpl:253) - Unable to find
mimetype for
/home/dhorwitz/matterhorn/data/opencast-1.4/workspace/collection/composer/91.mpg
13:28:18 ERROR (WorkflowOperationWorker:157) - Workflow operation
'watermark' failed
java.lang.IllegalArgumentException: Argument 'mimeType' is malformed
at
org.opencastproject.util.MimeTypes.parseMimeType(MimeTypes.java:202)
at
org.opencastproject.workflow.handler.WatermarkWorkflowOperationHandler.updateTrackMetadata(WatermarkWorkflowOperationHandler.java:221)
at
org.opencastproject.workflow.handler.WatermarkWorkflowOperationHandler.watermark(WatermarkWorkflowOperationHandler.java:190)
at
org.opencastproject.workflow.handler.WatermarkWorkflowOperationHandler.start(WatermarkWorkflowOperationHandler.java:112)
at
org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:217)
at
org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:139)
at
org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:722)
at
org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1485)
at
org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1790)
at
org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1763)
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)
Debuging shows that profile.getMimeType() is returning
"#{in.video.mimetype}" which obviously can't be parsed. I can get it
working by patching the conditional to ignore this value (and this fixes
the workflow) However this seems the wrong place to fix it. Should the
profile ever return the unsubstantiated values?
Regards
D
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users