Bug 1585405 - lua-lgi is broken (needs to be updated to latest version)
Summary: lua-lgi is broken (needs to be updated to latest version)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lua-lgi
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/pavouk/lgi/issues/167
Whiteboard:
Depends On:
Blocks: 1555838
TreeView+ depends on / blocked
 
Reported: 2018-06-02 12:26 UTC by Pablo Rodríguez
Modified: 2018-06-15 15:48 UTC (History)
1 user (show)

Fixed In Version: lua-lgi-0.9.2-1.fc27 lua-lgi-0.9.2-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-15 14:57:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pablo Rodríguez 2018-06-02 12:26:25 UTC
Hi Thomas,

I have the following sample (new.lua):

#! /usr/bin/env lua
local lgi = require 'lgi'
local Gtk = lgi.Gtk
local w = Gtk.Window {}
Gtk.main()

When I run it, I get:

$ lua new.lua 
lua: /usr/share/lua/5.3/lgi/override/GObject-Object.lua:100: bad argument #4 to 'object_new' (table expected, got nil)
stack traceback:
	[C]: in upvalue 'object_new'
	/usr/share/lua/5.3/lgi/override/GObject-Object.lua:100: in field '_construct'
	/usr/share/lua/5.3/lgi/override/GObject-Object.lua:216: in function </usr/share/lua/5.3/lgi/override/GObject-Object.lua:215>
	(...tail calls...)
	new.lua:4: in main chunk
	[C]: in ?

It seems that the issue is known and it has been fixed upstream (https://github.com/pavouk/lgi/issues/167).

Would it be possible to update lua-lgi to version 0.9.2, so that it works again?

Many thanks for your help,

Pablo

Comment 1 Fedora Update System 2018-06-04 16:52:37 UTC
lua-lgi-0.9.2-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-8746844ddf

Comment 2 Fedora Update System 2018-06-04 16:52:43 UTC
lua-lgi-0.9.2-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-aa1677f74e

Comment 3 Fedora Update System 2018-06-05 14:49:47 UTC
lua-lgi-0.9.2-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-8746844ddf

Comment 4 Fedora Update System 2018-06-05 15:23:08 UTC
lua-lgi-0.9.2-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-aa1677f74e

Comment 5 Fedora Update System 2018-06-15 14:57:49 UTC
lua-lgi-0.9.2-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2018-06-15 15:48:38 UTC
lua-lgi-0.9.2-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.