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 354363 - pygobject (2.12.0) breaks pygtk
pygobject (2.12.0) breaks pygtk
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
2.12.x
Other All
: Normal blocker
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
: 354364 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-04 22:28 UTC by Frédéric Bellaiche
Modified: 2006-09-04 23:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Frédéric Bellaiche 2006-09-04 22:28:19 UTC
Please describe the problem:
After upgrading to pygobject 2.12.0, every python/gtk app crashes with:

  • File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48 in ?
ImportError: PyGObject version too old, 2.11.1 is required, found 2.12.0.



Steps to reproduce:
1. Upgrade to pygobject 2.12.0
2. 
3. 


Actual results:


Expected results:


Does this happen every time?
Yes

Other information:
Might be a pygtk pb ?
Reverting back to pygobject 2.11.4 solved the pb.
pygobject 2.12.0
pygtk 2.10.0
gnome-python 2.16.0
gnome-python-extras 2.14.2 
python 2.4.3 
Everything compiled from sources.
Comment 1 Gustavo Carneiro 2006-09-04 23:02:35 UTC
Weird, I cannot reproduce.  Could you please type the following in a python shell in show the result:

import gobject
>>> gobject.pygobject_version
>>> type(gobject.pygobject_version)
Comment 2 Gustavo Carneiro 2006-09-04 23:05:31 UTC
Erm, nevermind.
Comment 3 Frédéric Bellaiche 2006-09-04 23:10:17 UTC
Here we go:

Python 2.4.3 (#4, Jul 28 2006, 23:53:35) 
[GCC 4.0.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gobject
>>> gobject.pygobject_version
(2, 12, 0)
>>> type(gobject.pygobject_version)
<type 'tuple'>
>>> 
Comment 4 Gustavo Carneiro 2006-09-04 23:15:35 UTC
*** Bug 354364 has been marked as a duplicate of this bug. ***
Comment 5 Johan (not receiving bugmail) Dahlin 2006-09-04 23:59:37 UTC
I commited a variant of this and released a new version.

pygobject 2.12.1 includes the fix.