No actualize ningún paquete de la VM.
Ejecute como me dijiste y el log me tira esto:
[canvas::System] Using system: use=gtk
[canvas::System] DEBUG: Initialize
[canvas::Window] Creating display: size=(720,576)
[canvas::gtk::Window] DEBUG: Initialize
[canvas::vlc] Initialize
[ncl30-presenter::PresentationEngineManager] DEBUG: Start document: doc=/home/ginga/QualifyTV/main4.ncl
Intentando conectar al 10.1.3.112 por el puerto 80
[ncl30-converter::PrivateBaseContext] DEBUG: Doc added, url=/home/ginga/QualifyTV/main4.ncl
[gingaplayer::Manager] DEBUG: Reserve keys: listeners=0, id=0x8e8aa70, size=9
[canvas::gtk::System] Main loop begin
[ncl30-presenter::FormatterMediator] DEBUG: start doc, id=main, interface=
[ncl30-presenter::ncl::EventManager] DEBUG: Add listener, type=FormatterScheduler, listenerId=0x8f53fa4, eventId=0x8e2ea08
[gingaplayer::Manager] DEBUG: Reserve keys: listeners=1, id=0x8f44408, size=8
[ncl30-presenter::FormatterScheduler] DEBUG: runAction: event 'luna_1' for '-1/body/luna/dsc'
[gingaplayer::Device] Create player: type=lua, schema=file, body=/home/ginga/QualifyTV/lib/prueba2.lua, mime=
[gingaplayer::player] DEBUG: Initialize
[gingaplayer::Player] DEBUG: Set property begin: name=src
[gingaplayer::Player] DEBUG: Set property end: name=src, result=1
[gingaplayer::Player] DEBUG: Set property begin: name=type
[gingaplayer::Player] DEBUG: Set property end: name=type, result=1
[ncl30-presenter::FormatterRegion] DEBUG: bounds: x=0, y=0, w=720, h=576, z=0
[gingaplayer::Player] DEBUG: Set property begin: name=bounds
[gingaplayer::Player] DEBUG: Set property end: name=bounds, result=1
[gingaplayer::Player] DEBUG: Set property begin: name=zIndex
[gingaplayer::Player] DEBUG: Set property end: name=zIndex, result=1
[ncl30-presenter::ExecutionObject] DEBUG: prepare(-1/body/luna/dsc)
[ncl30-presenter::ExecutionObject] DEBUG: prepare(-1/body/luna/dsc) locked
[ncl30-presenter::ncl::EventManager] DEBUG: Add listener, type=CompositeExecutionObject, listenerId=0x8e30700, eventId=0x8e2fc58
[ncl30-presenter::ncl::EventManager] DEBUG: Add listener, type=FormatterScheduler, listenerId=0x8f53fa4, eventId=0x8e2fc58
[gingaplayer::player] DEBUG: play
[gingaplayer::player] DEBUG: Can play begin
[gingaplayer::player] DEBUG: Can play: result=1
[gingaplayer::GraphicPlayer] DEBUG: Start play
[gingaplayer::SurfaceProperties] DEBUG: Creating surface: pos=(0,0), size=(720,576)
[canvas::Canvas] DEBUG: Add surface: surface=0x8f7e440
[gingaplayer::SurfaceProperties] DEBUG: Creating surface: pos=(0,0), size=(720,576)
[canvas::Canvas] DEBUG: Add surface: surface=0x8e78a70
[gingaplayer::LuaPlayer] Start play, source=/home/ginga/QualifyTV/lib/prueba2.lua
[gingaplayer::player] DEBUG: Apply changes
[gingaplayer::SurfaceProperties] DEBUG: apply bounds: (0,0,720,576)
[gingaplayer::SurfaceProperties] DEBUG: apply bounds: (0,0,720,576)
[gingaplayer::SurfaceProperties] DEBUG: apply zIndex, value=0
[gingaplayer::SurfaceProperties] DEBUG: apply zIndex, value=0
[gingaplayer::FocusProperties] DEBUG: Apply focus properties: focus=0, selected=0
[gingaplayer::GraphicProperties] DEBUG: apply visible, value=1
[gingaplayer::GraphicProperties] DEBUG: apply opacity, value=1.000000
[gingaplayer::GraphicPlayer] DEBUG: Begin refresh
[gingaplayer::LuaPlayer] ERROR: in lua script 'attempt to index a thread value' at line = attempt to index a thread value, attempt to index a thread value
[gingaplayer::GraphicPlayer] DEBUG: On property changed
[gingaplayer::Manager] DEBUG: Reserve keys: listeners=2, id=0x8e32160, size=122
[ncl30-presenter::ncl::EventManager] DEBUG: Before listener, type=FormatterScheduler, listenerId=0x8f53fa4, eventId=0x8e2fc58
[ncl30-presenter::FormatterScheduler] DEBUG: eventStateChanged: start, event: 0x8e2fc58
[ncl30-presenter::FormatterScheduler] DEBUG: eventStateChanged: 'luna_1' transition '0'
[gingaplayer::Player::settings] DEBUG: get var, name=service.currentKeyMaster, value=
[ncl30-presenter::ncl::EventManager] DEBUG: After listener, type=FormatterScheduler, listenerId=0x8f53fa4, eventId=0x8e2fc58
[ncl30-presenter::ncl::EventManager] DEBUG: Before listener, type=CompositeExecutionObject, listenerId=0x8e30700, eventId=0x8e2fc58
[ncl30-presenter::CompositeExecutionObject] DEBUG: eventStateChanged id='-1/body/' transition='0'
[ncl30-presenter::ncl::EventManager] DEBUG: Add listener, type=CompositeExecutionObject, listenerId=0x8e34120, eventId=0x8e2ea08
[ncl30-presenter::CompositeExecutionObject] DEBUG: eventStateChanged id='-1/body/' starting whole content
[ncl30-presenter::ncl::EventManager] DEBUG: Before listener, type=FormatterScheduler, listenerId=0x8f53fa4, eventId=0x8e2ea08
[ncl30-presenter::ncl::EventManager] DEBUG: After listener, type=FormatterScheduler, listenerId=0x8f53fa4, eventId=0x8e2ea08
[ncl30-presenter::ncl::EventManager] DEBUG: Before listener, type=CompositeExecutionObject, listenerId=0x8e34120, eventId=0x8e2ea08
[ncl30-presenter::ncl::EventManager] DEBUG: After listener, type=CompositeExecutionObject, listenerId=0x8e34120, eventId=0x8e2ea08
[ncl30-presenter::ncl::EventManager] DEBUG: After listener, type=CompositeExecutionObject, listenerId=0x8e30700, eventId=0x8e2fc58
[ncl30-presenter::FormatterScheduler] DEBUG: run action over ApplicationExecutionObject
[canvas::Canvas] DEBUG: Flush: toBlit=1, regions=1
[canvas::Canvas] TRACE: Dirty region: (0, 0, 720, 576)
[canvas::Canvas] DEBUG: Surface to blit: 0x8f7e440, zIndex=0
[canvas::gtk::Window] TRACE: Update main window properties: type=13
[canvas::gtk::Window] TRACE: Update main window properties: type=13
[canvas::gtk::Window] TRACE: Update main window properties: type=13
[canvas::gtk::Window] DEBUG: Draw: rect=(0,0,1,1)
[canvas::gtk::Window] TRACE: Update main window properties: type=14
[canvas::gtk::Window] DEBUG: Draw: rect=(0,0,720,576)
[canvas::gtk::Window] TRACE: Update main window properties: type=12
Y la linea de código que presenta el error es esta:
---Conecta em um servidor por meio do protocolo TCP.
--A função só retorna quando a conexão for estabelecida.
--@param host Nome do host para conectar
--@param port Porta a ser usada para a conexão
function connect (host, port)
local t = {
host = host,
port = port,
waiting = 'connect'
}
CONNECTIONS[coroutine.running()] = t
print("Intentando conectar al "..host.." por el puerto " .. port)
event.post {
class = 'tcp',
type = 'connect',
host = host,
port = port,
}
--Suspende a execução da co-rotina.
--A função atual (connect) só retorna quando
--a co-rotina for resumida, o que ocorre
--quando o evento connect é capturado
--pela função handler.
return coroutine.yield()
end
Podes ver que el print si lo realiza, pero no pasa del event.post, lo comprobé quitandolo y sigue de largo.