Package: gnucash
Version: 1:2.6.4-3

Hi,

it appears that the packaging of the python bindings is not exactly
correct. When starting gnucash without the package "gnucash-python"
installed, I get the following error on startup:

>> gnucash
Traceback (most recent call last):
  File "/usr/share/gnucash/python/init.py", line 3, in <module>
    from gnucash import *
ImportError: No module named gnucash
Found Finance::Quote version 1.35

Gnucash itself starts successfully, nevertheless.

Based on the analysis in the Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/gnucash/+bug/1369273, it
appears that the problem is that the python plugin is installed into
the 'gnucash' binary package and tries to initialize the python plugin
at startup time:

$ dpkg -L gnucash | grep python
/usr/lib/x86_64-linux-gnu/gnucash/libgnc-core-utils-python.so.0.0.0
/usr/lib/x86_64-linux-gnu/gnucash/gnucash/libgncmod-python.so
/usr/lib/x86_64-linux-gnu/gnucash/gnucash/libgncmod-app-utils-python.so.0.0.0
/usr/lib/x86_64-linux-gnu/gnucash/libgnc-core-utils-python.so.0
/usr/lib/x86_64-linux-gnu/gnucash/libgnc-core-utils-python.so
/usr/lib/x86_64-linux-gnu/gnucash/gnucash/libgncmod-app-utils-python.so
/usr/lib/x86_64-linux-gnu/gnucash/gnucash/libgncmod-app-utils-python.so.0

Its initialization, however, fails and causes this error message.
Gnucash itself continues to work fine without the python plugin.

To solve this, I see two options: Merge gnucash-python into the
gnucash package (or add a dependency), or move all python-plugin
related files from 'gnucash' to 'gnucash-python'.

Best,
Reinhard

-- 
regards,
    Reinhard


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to