lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Pedro,

I don't think libgirepository has anything to do with it, as I always
had it, apparently :-)-O.

But, the console seems to work now, so that's a first step, thanks.

All the following fire up the console version

lua t.lua
lua t.lua console
lua t.lua gtk
lua t.lua xxx

on

Terminal.app
xterm (XQuartz  2.7.11)
iTerm2 (Build 3.0.15)


DISPLAY=/private/tmp/com.apple.launchd.HUyqLkKRBU/org.macosforge.xquartz:0

which is correct, apparently.



el

On 11/05/2017 18:50, Pedro Alves Valentim wrote:
> Wait. I didn't get it. Did you solve it with "libgirepository"?
> 
> ------
> 
> 
>> I get something like
>>
>> lua t.lua gtk
>> lua: /usr/local/share/lua/5.2/abstk.lua:61: attempt to index upvalue
>> 'AbsGtk' (a nil value)
>> stack traceback:
>>         /usr/local/share/lua/5.2/abstk.lua:61: in function 'new_screen'
>>         t.lua:5: in main chunk
>>         [C]: in ? 
> 
> 
>> /usr/local/bin/lua: /usr/local/share/lua/5.2/abstk/AbsCurses.lua:200:
>> attempt to index upvalue 'utf8' (a nil value)
>> stack traceback:
>>          /usr/local/share/lua/5.2/abstk/AbsCurses.lua:200: in function
>> 'new'
>>          /usr/local/share/lua/5.2/abstk/AbsCurses.lua:947: in function
>> 'create_widget' /usr/local/share/lua/5.2/abstk/AbsCurses.lua:955: in
>> function 'add_label'
>>         /usr/local/share/lua/5.2/abstk.lua:77: in function 'add_label'
>>         ./t.lua:6: in main chunk
>>         [C]: in ? 
> 
> Both errors where due to the last patch's code. I didn't revise it carefully
> and am profoundly sorry about that. I just fixed and updated it. Could you
> test it again?
> 
> ------
> 
> Regards,
> Pedro Alves Valentim