[Ginga-argentina] Ginga-argentina Digest, Vol 25, Issue 21
ignacio giagante
igiagante at gmail.com
Mon Oct 31 23:50:41 CET 2011
Hola Leo. Mira, me puse a averiguar por que no me está andando el código y
encontre algo extraño. Cuando quito las siguientes líneas del código del
archivo holamundo.lua:
-- Seteamos los atributos de la letra
canvas:attrFont('Arial', 20, 'bold')
Se levanta el emulador, pero no muestra nada. Ahora, cuando agrego estas
lineas de código, me tira el siguiente error... a ver si por ahi vos ves
algo.
virtualbox at virtuakarmic:~/workspace/New NCL Project$ ginga --ncl test3.ncl
argv = 'test3.ncl' nclFile = 'test3.ncl'
ginga main() NCLFILE = /home/virtualbox/workspace/New NCL Project/test3.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/test3.ncl
PresentationEngineManager::openNclFile document process time: 0
== PEM::createNclPlayer
FormatterMediator::printData(0xb600f648) 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 address
PresentationContext::initializeSystemValues
PresentationContext::getPropertyValue prop 'default.focusBorderColor' ==
'blue'
PresentationContext::getPropertyValue prop 'default.focusBorderWidth' == '3'
PresentationContext::getPropertyValue prop 'default.selBorderColor' ==
'green'
FormatterFocusManager::setKeyHandler(0xb60170e0) isHandler '1'
this->isHandler '0' parentManager '0'
FormatterMediator::FormatterMediator(0xb600f648) isEmbedded = '0'
PrivateBaseContext::addDocument id='holamundo_lua'
url='/home/virtualbox/workspace/New NCL Project/test3.ncl' all done
FormatterMediator::getDepUriFromNode checking descriptor 'descBkg'
FormatterMultiDevice::addActiveUris
activeBaseUri=/home/virtualbox/workspace/New NCL Project/
Document ID: holamundo_lua
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: 0xb6057b18
FormatterScheduler::runAction acquiring player for
'-1/holamundo_lua/app/descBkg' TimeStamp: 0.095
FormatterPlayerAdapter::createPlayer for '/home/virtualbox/workspace/New
NCL Project/./holamundo.lua'
*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb6057b18
PresentationContext::getPropertyValue prop 'service.currentKeyMaster' has a
NULL value
*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6057b18
*** !!!! FormatterScheduler::eventStateChanged start, event: 0xb6061de8
*** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6061de8
*/home/virtualbox/src/gingacc-system/src/io/interface/content/text/DFBFontProvider.cpp
<98>:*
* DFBSurface::setFont Warning! Can't set font '0' surface
'0xb601ae78'*
(!) [ 2243: 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()]
Aborted
Resalto en rojo lo que puede llegar a ser el problema. Es un bajón cuando
pasan estas cosas, no podes seguir trabajando por cuestiones que uno no
entiende porque pasan.
Saludos y gracias por la ayuda,
Ignacio
2011/10/31 <ginga-argentina-request at lists.ourproject.org>
> Send Ginga-argentina mailing list submissions to
> ginga-argentina at 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 at lists.ourproject.org
>
> You can reach the person managing the list at
> ginga-argentina-owner at 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. Re: Ginga-argentina Digest, Vol 25, Issue 16 (leo)
> 2. duda sobre seguridad (Roberto Buccino)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 31 Oct 2011 08:36:37 -0300
> From: leo <lisasmendi at lifia.info.unlp.edu.ar>
> Subject: Re: [Ginga-argentina] Ginga-argentina Digest, Vol 25, Issue
> 16
> To: Lista de la comunidad argentina de Ginga
> <ginga-argentina at lists.ourproject.org>
> Message-ID:
> <CAN7x8EqY6kQZ3LCRXZR237nXaez84P00UCP2bB1g+JrnLqrSBg at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hola Ignacio, el c?digo que enviaste funciona en la versi?n 1.2.0.
> El usr y pass es igual para la versi?n 1.1.0 y 1.2.0 (u=root,p=ginga), para
> la m?quina virtual con Kubuntu el usuario es virtualbox y la contrase?a es
> ginga.
> Es raro que no puedas mostrar un media texto desde ncl. Te tira alg?n tipo
> de error en particular?
>
> Saludos leo
>
> El 28 de octubre de 2011 16:41, ignacio giagante <igiagante at gmail.com
> >escribi?:
>
> > Hola, alguien podr?a decirme si pueden correr el siguiente c?digo en la
> VM
> > versi?n 1.2.0? Tambi?n baje la versi?n 1.1.0, pero me pide usuario y
> > contrase?a los cuales parecen no se lo mismo que ?ltima versi?n.
> >
> > <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>
> >
> > Script Lua!
> >
> > -- Seteamos el color del pincel
> > canvas:attrColor('blue')
> >
> > -- Seteamos los atributos de la letra
> > canvas:attrFont('Tiresias', 40, 'bold')
> >
> > -- Dibujamos un texto en x=50, y=50
> > canvas:drawText(50, 50, "Hola Mundo!")
> >
> > -- Actualizamos la pantalla
> > canvas:flush()
> >
> > Tampoco puedo mostrar un texto haciendo referencia a un MEDIA el es un
> > archivo de texto.
> >
> > Saludos,
> >
> > Ignacio
> >
> > 2011/10/25 ignacio giagante <igiagante at gmail.com>
> >
> >> Hola Federico, es incre?ble lo que me dec?s.
> >>
> >> Yo estoy usando la ?ltima VM que se subi? a LIFIA y corro Virtual Box
> >> sobre un Mac OS. En NCL puedo reproducir los videos, pero no puedo
> escuchar
> >> los sonidos. Alg?n codec que est? faltando?
> >>
> >>
> >>
> ftp://tvd.lifia.info.unlp.edu.ar/SetTopBoxVirtual/Kubuntu-Karmic-i386-Gi..
> .<
> ftp://tvd.lifia.info.unlp.edu.ar/SetTopBoxVirtual/Kubuntu-Karmic-i386-GingaLifia.vdi.tgz
> >
> >>
> >> No se que versi?n ser?. Vos est?s usando la misma?
> >>
> >> Saludos,
> >>
> >> Ignacio
> >>
> >> 2011/10/25 <ginga-argentina-request at lists.ourproject.org>
> >>
> >> Send Ginga-argentina mailing list submissions to
> >>> ginga-argentina at 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 at lists.ourproject.org
> >>>
> >>> You can reach the person managing the list at
> >>> ginga-argentina-owner at 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. Re: Reenv?o un problema, pero esta vez organizado
> >>> (Federico Balaguer)
> >>>
> >>>
> >>> ----------------------------------------------------------------------
> >>>
> >>> Message: 1
> >>> Date: Mon, 24 Oct 2011 22:56:38 -0500
> >>> From: Federico Balaguer <federico.balaguer at gmail.com>
> >>> Subject: Re: [Ginga-argentina] Reenv?o un problema, pero esta vez
> >>> organizado
> >>> To: Lista de la comunidad argentina de Ginga
> >>> <ginga-argentina at lists.ourproject.org>
> >>> Message-ID:
> >>> <
> >>> CADE2_vp--0c7wSPECm-FKqRaBE2vjsenRytbTfTb6KxQZTCAJA at mail.gmail.com>
> >>> Content-Type: text/plain; charset="iso-8859-1"
> >>>
> >>> yo lo corri en mi VM y no tuve el problema que vos experimentas
> >>>
> >>> 2011/10/24 ignacio giagante <igiagante at gmail.com>
> >>>
> >>> > Hola gente,
> >>> >
> >>> > les comentaba que quiero correr un script de Lua y se cierra el
> >>> emulador.
> >>> >
> >>> > *Archivo NCL:*
> >>> >
> >>> > <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>
> >>> >
> >>> > *Archivo LUA:*
> >>> >
> >>> > -- Seteamos el color del pincel
> >>> > canvas:attrColor('blue')
> >>> >
> >>> > -- Seteamos los atributos de la letra
> >>> > canvas:attrFont('Tiresias', 40, 'bold')
> >>> >
> >>> > -- Dibujamos un texto en x=50, y=50
> >>> > canvas:drawText(50, 50, "Hola Mundo!")
> >>> >
> >>> > -- Actualizamos la pantalla
> >>> > canvas:flush()
> >>> >
> >>> > *EL LOG DE LA CONSOLA* (NO encontre ning?n archivo que guarde un log
> de
> >>> > Ginga)
> >>> >
> >>> > virtualbox at virtuakarmic:~/workspace/New NCL Project$ ginga --ncl
> >>> > test3.ncl
> >>> > argv = 'test3.ncl' nclFile = 'test3.ncl'
> >>> > ginga main() NCLFILE = /home/virtualbox/workspace/New NCL
> >>> Project/test3.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/test3.ncl
> >>> >
> >>> > PresentationEngineManager::openNclFile document process time: 0
> >>> > == PEM::createNclPlayer
> >>> > FormatterMediator::printData(0xb600f6f0) 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 address
> >>> > PresentationContext::initializeSystemValues
> >>> > PresentationContext::getPropertyValue prop 'default.focusBorderColor'
> >>> ==
> >>> > 'blue'
> >>> > PresentationContext::getPropertyValue prop 'default.focusBorderWidth'
> >>> ==
> >>> > '3'
> >>> > PresentationContext::getPropertyValue prop 'default.selBorderColor'
> ==
> >>> > 'green'
> >>> > FormatterFocusManager::setKeyHandler(0xb60170e0) isHandler '1'
> >>> > this->isHandler '0' parentManager '0'
> >>> > FormatterMediator::FormatterMediator(0xb600f6f0) isEmbedded = '0'
> >>> > PrivateBaseContext::addDocument id='holamundo_lua'
> >>> > url='/home/virtualbox/workspace/New NCL Project/test3.ncl' all done
> >>> > FormatterMediator::getDepUriFromNode checking descriptor 'descBkg'
> >>> > FormatterMultiDevice::addActiveUris
> >>> > activeBaseUri=/home/virtualbox/workspace/New NCL Project/
> >>> > Document ID: holamundo_lua
> >>> > 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: 0xb6057ba8
> >>> > FormatterScheduler::runAction acquiring player for
> >>> > '-1/holamundo_lua/app/descBkg' TimeStamp: 0.081
> >>> > FormatterPlayerAdapter::createPlayer for
> >>> '/home/virtualbox/workspace/New
> >>> > NCL Project/./holamundo.lua'
> >>> > *** !!!! FormatterScheduler::eventStateChanged start, event:
> 0xb6057ba8
> >>> > PresentationContext::getPropertyValue prop 'service.currentKeyMaster'
> >>> has a
> >>> > NULL value
> >>> > *** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6057ba8
> >>> > *** !!!! FormatterScheduler::eventStateChanged start, event:
> 0xb6019648
> >>> > *** !!!! FormatterScheduler::eventStateChanged end, event: 0xb6019648
> >>> >
> >>>
> /home/virtualbox/src/gingacc-system/src/io/interface/content/text/DFBFontProvider.cpp
> >>> > <98>:
> >>> > DFBSurface::setFont Warning! Can't set font '0' surface
> >>> > '0xb601aef0'
> >>> > (!) [ 1721: 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()]
> >>> > Aborted
> >>> >
> >>> >
> >>> > Espero que puedan ayudarme, estoy muy atrasado con mi proyecto.
> >>> >
> >>> > Saludos y muchas gracias,
> >>> >
> >>> > Ignacio
> >>> >
> >>> > --
> >>> > Sarang Singh
> >>> >
> >>> > __________________________________________Lista de correo
> >>> > Ginga-argentina at 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
> >>> >
> >>> >
> >>> -------------- next part --------------
> >>> An HTML attachment was scrubbed...
> >>> URL:
> >>>
> https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20111024/eeb00ff6/attachment-0001.htm
> >>>
> >>> ------------------------------
> >>>
> >>> _______________________________________________
> >>> Ginga-argentina mailing list
> >>> Ginga-argentina at lists.ourproject.org
> >>> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
> >>>
> >>>
> >>> End of Ginga-argentina Digest, Vol 25, Issue 16
> >>> ***********************************************
> >>>
> >>
> >>
> >>
> >> --
> >> Sarang Singh
> >>
> >
> >
> >
> > --
> > Sarang Singh
> >
> > __________________________________________Lista de correo
> > Ginga-argentina at 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
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20111031/9f7b850a/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Mon, 31 Oct 2011 10:16:57 -0200
> From: Roberto Buccino <alfacentauro at paralelo42.com>
> Subject: [Ginga-argentina] duda sobre seguridad
> To: Lista de la comunidad argentina de Ginga
> <ginga-argentina at lists.ourproject.org>
> Message-ID: <201110311016.57617.alfacentauro at paralelo42.com>
> Content-Type: text/plain; charset="utf-8"
>
>
> Para los que hicieron alguna experiencia con ginga, les comento en Espa?a
> hace
> unos dias muchos televisores se bloquearon en algunos canales de TDT.
>
> Desde lo electronico no encontre razon para que un canal pudiera bloquear
> el
> sintonizador hasta que me dije habra sido un hackeo y lo hicieron con
> ginga?
>
> La pregunta, en el TV queda resindente algo que tenga mayor nivel de
> acceso al
> kernel o se puede meter algo tipo loop eterno que haga bloquear al sinto?
>
> Saludos,
> Roberto
>
>
>
> ------------------------------
>
> _______________________________________________
> Ginga-argentina mailing list
> Ginga-argentina at lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina
>
>
> End of Ginga-argentina Digest, Vol 25, Issue 21
> ***********************************************
>
--
Sarang Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20111031/e67d93c4/attachment-0001.htm
More information about the Ginga-argentina
mailing list