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 619376 - Spurious errors if PyGI is not installed and PyGObject was configured with --enable-pygi
Spurious errors if PyGI is not installed and PyGObject was configured with --...
Status: RESOLVED DUPLICATE of bug 617796
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-22 16:36 UTC by Tomeu Vizoso
Modified: 2010-05-27 08:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Clear error if we failed the import (971 bytes, patch)
2010-05-22 16:37 UTC, Tomeu Vizoso
none Details | Review

Description Tomeu Vizoso 2010-05-22 16:36:58 UTC
Because callers of pygi_type_import_by_g_type are falling back without
clearing the error first.

Reported downstream in https://bugzilla.redhat.com/show_bug.cgi?id=569885
Patch proposed by Colin Walters
Comment 1 Tomeu Vizoso 2010-05-22 16:37:01 UTC
Created attachment 161727 [details] [review]
Clear error if we failed the import

Otherwise we leave the exception set which causes bizarre problems
later in unrelated code.

https://bugzilla.redhat.com/show_bug.cgi?id=569885
Comment 2 Tomeu Vizoso 2010-05-27 08:57:46 UTC
Sorry this patch was already submitted in another ticket.

*** This bug has been marked as a duplicate of bug 617796 ***