Bug 699450

Summary: Python GtkSpell Error: "could not find _PyGObject_API object"
Product: [Fedora] Fedora Reporter: mystilleef
Component: gnome-python2-extrasAssignee: Colin Walters <walters>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: johnp, walters, walters
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: gnome-python2-extras-2.25.3-31.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 05:07:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mystilleef 2011-04-25 17:33:53 UTC
Description of problem:

Failed to import Python binding of GtkSpell rendering applications that use it broken, uninstallable or unusable. The error message is as follows:

ImportError: could not import gobject (could not find _PyGObject_API object)

Version-Release number of selected component (if applicable):

lateef@submission ~> yum info gnome-python2-gtkspell
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
Name        : gnome-python2-gtkspell
Arch        : i686
Version     : 2.25.3
Release     : 22.fc15
Size        : 24 k
Repo        : installed
From repo   : fedora
Summary     : Python bindings for interacting with gtkspell
URL         : http://www.pygtk.org/
License     : GPLv2+ and LGPLv2+
Description : This module contains a wrapper that allows the use of gtkspell via Python.


How reproducible:

Start Python in a shell terminal. Proceed to import gtkspell. Fail!


Steps to Reproduce:

1. yum install gnome-python2-gtkspell
2. python
3. import gtkspell
  
Actual results:

lateef@submission ~> python
Python 2.7.1 (r271:86832, Apr 12 2011, 16:16:18) 
[GCC 4.6.0 20110331 (Red Hat 4.6.0-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtkspell
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: could not import gobject (could not find _PyGObject_API object)


Expected results:

No errors

Comment 1 Colin Walters 2011-04-26 13:10:56 UTC
I'm pretty sure for this bug the module just needs to be rebuilt.

Comment 2 John (J5) Palmieri 2011-04-26 16:38:22 UTC
Yes, the module sounds like it needs to be rebuilt.

Comment 3 Fedora Update System 2011-05-12 13:35:21 UTC
gnome-python2-extras-2.25.3-31.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gnome-python2-extras-2.25.3-31.fc15

Comment 4 Fedora Update System 2011-05-19 05:07:25 UTC
gnome-python2-extras-2.25.3-31.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.