After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685860 - Critical warning for "Unsupported type guint32"
Critical warning for "Unsupported type guint32"
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
Git master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-10 07:37 UTC by Mardy
Modified: 2012-10-11 14:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mardy 2012-10-10 07:37:28 UTC
_pygi_hash_pointer_to_arg() does not handle guint32.

=============
  • #0 g_logv
    at /build/buildd/glib2.0-2.34.0/./glib/gmessages.c line 974
  • #1 g_log
    at /build/buildd/glib2.0-2.34.0/./glib/gmessages.c line 1003
  • #2 _pygi_hash_pointer_to_arg
    at /build/buildd/pygobject-3.4.0/gi/pygi-argument.c line 91
  • #3 _pygi_marshal_to_py_glist
    at /build/buildd/pygobject-3.4.0/gi/pygi-marshal-to-py.c line 531
  • #4 _invoke_marshal_out_args
    at /build/buildd/pygobject-3.4.0/gi/pygi-invoke.c line 540
  • #5 pygi_callable_info_invoke
    at /build/buildd/pygobject-3.4.0/gi/pygi-invoke.c line 654

Fix should be trivial, but please let me know if a patch is welcome.
Comment 1 Martin Pitt 2012-10-11 14:09:18 UTC
Thanks for spotting! This was indeed a glaring oversight.

I added test API for this to g-i, also to the gnome-3-6 branch:

http://git.gnome.org/browse/gobject-introspection/commit/?id=5287a96a48c487866994353de9d1ac96b98f16e3


pygobject fixed in

http://git.gnome.org/browse/pygobject/commit/?id=8a2e96cd4e33b6c119a368d73a9d5504576cdccb

will be in 3.4.1.