[Ginga-argentina] Problemas para mostrar texto

ignacio giagante igiagante at gmail.com
Tue Oct 25 00:19:30 CEST 2011


Hola gente,

estoy corriendo el siguiente código y no logro mostrar el texto.

<ncl id="test" xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile">
	<head>
		<regionBase>
			<region id="textoReg" width="80%" height="25%" zIndex="5" />
            <region id="region1" width="100%" height="100%" zIndex="1"/>
            <region id="region2" width="30%" height="30%" zIndex="3"/>
		</regionBase>
		
		<descriptorBase>
			<descriptor id="descId" region="region1" explicitDur="4s"/>
			<descriptor id="desc2" region="textoReg"/>
			<descriptor id="desc3" region="region2"/>
		</descriptorBase>
		
		<connectorBase>
                <causalConnector id="onEndStop">
                        <simpleCondition role="onEnd" />
                        <simpleAction role="Start" max="unbounded"
qualifier="seq"/>
                </causalConnector>
        </connectorBase>
		
	</head>

	<body>
		<media id="image" descriptor="descId"
src="/home/virtualbox/Documentos/puma.jpg"/>
	    <media id="text" descriptor="desc2"
src="/home/virtualbox/Documentos/text"/>
		<media id="image2" descriptor="desc3"
src="/home/virtualbox/Documentos/puma.jpg"/>
		
		<port id="port1" component="image"/>
	
	    <link xconnector="onEndStop">
	    	<bind role="onEnd" component="image"/>
	    	<bind role="Start" component="image2"/>
	    	<bind role="Start" component="text"/>
	    </link>
	
	</body>
</ncl>

Este es el log de la consola

ginga main() NCLFILE = /home/virtualbox/workspace/New NCL
Project/test.ncl
commandline read: ginga

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.7 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2008  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2009-06-02 06:33)
(*) Direct/Thread: Started 'Joystick Input' (-1) [INPUT OTHER/OTHER
0/0] <8388608>...
 (!!!)  *** ONCE [Joystick sends JS_EVENT_INIT events, make sure it
has been calibrated using 'jscal -c'
] *** [../../../inputdrivers/joystick/joystick.c:99 in
joystick_handle_event()]
(*) DirectFB/Input: Joystick 0.9 (directfb.org)
 (!!!)  *** WARNING [out of memory] ***
[../../../src/core/input.c:1127 in init_axes()]
(*) Direct/Thread: Started 'X11 Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: X11 Input 0.1 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) X11/Window: Creating  720x 576 RGB32 window...
(*) X11/Display: Using XShm.
(#) DirectFBError [gingacc-systemio DFBDeviceScreen TestConfig error:
]: Not supported!
InputManager::initializeInputIntervalTime imperative = '0' declarative
= '200'
ginga main() NCLFILE = /home/virtualbox/workspace/New NCL
Project/test.ncl
PresentationEngineManager::openNclFile document process time: 0
== PEM::createNclPlayer
FormatterMediator::printData(0xb620f400) baseId: -1 playerId:
/home/virtualbox/workspace/New NCL Project/test.ncl devClass: 0 x: 0
y: 0 w: 720 h: 576 enableGfx: 0 parentDocId:  docId:
BroadcastSocketService::discoverBroadcastAddress Warning! can't
discover broadcast address
PresentationContext::initializeSystemValues
PresentationContext::getPropertyValue prop 'default.focusBorderColor'
== 'blue'
PresentationContext::getPropertyValue prop 'default.focusBorderWidth'
== '3'
PresentationContext::getPropertyValue prop 'default.selBorderColor' ==
'green'
FormatterFocusManager::setKeyHandler(0xb62170e0) isHandler '1'
this->isHandler '0' parentManager '0'
FormatterMediator::FormatterMediator(0xb620f400) isEmbedded = '0'
PrivateBaseContext::addDocument id='test'
url='/home/virtualbox/workspace/New NCL Project/test.ncl' all done
FormatterMediator::getDepUriFromNode checking descriptor 'descId'
FormatterMediator::getDepUriFromNode checking descriptor 'desc2'
FormatterMediator::getDepUriFromNode checking descriptor 'desc3'
FormatterMultiDevice::addActiveUris
activeBaseUri=/home/virtualbox/workspace/New NCL Project/
Document ID: test
PresentationContext::getPropertyValue prop
'default.focusBorderTransparency' == '0'
PresentationContext::getPropertyValue prop 'default.focusBorderColor'
== 'blue'
PresentationContext::getPropertyValue prop 'default.focusBorderWidth'
== '3'
PresentationContext::getPropertyValue prop 'default.selBorderColor' ==
'green'
*** !!!! FormatterScheduler::runAction start, event: 0xb6260400
FormatterScheduler::runAction acquiring player for
'-1/test/image/descId' TimeStamp: 0.062
(*) Direct/Interface: Loaded 'IMLIB2' implementation of
'IDirectFBImageProvider'.
FormatterPlayerAdapter::createPlayer for
'/home/virtualbox/Documentos/puma.jpg'
*** !!!! FormatterScheduler::eventStateChanged start, event:
0xb6260400
PresentationContext::getPropertyValue prop 'service.currentKeyMaster'
has a NULL value
*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6260400
*** !!!! FormatterScheduler::eventStateChanged start, event:
0xb62176e8
*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb62176e8
FormatterPlayerAdapter::start creating TIME NominalEventMonitor for
'-1/test/image/descId'
Starting just prepared player
*** !!!! FormatterScheduler::runAction end, event: 0xb6260400
*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb6260400
*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6260400
*** !!!! FormatterScheduler::runAction start, event: 0xb6261078
FormatterScheduler::runAction acquiring player for
'-1/test/image2/desc3' TimeStamp: 4.109
FormatterPlayerAdapter::createPlayer for '/home/virtualbox/Documentos/puma.jpg'
*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb6261078
PresentationContext::getPropertyValue prop 'service.currentKeyMaster'
has a NULL value
*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6261078
Starting just prepared player
*** !!!! FormatterScheduler::runAction end, event: 0xb6261078
*** !!!! FormatterScheduler::runAction start, event: 0xb624a538
FormatterScheduler::runAction acquiring player for
'-1/test/text/desc2' TimeStamp: 4.111
PlayerAdapterManager::initializePlayer creating local time player
FormatterPlayerAdapter::createPlayer for '/home/virtualbox/Documentos/text'
*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb624a538
PresentationContext::getPropertyValue prop 'service.currentKeyMaster'
has a NULL value
*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb624a538
Starting just prepared player
*** !!!! FormatterScheduler::runAction end, event: 0xb624a538

Saludos,

Ignacio

-- 
Sarang Singh



More information about the Ginga-argentina mailing list