va el archivo .lua
Me olvide que podía enviarte lo que me tira por consola, luego de ejecutar el archivo .ncl .virtualbox@virtuakarmic:~/workspace/New NCL Project$ ginga --ncl test3.nclargv = 'test3.ncl' nclFile = 'test3.ncl'ginga main() NCLFILE = /home/virtualbox/workspace/New NCL Project/test3.nclcommandline 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/test3.nclPresentationEngineManager::openNclFile document process time: 0== PEM::createNclPlayerFormatterMediator::printData(0xb620f6b8) baseId: -1 playerId: /home/virtualbox/workspace/New NCL Project/test3.ncl devClass: 0 x: 0 y: 0 w: 720 h: 576 enableGfx: 0 parentDocId: docId:BroadcastSocketService::discoverBroadcastAddress Warning! can't discover broadcast addressPresentationContext::initializeSystemValuesPresentationContext::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(0xb620f6b8) isEmbedded = '0'PrivateBaseContext::addDocument id='holamundo_lua' url='/home/virtualbox/workspace/New NCL Project/test3.ncl' all doneFormatterMediator::getDepUriFromNode checking descriptor 'descBkg'FormatterMultiDevice::addActiveUris activeBaseUri=/home/virtualbox/workspace/New NCL Project/Document ID: holamundo_luaPresentationContext::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: 0xb6257b38FormatterScheduler::runAction acquiring player for '-1/holamundo_lua/app/descBkg' TimeStamp: 0.592FormatterPlayerAdapter::createPlayer for '/home/virtualbox/workspace/New NCL Project/./holamundo.lua'*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb6257b38PresentationContext::getPropertyValue prop 'service.currentKeyMaster' has a NULL value*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6257b38*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb6261e70*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6261e70/home/virtualbox/src/gingacc-system/src/io/interface/content/text/DFBFontProvider.cpp <98>:DFBSurface::setFont Warning! Can't set font '0' surface '0xb621ae78'(!) [ 1804: 0.000] --> Caught signal 11 (at 0xc, invalid address) <--(!!!) *** WARNING [still objects in 'Window Pool'] *** [../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()](!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()](!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()](!!!) *** WARNING [still objects in 'Surface Pool'] *** [../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()]AbortedIGnacioEl 21 de octubre de 2011 14:51, ignacio giagante <igiagante@gmail.com> escribió:Hola Nicolás, gracias por responder.El archivo que estoy ejecutando es el siguiente:<ncl xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile" id="holamundo_lua"><head><regionBase><region id="regBkg" width="100%" height="100%"/></regionBase><descriptorBase><descriptor id="descBkg" region="regBkg"/></descriptorBase></head><body><port id="pEntry" component="app"/><media id="app" src="./holamundo.lua" descriptor="descBkg"/></body></ncl>Y con respecto al Log de Ginga, sinceramente no encuentro el archivo. Tengo que configurar alguna variable para que el log esté activo y se genere el archivo?Saludos,IgnacioEl 21 de octubre de 2011 07:01, <ginga-argentina-request@lists.ourproject.org> escribió:
Send Ginga-argentina mailing list submissions to
ginga-argentina@lists.ourproject.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
or, via email, send a message with subject or body 'help' to
ginga-argentina-request@lists.ourproject.org
You can reach the person managing the list at
ginga-argentina-owner@lists.ourproject.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ginga-argentina digest..."
Today's Topics:
1. Problemas (ignacio giagante)
2. Re: Problemas (Nicolas Baglivo)
----------------------------------------------------------------------
Message: 1
Date: Thu, 20 Oct 2011 19:26:12 -0300
From: ignacio giagante <igiagante@gmail.com>
Subject: [Ginga-argentina] Problemas
To: ginga-argentina@lists.ourproject.org
Message-ID:
<CAA0puXeAuVXDPi93N7w_eJPnkc7DaJRsYjrFXcuZRAJYs7egGQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hola gente,
estoy empezando a desarrollar en NCL y LUA, y quer?a comentarles los
problemas que todav?a no he podido solucionar:
- Cuando quiero ejecutar un script lua desde NCL, se me cierra el
emulador del set top box.
- Cuando quiero mostrar un texto haciendo referencia a un archivo de
texto a trav?s de un MEDIA, no se muestra nada.
Nota: Los archivos ncl los corro desde la consola, ya que desde eclipse no
me andan. Me sale un mensaje diciendo "Connecting to serve...".
Pregunta: Si tengo dos objetos, los cuales est?n en dos regiones diferentes,
necesito un PORT por cada MEDIA? Puedo tener un solo PORT para varios
objetos MEDIA? y si es as?, deben tener al menos una conexi?n entre ellos?
Espero que den una mano, estoy atascado hace unos d?as con estos problemas.
Saludos,
Ignacio
--
Sarang Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20111020/5721ee96/attachment-0001.htm
------------------------------
Message: 2
Date: Thu, 20 Oct 2011 22:03:17 -0300
From: Nicolas Baglivo <nbaglivo@lifia.info.unlp.edu.ar>
Subject: Re: [Ginga-argentina] Problemas
To: Lista de la comunidad argentina de Ginga
<ginga-argentina@lists.ourproject.org>
Message-ID:
<CAOPT_f=dM=TxigdT6TbT6o4G8yi_+1m5kO__5nHqm=3ksaFXCw@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Que tal Ignacio, para poder ayudarte con los dos primeros puntos estar?a
bueno poder ver el log de Ginga y tu archivo NCL, si nos podes mostrar eso
seguramente te podremos dar una mejor respuesta.
Sobre tu pregunta, podes tener un port por cada media o bien un port a un
media y utilizar un link para que cuando ese media comience a reproducirse
(onBegin) autom?ticamente se reproduzcan (start) el resto de los objetos
media. Naturalmente tambi?n vas a tener un connector para ese link.
Tu Port y link entonces ser?a algo as?:
<port id="portID" component="UN_MEDIA"/>
<link xconnector="onBeginStart">
<bind role="onBegin" component="UN_MEDIA"/>
<bind role="start" component="ALGUN_OTRO_MEDIA"/>
<bind role="start" component="UN_MEDIA_MAS"/>
</link>
Esto ser?a an?logo a poner:
<port id="portID" component="UN_MEDIA"/>
<port id="portID2" component="ALGUN_OTRO_MEDIA"/>
<port id="portID3" component="UN_MEDIA_MAS"/>
El 20 de octubre de 2011 19:26, ignacio giagante <igiagante@gmail.com>escribi?:
> Hola gente,
>
> estoy empezando a desarrollar en NCL y LUA, y quer?a comentarles los
> problemas que todav?a no he podido solucionar:
>
>
> - Cuando quiero ejecutar un script lua desde NCL, se me cierra el
> emulador del set top box.
> - Cuando quiero mostrar un texto haciendo referencia a un archivo de
> texto a trav?s de un MEDIA, no se muestra nada.
>
> Nota: Los archivos ncl los corro desde la consola, ya que desde eclipse no
> me andan. Me sale un mensaje diciendo "Connecting to serve...".
>
> Pregunta: Si tengo dos objetos, los cuales est?n en dos regiones
> diferentes, necesito un PORT por cada MEDIA? Puedo tener un solo PORT para
> varios objetos MEDIA? y si es as?, deben tener al menos una conexi?n entre
> ellos?
>
> Espero que den una mano, estoy atascado hace unos d?as con estos problemas.
>
> Saludos,
>
> Ignacio
> --
> Sarang Singh
>
> __________________________________________Lista de correo
> Ginga-argentina@lists.ourproject.org
> cambiar suscripción:
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
> Sitio web: http://comunidad.ginga.org.ar
> Wiki: http://wiki.ginga.org.ar
>
>
--
Nicol?s Baglivo, LIFIA, Facultad de Inform?tica, UNLP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20111020/1919be3a/attachment-0001.htm
------------------------------
_______________________________________________
Ginga-argentina mailing list
Ginga-argentina@lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
End of Ginga-argentina Digest, Vol 25, Issue 10
***********************************************
--
Sarang Singh
--
Sarang Singh