Bug 1004906 - [abrt] gobject-introspection-devel-1.36.0-1.fc19: transformer.py:158:lookup_giname:KeyError: 'GObject'
Summary: [abrt] gobject-introspection-devel-1.36.0-1.fc19: transformer.py:158:lookup_g...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gobject-introspection
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2f3e27b0916b4fb03b4fcb8db75...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-05 17:36 UTC by Gergely POLONKAI
Modified: 2015-02-17 17:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-17 17:05:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.32 KB, text/plain)
2013-09-05 17:36 UTC, Gergely POLONKAI
no flags Details
File: environ (3.08 KB, text/plain)
2013-09-05 17:36 UTC, Gergely POLONKAI
no flags Details

Description Gergely POLONKAI 2013-09-05 17:36:42 UTC
Description of problem:
Forgot to add GObject-2.0 as a dependency (only added GLib-2.0). After adding it, it worked flawlessly.

Version-Release number of selected component:
gobject-introspection-devel-1.36.0-1.fc19

Additional info:
reporter:       libreport-2.1.6
cmdline:        /usr/bin/python /usr/bin/g-ir-scanner --namespace=SweGlib --nsversion=1.0 '--libtool=/bin/sh ../libtool' --include=GLib-2.0 --pkg-export=swe-glib --library=libswe-glib-0.1.la --identifier-prefix=Gswe --symbol-prefix=gswe --cflags-begin -D__SWE_GLIB_BUILDING__ -I.. -I. -I. --cflags-end swe-glib.h gswe-types.h gswe-moment.h gswe-timestamp.h enumtypes.h gswe-timestamp.c libswe-glib-0.1.la --output SweGlib-1.0.gir
executable:     /usr/bin/g-ir-scanner
kernel:         3.10.7-200.fc19.i686
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
transformer.py:158:lookup_giname:KeyError: 'GObject'

Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 46, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 469, in scanner_main
    main.transform()
  File "/usr/lib/gobject-introspection/giscanner/maintransformer.py", line 93, in transform
    self._pair_function(node)
  File "/usr/lib/gobject-introspection/giscanner/maintransformer.py", line 982, in _pair_function
    self._set_up_constructor(func, subsymbol)
  File "/usr/lib/gobject-introspection/giscanner/maintransformer.py", line 1118, in _set_up_constructor
    func.retval)
  File "/usr/lib/gobject-introspection/giscanner/maintransformer.py", line 506, in _get_transfer_default_return
    initially_unowned = self._transformer.lookup_typenode(initially_unowned_type)
  File "/usr/lib/gobject-introspection/giscanner/transformer.py", line 166, in lookup_typenode
    return self.lookup_giname(typeobj.target_giname)
  File "/usr/lib/gobject-introspection/giscanner/transformer.py", line 158, in lookup_giname
    include = self._parsed_includes[ns]
KeyError: 'GObject'

Local variables in innermost frame:
self: <giscanner.transformer.Transformer object at 0x4052c72c>
giname: 'InitiallyUnowned'
ns: 'GObject'
name: 'GObject.InitiallyUnowned'

Comment 1 Gergely POLONKAI 2013-09-05 17:36:49 UTC
Created attachment 794402 [details]
File: backtrace

Comment 2 Gergely POLONKAI 2013-09-05 17:36:55 UTC
Created attachment 794403 [details]
File: environ

Comment 3 Fedora End Of Life 2015-01-09 19:44:37 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2015-02-17 17:05:09 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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