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@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...

No se que versión será. Vos estás usando la misma?

Saludos,

Ignacio

2011/10/25 <ginga-argentina-request@lists.ourproject.org>

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. 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@gmail.com>
Subject: Re: [Ginga-argentina] Reenv?o un problema, pero esta vez
       organizado
To: Lista de la comunidad argentina de Ginga
       <ginga-argentina@lists.ourproject.org>
Message-ID:
       <CADE2_vp--0c7wSPECm-FKqRaBE2vjsenRytbTfTb6KxQZTCAJA@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@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@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@lists.ourproject.org
> cambiar suscripci&#243;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@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