Bug 729454 - gnucash python bindings broken on x86_64
Summary: gnucash python bindings broken on x86_64
Alias: None
Product: Fedora
Classification: Fedora
Component: gnucash
Version: 14
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2011-08-09 19:29 UTC by Felix Schwarz
Modified: 2014-03-17 03:28 UTC (History)
2 users (show)

Fixed In Version: gnucash-2.4.7-4.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-10-19 04:43:13 UTC

Attachments (Terms of Use)

Description Felix Schwarz 2011-08-09 19:29:41 UTC
Gnucash Python files on x86_64 are put into /usr/lib while the binary Python module _gnucash_core_c.so is in /usr/lib64. Therefore I can't import the gnucash module:

$ python
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00) 
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gnucash
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/gnucash/__init__.py", line 6, in <module>
    from gnucash_core import *
  File "/usr/lib/python2.7/site-packages/gnucash/gnucash_core.py", line 31, in <module>
    import gnucash_core_c
  File "/usr/lib/python2.7/site-packages/gnucash/gnucash_core_c.py", line 25, in <module>
    _gnucash_core_c = swig_import_helper()
  File "/usr/lib/python2.7/site-packages/gnucash/gnucash_core_c.py", line 17, in swig_import_helper
    import _gnucash_core_c
ImportError: No module named _gnucash_core_c

Comment 1 Bill Nottingham 2011-08-09 21:42:46 UTC
Fixed in -2.

Comment 2 Fedora Update System 2011-10-11 16:53:29 UTC
gnucash-2.4.7-3.fc16 has been submitted as an update for Fedora 16.

Comment 3 Fedora Update System 2011-10-13 18:12:05 UTC
Package gnucash-2.4.7-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnucash-2.4.7-3.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-10-19 04:43:13 UTC
gnucash-2.4.7-4.fc16 has been pushed to the Fedora 16 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.