#lgi — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #lgi, aggregated by home.social.
-
Petition launched to save independent matcha stand operating from a Leeds front garden https://www.allforgardening.com/1920413/petition-launched-to-save-independent-matcha-stand-operating-from-a-leeds-front-garden/ #BestMatchaInLeeds #coffee #coffees #Council #FAMILYBUSINESS #FamilyRun #garden #independent #IndependentCafe #IndependentShop #IndependentShops #indie #IndieCafe #IndieCafes #IndieShop #IndieShops #LeedsCityCentre #LeedsCityCouncil #LeedsMatcha #Leeds #LGI #LittleWoodhouse #matcha #MatchaPlace #MatchaShed #MatchaShop #MatchaSite #MatchaSpot #sips #SipsMatcha #SmallBusiness #yorkshire
-
Petition launched to save independent matcha stand operating from a Leeds front garden https://www.allforgardening.com/1920413/petition-launched-to-save-independent-matcha-stand-operating-from-a-leeds-front-garden/ #BestMatchaInLeeds #coffee #coffees #Council #FAMILYBUSINESS #FamilyRun #garden #independent #IndependentCafe #IndependentShop #IndependentShops #indie #IndieCafe #IndieCafes #IndieShop #IndieShops #LeedsCityCentre #LeedsCityCouncil #LeedsMatcha #Leeds #LGI #LittleWoodhouse #matcha #MatchaPlace #MatchaShed #MatchaShop #MatchaSite #MatchaSpot #sips #SipsMatcha #SmallBusiness #yorkshire
-
Heads up: folks using #lgi with #glib might run into this issue. #Lua #Linux
lgi crashes with error "bad argument #1 to 'fromarray' (lgi.record expected, got table)"
This is the fix:
ffi: Adapt load_enum to glib 2.87 changes
--- lgi/ffi.lua.orig 2026-07-08 08:32:43.919979810 -0700 +++ lgi/ffi.lua 2026-07-08 08:48:20.173243433 -0700 @@ -76,16 +76,22 @@ -- Creates new enum/flags table with all values from specified gtype. function ffi.load_enum(gtype, name) - local GObject = core.repo.GObject + local GLib, GObject = core.repo.GLib, core.repo.GObject local is_flags = GObject.Type.is_a(gtype, GObject.Type.FLAGS) local enum_component = component.create( gtype, is_flags and enum.bitflags_mt or enum.enum_mt, name) local type_class = GObject.TypeClass.ref(gtype) local enum_class = core.record.cast( type_class, is_flags and GObject.FlagsClass or GObject.EnumClass) - for i = 0, enum_class.n_values - 1 do - local val = core.record.fromarray(enum_class.values, i) - enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + if GLib.check_version(2, 87, 0) then + for i = 0, enum_class.n_values - 1 do + local val = core.record.fromarray(enum_class.values, i) + enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + end + else + for _, val in ipairs(enum_class.values) do + enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + end end type_class:unref() return enum_component -
Heads up: folks using #lgi with #glib might run into this issue. #Lua #Linux
lgi crashes with error "bad argument #1 to 'fromarray' (lgi.record expected, got table)"
This is the fix:
ffi: Adapt load_enum to glib 2.87 changes
--- lgi/ffi.lua.orig 2026-07-08 08:32:43.919979810 -0700 +++ lgi/ffi.lua 2026-07-08 08:48:20.173243433 -0700 @@ -76,16 +76,22 @@ -- Creates new enum/flags table with all values from specified gtype. function ffi.load_enum(gtype, name) - local GObject = core.repo.GObject + local GLib, GObject = core.repo.GLib, core.repo.GObject local is_flags = GObject.Type.is_a(gtype, GObject.Type.FLAGS) local enum_component = component.create( gtype, is_flags and enum.bitflags_mt or enum.enum_mt, name) local type_class = GObject.TypeClass.ref(gtype) local enum_class = core.record.cast( type_class, is_flags and GObject.FlagsClass or GObject.EnumClass) - for i = 0, enum_class.n_values - 1 do - local val = core.record.fromarray(enum_class.values, i) - enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + if GLib.check_version(2, 87, 0) then + for i = 0, enum_class.n_values - 1 do + local val = core.record.fromarray(enum_class.values, i) + enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + end + else + for _, val in ipairs(enum_class.values) do + enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + end end type_class:unref() return enum_component -
Heads up: folks using #lgi with #glib might run into this issue. #Lua #Linux
lgi crashes with error "bad argument #1 to 'fromarray' (lgi.record expected, got table)"
This is the fix:
ffi: Adapt load_enum to glib 2.87 changes
--- lgi/ffi.lua.orig 2026-07-08 08:32:43.919979810 -0700 +++ lgi/ffi.lua 2026-07-08 08:48:20.173243433 -0700 @@ -76,16 +76,22 @@ -- Creates new enum/flags table with all values from specified gtype. function ffi.load_enum(gtype, name) - local GObject = core.repo.GObject + local GLib, GObject = core.repo.GLib, core.repo.GObject local is_flags = GObject.Type.is_a(gtype, GObject.Type.FLAGS) local enum_component = component.create( gtype, is_flags and enum.bitflags_mt or enum.enum_mt, name) local type_class = GObject.TypeClass.ref(gtype) local enum_class = core.record.cast( type_class, is_flags and GObject.FlagsClass or GObject.EnumClass) - for i = 0, enum_class.n_values - 1 do - local val = core.record.fromarray(enum_class.values, i) - enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + if GLib.check_version(2, 87, 0) then + for i = 0, enum_class.n_values - 1 do + local val = core.record.fromarray(enum_class.values, i) + enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + end + else + for _, val in ipairs(enum_class.values) do + enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + end end type_class:unref() return enum_component -
Heads up: folks using #lgi with #glib might run into this issue. #Lua #Linux
lgi crashes with error "bad argument #1 to 'fromarray' (lgi.record expected, got table)"
This is the fix:
ffi: Adapt load_enum to glib 2.87 changes
--- lgi/ffi.lua.orig 2026-07-08 08:32:43.919979810 -0700 +++ lgi/ffi.lua 2026-07-08 08:48:20.173243433 -0700 @@ -76,16 +76,22 @@ -- Creates new enum/flags table with all values from specified gtype. function ffi.load_enum(gtype, name) - local GObject = core.repo.GObject + local GLib, GObject = core.repo.GLib, core.repo.GObject local is_flags = GObject.Type.is_a(gtype, GObject.Type.FLAGS) local enum_component = component.create( gtype, is_flags and enum.bitflags_mt or enum.enum_mt, name) local type_class = GObject.TypeClass.ref(gtype) local enum_class = core.record.cast( type_class, is_flags and GObject.FlagsClass or GObject.EnumClass) - for i = 0, enum_class.n_values - 1 do - local val = core.record.fromarray(enum_class.values, i) - enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + if GLib.check_version(2, 87, 0) then + for i = 0, enum_class.n_values - 1 do + local val = core.record.fromarray(enum_class.values, i) + enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + end + else + for _, val in ipairs(enum_class.values) do + enum_component[core.upcase(val.value_nick):gsub('%-', '_')] = val.value + end end type_class:unref() return enum_component -
#Lua #dbus #lgi #gobjectintrospection
Я, Матье Бал.
Короче, что я сделал, чтобы заработало это говно?
Пообщался вновь с ИИ. Она дала идею выбросить йухан ваш vtable, ибо он не нужон.
А ещё и понадабавил парочку хуйни. ссылка
Итог:(luajjit:<pid>): Lgi-WARNING **: <HH:MM:SS.ms>: Error raised while calling 'lgi.cbk (function: 0x7fdb3946c940): GObject': /usr/share/lua/5.1/lgi/override/GLib-Variant.lua:97: bad argument #2 to '?' (string expected, got nil)
Помогло добавление фигурных скобок...
Завелось блять!!!
Но а что мне теперь делать сvtable? -
#Lua #dbus #lgi #gobjectintrospection
Я, Матье Бал.
Короче, что я сделал, чтобы заработало это говно?
Пообщался вновь с ИИ. Она дала идею выбросить йухан ваш vtable, ибо он не нужон.
А ещё и понадабавил парочку хуйни. ссылка
Итог:(luajjit:<pid>): Lgi-WARNING **: <HH:MM:SS.ms>: Error raised while calling 'lgi.cbk (function: 0x7fdb3946c940): GObject': /usr/share/lua/5.1/lgi/override/GLib-Variant.lua:97: bad argument #2 to '?' (string expected, got nil)
Помогло добавление фигурных скобок...
Завелось блять!!!
Но а что мне теперь делать сvtable? -
#Lua #dbus #lgi #gobjectintrospection
Я, Матье Бал.
Короче, что я сделал, чтобы заработало это говно?
Пообщался вновь с ИИ. Она дала идею выбросить йухан ваш vtable, ибо он не нужон.
А ещё и понадабавил парочку хуйни. ссылка
Итог:(luajjit:<pid>): Lgi-WARNING **: <HH:MM:SS.ms>: Error raised while calling 'lgi.cbk (function: 0x7fdb3946c940): GObject': /usr/share/lua/5.1/lgi/override/GLib-Variant.lua:97: bad argument #2 to '?' (string expected, got nil)
Помогло добавление фигурных скобок...
Завелось блять!!!
Но а что мне теперь делать сvtable? -
The #Isles gave some lucky fans the jerseys off their backs at tonight's Game!
-
The #Isles gave some lucky fans the jerseys off their backs at tonight's Game!
-
The #Isles gave some lucky fans the jerseys off their backs at tonight's Game!
-
The #Isles gave some lucky fans the jerseys off their backs at tonight's Game!
-
The #Isles gave some lucky fans the jerseys off their backs at tonight's Game!
-
-
-
-
-
-
-
-
-
-
Matthew Schaefer via Instagram: “Love this place #LGI” https://www.rawchili.com/4733788/ #hockey #IceHockey #Islanders #NationalHockeyLeague #NewYork #NewYorkCity #NewYorkIslanders #NHL #NHLEasternConference #NHLEasternConferenceMetropolitanDivision #Uniondale
-
Matthew Schaefer via Instagram: “Love this place #LGI” https://www.rawchili.com/4733788/ #hockey #IceHockey #Islanders #NationalHockeyLeague #NewYork #NewYorkCity #NewYorkIslanders #NHL #NHLEasternConference #NHLEasternConferenceMetropolitanDivision #Uniondale
-
2 more points for the #Isles.
-
2 more points for the #Isles.
-
2 more points for the #Isles.
-
2 more points for the #Isles.
-
2 more points for the #Isles.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
MACLEAN'S FIRST OF THE SEASON MAKES IT 1-0.
-
MACLEAN'S FIRST OF THE SEASON MAKES IT 1-0.
-
MACLEAN'S FIRST OF THE SEASON MAKES IT 1-0.