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