Hi to everyone and congratulations for your awesome work. :) 

I have this file:

====gtk.lua=============
local lgi = require 'lgi'
local GObject = lgi.GObject
local Gtk = lgi.Gtk
========================

I try this on a shell:
bash# echo dofile('gtk.lua') | awesome-client 

And my system is flooded with errors messages. 
If I don't include lgi.Gtk everything's ok.

It's kind of mistery because:
bash#
lua gtk.lua 

works like a charm. 


Everything comes cause I'm developing a widget that once clicked shows a
form with GTK to get things inside a db (with luasql.sqlite).
Everything works great if I execute it with "lua file.lua" but I have to
integrate it in awesome wm because I need to retrieve a global table in
awesome wm enviroment. 
So I have 2 issues:
-Getting work lgi.Gtk in awesome
-Getting _G.mytable from a lua script launched in a shell


Thanks!

-- 
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to