[Ginga-argentina] Error en NCLua

Ezequiel García elezegarcia at yahoo.com.ar
Tue Feb 8 13:48:57 CET 2011


Hola Mario y bienvenido a la comunidad Ginga,
1. En primer lugar, ¿pudiste correr la aplicación hola-mundo que está en la wiki? Falta la imagen jpg pero la podés reemplazar por cualquier otra (acordáte de renombrarla). 
http://wiki.ginga.org.ar/doku.php?id=aprende:hola_mundo

2. No sé bien como es la configuración de la máquina virtual (no la tengo a mano), pero por el log que enviás DirectFB se está quejando de que no tiene memoria suficiente. ¿Cuánta RAM le asignaste a la máquina virtual?
3. El Ginga no encuentra un módulo Lua, que está en el archivo "tcp_event.lua". Todas esas lineas que dicen "no file ...", son lugares que podrían contener dicho módulo. El Ginga está buscando el módulo en al menos una de esas ubicaciones. Para verificar si efectivamente tenés o no el archivo, tipea esto en una consola y mandános el resultado.
$ locate tcp_event.lua
Si en la máquina virtual no viene instalado el programa locate, entonces para instalarlo hacés esto (suponiendo que es un debian/ubuntu):
$ sudo apt-get install locate

Saludos,Ezequiel.
--- El lun 7-feb-11, Mario Oroz <mario.oroz at gmail.com> escribió:

De: Mario Oroz <mario.oroz at gmail.com>
Asunto: [Ginga-argentina] Error en NCLua
Para: ginga-argentina at lists.ourproject.org
Fecha: lunes, 7 de febrero de 2011, 19:32

Hola, mi nombre es Mario Oroz, soy nuevo en la lista.
Me interesa mucho el tema de las aplicaciones para la TV digital
usando GINGA y sus dos lenguajes NCL y LUA.

Estoy tratando de correr el ejemplo hola-luna.ncl en la VM Ginga 1.1.0
estoy obteniendo un error. No se, al menos no aparece el mensaje que
debería aparecer en pantalla: "Hola, Luna!". Observo un mensaje PANIC
referente añ modulo tcp-event que no es encontrado.

Les dejo el log de la corrida del archivo:

# ginga --ncl /home/lifia/ejemplos/hola-luna.ncl

Setting up terminate handler
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 'VT Switcher' (-1) [CRITICAL OTHER/OTHER
0/0] <8388608>...
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Power Button (1) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Sleep Button (2) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Macintosh mouse button emulatio (3) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: AT Translated Set 2 keyboard (4) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: VirtualBox USB Tablet (5) 0.1 (directfb.org)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: ImExPS/2 Generic Explorer Mouse (6) 0.1 (directfb.org)
(*) 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 'PS/2 Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER
0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (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)
(*) FBDev/Surface: Allocated 800x600 16 bit RGB16 buffer (index 0) at
offset 0 and pitch 1600.
(#) DirectFBError [gingacc-systemio DFBDeviceScreen TestConfig error:
]: Not supported!

   --------------------------| Ginga.ar 1.1.0 |--------------------------

[Ginga] processing file
 PresentationEngineManager::setCurrentPrivateBaseId '-1'
[InputManager] created.
[InputManager] imperative interval time:0.
[InputManager] declarative interval time:200.
[FormatterMediator] screen information, x: 0 y: 0 w: 800 h: 600
BroadcastSocketService::discoverBroadcastAddress Warning! can't
discover broadcast address
[PresentationContext] initialize system values.
SystemInfo::getSystemLanguage can't find 'system.language, return por
FormatterFocusManager::setKeyHandler(0xb280e768) isHandler '1'
this->isHandler '0' parentManager '0'
[FormatterMediator] created.
PrivateBaseContext::addDocument id='hola-luna'
url='/home/lifia/ejemplos/hola-luna.ncl' all done
FormatterMultiDevice::addActiveUris activeBaseUri=/home/lifia/ejemplos/
[PresentationEngineManager] Document ID: hola-luna
FormatterMediator::startDocument docId: 'hola-luna', interfaceId: ''.
PANIC: unprotected error in call to Lua API (module 'tcp_event' not found:
    no field package.preload['tcp_event']
    no file './tcp_event.lua'
    no file '/usr/local/share/lua/5.1/tcp_event.lua'
    no file '/usr/local/share/lua/5.1/tcp_event/init.lua'
    no file '/usr/local/lib/lua/5.1/tcp_event.lua'
    no file '/usr/local/lib/lua/5.1/tcp_event/init.lua'
    no file '/usr/share/lua/5.1/tcp_event.lua'
    no file '/usr/share/lua/5.1/tcp_event/init.lua'
    no file './tcp_event.so'
    no file '/usr/local/lib/lua/5.1/tcp_event.so'
    no file '/usr/lib/lua/5.1/tcp_event.so'
    no file '/usr/local/lib/lua/5.1/loadall.so')
 (!!!)  *** WARNING [Application exited without deinitialization of
DirectFB!] *** [../../../src/core/core.c:859 in
dfb_core_deinit_check()]
 (!!!)  *** 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()]



Desde ya gracias.
Mario.

_______________________________________________
Ginga-argentina mailing list
Ginga-argentina at lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20110208/43af1a41/attachment.htm 


More information about the Ginga-argentina mailing list