Bug 699450 - Python GtkSpell Error: "could not find _PyGObject_API object"
Summary: Python GtkSpell Error: "could not find _PyGObject_API object"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-python2-extras
Version: 15
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-25 17:33 UTC by mystilleef
Modified: 2011-05-19 05:07 UTC (History)
3 users (show)

Fixed In Version: gnome-python2-extras-2.25.3-31.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 05:07:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.