Using latest pgi-docgen and pgi I have this kind of error but not for all girs
<^> python27 pgi-docgen.py -f temp GstRtp-1.0
Create docs: Namespace=GstRtp, Version=1.0
Parsing GIR (GstRtp-1.0)
Parsing GIR (GstBase-1.0)
Parsing GIR (Gst-1.0)
Parsing GIR (GObject-2.0)
Parsing GIR (GLib-2.0)
Parsing GIR (GModule-2.0)
(python.exe:1068): Gdk-WARNING : gdk_input_wintab_init: gdk_window_new failed
Traceback (most recent call last):
File "pgi-docgen.py", line 93, in
main(sys.argv)
File "pgi-docgen.py", line 89, in main
gen.write(destdir)
File "d:\Sources\pgi-docgen\pgidocgen\main.py", line 51, in write
gen.write(dir)
File "d:\Sources\pgi-docgen\pgidocgen\api.py", line 34, in write
self._gen.write(path)
File "d:\Sources\pgi-docgen\pgidocgen\module.py", line 70, in write
self._write(sub_dir, namespace, version)
File "d:\Sources\pgi-docgen\pgidocgen\module.py", line 141, in _write
fields = repo.parse_fields(obj)
File "d:\Sources\pgi-docgen\pgidocgen\repo.py", line 331, in parse_fields
type_name = atype.module + "." + atype.name
AttributeError: 'list' object has no attribute 'module**'
Using latest pgi-docgen and pgi I have this kind of error but not for all girs
<^> python27 pgi-docgen.py -f temp GstRtp-1.0 Create docs: Namespace=GstRtp, Version=1.0 Parsing GIR (GstRtp-1.0) Parsing GIR (GstBase-1.0) Parsing GIR (Gst-1.0) Parsing GIR (GObject-2.0) Parsing GIR (GLib-2.0) Parsing GIR (GModule-2.0)
(python.exe:1068): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed
(python.exe:1068): Gdk-CRITICAL **: gdk_window_new: assertion 'GDK_IS_WINDOW (parent)' failed
(python.exe:1068): Gdk-WARNING : gdk_input_wintab_init: gdk_window_new failed Traceback (most recent call last): File "pgi-docgen.py", line 93, in
main(sys.argv)
File "pgi-docgen.py", line 89, in main
gen.write(destdir)
File "d:\Sources\pgi-docgen\pgidocgen\main.py", line 51, in write
gen.write(dir)
File "d:\Sources\pgi-docgen\pgidocgen\api.py", line 34, in write
self._gen.write(path)
File "d:\Sources\pgi-docgen\pgidocgen\module.py", line 70, in write
self._write(sub_dir, namespace, version)
File "d:\Sources\pgi-docgen\pgidocgen\module.py", line 141, in _write
fields = repo.parse_fields(obj)
File "d:\Sources\pgi-docgen\pgidocgen\repo.py", line 331, in parse_fields
type_name = atype.module + "." + atype. name
AttributeError: 'list' object has no attribute 'module**'