Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
Hi,
I have a 'Queued, waiting to run' Flatten task. I have tried to retry the task from the Admin console,but it failed with following message.
78|/opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kFlowManager.php|556|Argument 2 passed to kFlowManager::updatedFlattenRetry() must be an instance of kFlattenJobData, boolean given, called in /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kFlowManager.php on line 530 and defined|#0 /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kFlowManager.php(556): KalturaFrontController->errorHandler(4096, 'Argument 2 pass...', '/opt/kaltura/ap...', 556, Array) #1 /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kFlowManager.php(530): kFlowManager->updatedFlattenRetry(Object(BatchJob), false, NULL, NULL) #2 /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kFlowManager.php(1124): kFlowManager->updatedFlatten(Object(BatchJob), false, NULL, NULL) #3 /opt/kaltura/app/alpha/apps/kaltura/lib/events/events/kBatchJobStatusEvent.php(44): kFlowManager->updatedJob(Object(BatchJob), NULL, NULL) #4 /opt/kaltura/app/alpha/apps/kaltura/lib/events/KalturaEvent.php(24): kBatchJobStatusEvent->doConsume(Object(kFlowManager)) #5 /opt/kaltura/app/alpha/apps/kaltura/lib/events/kEventsManager.php(61): KalturaEvent->consume(Object(kFlowManager)) #6 /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kJobsManager.php(30): kEventsManager::raiseEvent(Object(kBatchJobStatusEvent)) #7 /opt/kaltura/app/alpha/apps/kaltura/lib/batch2/kJobsManager.php(114): kJobsManager::updateBatchJob(Object(BatchJob), 9) #8 /opt/kaltura/app/api_v3/services/JobsService.php(1043): kJobsManager::retryJob(78, 3) #9 [internal function]: JobsService->retryJobAction(78, 3) #10 /opt/kaltura/app/api_v3/lib/KalturaServiceReflector.php(250): call_user_func_array(Array, Array) #11 /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php(110): KalturaServiceReflector->invoke('retryJob', Array) #12 /opt/kaltura/app/api_v3/lib/KalturaFrontController.php(75): KalturaDispatcher->dispatch('jobs', 'retryJob', Array) #13 /opt/kaltura/app/api_v3/web/index.php(19): KalturaFrontController->run() #14 {main}
I am running a Kaltura CE 3.0 and using Java API to request the flattening of a mix. Do I need to create a flatten server for flattening mix? If that is the case, how can I create a flatten server?
Please kindly tell me what I need to do to get his working. Many thanks for your help.
Stephen
Hi stsai,
I'm also looking into why KalturaCE 3.0 doesn't do flattening when so many parts of the api seems to indicate the contrary...
As far as I can tell to date, you're getting the above message because kFlattenJobData.php (in app/alpha/apps/kaltura/lib/batch2/model/) has no code other than a bare php wrapper:
<?php
/**
* @package Core
* @subpackage Batch
*/
class kFlattenJobData
{
}
?>
This is called by kFlowManager.php (in app/alpha/apps/kaltura/lib/batch2/) ... so I'm guessing a basic implementation for kFlattenJobData is needed to get closer to a working flattening server. The other relevant files I found are :
- app/alpha/apps/kaltura/lib/batch/myBatchFlattenVideo.class.php
- app/alpha/batch/rules.cfg
I'm looking more into this...
If anybody else can help that would be great!