Problem running the Content project

6 replies [Last post]
Joined: 11/10/2009
Points: 5
Picture 1.png

Hi!

I'm starting to play with the Kaltura system, as we want to become Kaltura partners in the Hosted solution, developing our own client apps.

I have downloaded the kmc from svn://www.kaltura.org/usr/local/kalorg/kmc.

I have correctly compiled it with Flex. My flashvars in index.template.html looks like this:

"flashvars", "partner_id=63782"+
"&subp_id=6378200"+
"&uid=2"+
"&devFlag=false"+
"&host=1"+
"&debugMode=1" +
"&entryId=-1" +
"&kshowId=-1" +
"&openCw=openCw" +
"&widget_id=190"+ //b56d54bb5a
"&ks=OTg5NGNmNjI1YTI2ZTliMDcxZWQ....",

The KS is generated with the admin secret.

I run it correctly, I see the "content" widget in my browser and it correctly connects to our kaltura.com demo account in order to download the entries, moderation and playlists.

The problem is when the KMC needs to load the KDP (for example, when you click on an entry in the Entries tab). The output in the Flex debugger is this:

=================
KMC VERSION 1.1.2
=================
KDPSWFLoder==> http://www.kaltura.com/flash/kdp/v2.0.1/kdp.swf

[SWF] /flash/kdp/v2.0.1/kdp.swf - 1,319,406 bytes after decompression

version >>>>>>>>>>>>>>>> 2.0.1 <<<<<<<<<<<<<<<<

TypeError: Error #1034: Type Coercion failed: cannot convert mx.events::FlexEvent@3211d191 to mx.events.FlexEvent.
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.managers::SystemManager/preloader_preloaderDoneHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/displayClassCompleteHandler()
at mx.preloaders::Preloader/dispatchAppEndEvent()
at mx.preloaders::Preloader/appCreationCompleteHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.core::UIComponent/set initialized()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()

I hit F8 to continue after the exception and get:

loading skin from http://www.kaltura.com/content/uiconf/kaltura/kmc/kdp_kmc.swf
[SWF] /content/uiconf/kaltura/kmc/kdp_kmc.swf - 77,196 bytes after decompression
Warning: kplayer was asked to change dimentions before it was initialized.
Warning: kplayer was asked to change dimentions before it was initialized.
**************
KalturaCVF build version is: 1.2.1.24417
**************
got partner info:
(com.kaltura.base.context::PartnerInfo)#0
ks = "MDcyMzM0MTNhZjg2MmVkODExMTFlYzM0ZGM3MjE0MGJmNzUyNjM3MXw2Mzc4Mjs2Mzc4MjsxMjU3OTM4OTA5OzE7MTI1Nzg1MjUwOS45MDE4OztlZGl0Oio="
partner_id = "1"
partnerId = "1"
subp_id = "6378200"
subpId = "6378200"
uid = "2"
Kplayer Config file load ERRORError: Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://www.kaltura.com/flash/kdp/v2.0.1/swf/plugins/cvesdk/plugins.xml"]. URL: http://www.kaltura.com/flash/kdp/v2.0.1/swf/plugins/cvesdk/plugins.xml

Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://www.kaltura.com/flash/kdp/v2.0.1/swf/plugins/cvesdk/plugins.xml"]. URL: http://www.kaltura.com/flash/kdp/v2.0.1/swf/plugins/cvesdk/plugins.xml
at kaltura.kplayer::KplayerModuleCode/serverConfigFault()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.kaltura.application::KalturaApplication/dispatchEvent()
at com.kaltura.application.commands::InitKalturaApplicationCommand/fault()
at com.kaltura.application.commands::LoadPluginsCommand/fault()
at com.kaltura.common.business::LoadPluginsListDelegate/fault()
at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyFault()
at mx.rpc.events::FaultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()
at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at DirectHTTPMessageResponder/errorHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

And hitting F8 again, I get the result in the attached image.

For me, it seems that the problem is related to a wrong interaction between versions of KMC and KDP.

Any suggestion, please?

BTW, is this the correct site to download the code? Is it the same repository that svn://www.kaltura.org/kalorg/kmc?

Joined: 01/05/2009
Points: 1697

Hi,

I'm not really sure what you try to achieve, can you share some background on the intentions of your project?
It seems to me you compile KMC with a later version of Flex, while KDP is using Flex 3.0.

Please see the url for the repository on the project page. main repository is on http://www.kaltura.org/kalorg/
so the KMC project is: http://www.kaltura.org/kalorg/kmc/

we use http for repository access both for browsing and svn clients, so if you used the old svn:// one, you need to switch to http (http://www.kaltura.org/kalorg/)

Joined: 11/10/2009
Points: 5

Hi!

We are just trying to set up the "Content" tab so that we can show to potential customers how powerful the Kaltura system is. We need it under our own control (video.unusualfactory.com/content.html) because we are going to develop new flex/flash clients, tailored to customer requirements, and we want to show that we control it technically.

This is just a hand-on first approach to the SDK, APIs, etc. We are trying to get it working without any modifications, just compile and make it run.

I'm using Flex 3.2 (latest one from Adobe) to compile the KMC, which is essentially the same as 3.0, isn't it?

I'm going to try to download the code from the http repository and see if it solves the problem.

Byte!

Joined: 03/29/2009
Points: 764

Any updates? Was the problem solved?

Joined: 11/10/2009
Points: 5

It seems I can't access to http://www.kaltura.org/kalorg/kmc anonymously?

Joined: 03/29/2009
Points: 764

Please try again, we had a temporary problem. Let us know how it works!

Joined: 11/10/2009
Points: 5

Nay, it seems I can't see the kdp from the content.swf.

Are you sure that the bundled kdp.swf in the bin-debug folder is able to work against the hosted account?