Re: make glib-2.29.16 fails on codegen_main.py



On 16/08/2011 20:12, George Brink wrote:
> Environment: WinXP, MinGW+MSYS, Python 2.7
> 
> 
> make[6]: Entering directory 
> `/c/Dev/gtk+/glib-2.29.16/gio/tests/gdbus-object-manager-example'
>    GEN 
> gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml
> Traceback (most recent call last):
>    File "../../../gio/gdbus-codegen/codegen_main.py", line 200, in <module>
>      codegen_main()
>    File "../../../gio/gdbus-codegen/codegen_main.py", line 171, in 
> codegen_main
>      parsed_ifaces = parser.parse_dbus_xml(xml_data)
> AttributeError: 'module' object has no attribute 'parse_dbus_xml'
> make[6]: *** 
> [gdbus-example-objectmanager-generated-org.gtk.GDBus.Example.ObjectManager.Animal.xml] 
> Error 1
> make[6]: Leaving directory 
> `/c/Dev/gtk+/glib-2.29.16/gio/tests/gdbus-object-manager-example'
> 
> Any ideas?

Yep, that's https://bugzilla.gnome.org/show_bug.cgi?id=650763

Apply the patches in order and you're good to go. I hope Colin
or somebody else can get back to reviewing them now that the Desktop
Summit is over...

You seem to be hitting the same stuff I have already encountered,
so you might also be interested in my windows branch here:
https://github.com/dieterv/glib/tree/windows
Note that I don't care about non-fast-forward updates on that
branch (it's only goal is to get stuff in glib proper)...

That branch is maintained as part of my gobject-introspection
windows port which is also slowly starting to function :)
See here for more info:
http://mail.gnome.org/archives/python-hackers-list/2011-August/msg00004.html

mvg,
Dieter


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