Your message dated Sat, 17 Oct 2015 09:50:04 +0000
with message-id <[email protected]>
and subject line Bug#778999: fixed in gnucash 1:2.6.9-1
has caused the Debian Bug report #778999,
regarding gnucash crashed with ImportError in 
/usr/share/gnucash/python/init.py: No module named gnucash
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
778999: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778999
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: gnucash
Source-Version: 1:2.6.9-1

We believe that the bug you reported is fixed in the latest version of
gnucash, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Smirnov <[email protected]> (supplier of updated gnucash package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 17 Oct 2015 19:18:35 +1100
Source: gnucash
Binary: gnucash gnucash-dbg gnucash-common python-gnucash
Architecture: source all amd64
Version: 1:2.6.9-1
Distribution: unstable
Urgency: medium
Maintainer: Dmitry Smirnov <[email protected]>
Changed-By: Dmitry Smirnov <[email protected]>
Description:
 gnucash    - personal and small-business financial-accounting software
 gnucash-common - common files for the financial-accounting software Gnucash
 gnucash-dbg - debugging symbols for the accounting software Gnucash
 python-gnucash - Gnucash interface for Python
Closes: 778999
Changes:
 gnucash (1:2.6.9-1) unstable; urgency=medium
 .
   * New upstream release [October 2015].
   * gnucash: Recommends += "python-gnucash" (Closes: #778999).
   * Removed obsolete "fixtest.patch", applied-upstream.
Checksums-Sha1:
 999c03c40d97524f9ee24752cd894aee44a88ea6 2381 gnucash_2.6.9-1.dsc
 d61b5da531982ebc0f0fee589733d64bec9b571d 13230536 gnucash_2.6.9.orig.tar.bz2
 56d647a10f262a5eda78d3430d18863ff3b519ce 32408 gnucash_2.6.9-1.debian.tar.xz
 da837181ed934250533d93fdc2f7ee5d0104f8cb 4521632 gnucash-common_2.6.9-1_all.deb
 e63a03df1ba38c2eb3ab7c81d1db5b48888b9bf0 6526808 gnucash-dbg_2.6.9-1_amd64.deb
 336fc32f5d301d52fb9b32bbf56e3e1bfeb9d9d7 3048454 gnucash_2.6.9-1_amd64.deb
 0a09ab347ee73d2115c45b2e26a61600dc955bda 261980 
python-gnucash_2.6.9-1_amd64.deb
Checksums-Sha256:
 50868afadc480a2f1c774c82f007716fb5b3cf9aa805771ffbd7d892e236e226 2381 
gnucash_2.6.9-1.dsc
 cdaa61b393133e03bccce3d2740bb358d6bf590de16dd19c790c983d032d8247 13230536 
gnucash_2.6.9.orig.tar.bz2
 bb19b029b4af96b116f772f24ae60e788a0a40213941b6ab9d6800eaef53839b 32408 
gnucash_2.6.9-1.debian.tar.xz
 b433ac109c7cd90c7b1bd8d2d552eb84a02a0220d05818360d9fdca648f85b36 4521632 
gnucash-common_2.6.9-1_all.deb
 689d66a98d8e0855cba6f5a7f768b2a5fd49be334103126c64121fa25641c511 6526808 
gnucash-dbg_2.6.9-1_amd64.deb
 a2f1d3a5528301019db9f76517a9607c39091fbec9d348b331841ffc346f507b 3048454 
gnucash_2.6.9-1_amd64.deb
 4deab6b4fb022b33362ac05e28aa4314bc32275af6a83f950cbb9fd99ba1435a 261980 
python-gnucash_2.6.9-1_amd64.deb
Files:
 44baff537231916fe988b1d8ec62a79a 2381 gnome optional gnucash_2.6.9-1.dsc
 15ac9b687450973f6b1d5a8d0e096e71 13230536 gnome optional 
gnucash_2.6.9.orig.tar.bz2
 19b4e88090a1e2af2f3637c34956b790 32408 gnome optional 
gnucash_2.6.9-1.debian.tar.xz
 41d77e4d7e541d8c3bab181be80ee4a6 4521632 gnome optional 
gnucash-common_2.6.9-1_all.deb
 27fcdc61914aec9896b2070b182f29d3 6526808 debug extra 
gnucash-dbg_2.6.9-1_amd64.deb
 9fefea9822a3300cee201752c14026e2 3048454 gnome optional 
gnucash_2.6.9-1_amd64.deb
 8aa2047b788f23737726390275903c1d 261980 python optional 
python-gnucash_2.6.9-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWIgZIAAoJEFK2u9lTlo0bsrsP/Au4pi4VBAc8OcX79sXKeQYV
+n2PvadrX7IKTYUiDUzx0MeCFpgeELhiMAhCEk/fuIbVVZi79MDTwIX9WfCXNlvu
xLnkyXXw68k9U508Ge402a4eTiO7p/E5avT9/3BHg7m/vVvFRHzx0BY/tGgunTyH
G6y/KAUnx8of8W0tJC/YDFVJOJXv6gscKz97m1Q8KzaGZKze32QyZdZOyZRq4Fgq
v6lkHMuIFhVUUm9+w0T8PYm+H0wDk09N0cKVgotqUSb8Dd2GTCdMhNqBE0eA6Jn4
JefN3Td6LRoAJNeX+ltBYuzNohduEKdOBxhIxE+2EVrzKeT5Mnk2vBKJzNSp9T1n
9NQPtodjC+6WF2QZpyQgmo6QqNUVJkUdk3DhAx7BJ6e4Op5GvRM+KJSojw9x/EOu
M9jDNLGT4zRYj07CGRangA3O3i5JDUbQd+r21lgZnGxDpjOC+UTAO8xbbbfuc59f
VRHM5H15Bwtdq7qBdcUXGSjGrVpSAAiRdFT4AkxGiPFevvxnvaXxmoKC7/AqOJLt
CV6oO4uThcWYJfW7A/yys/9Ix5mCTllEVoPia/XyOC0omNNG9ojT8LOkXFiOCgbJ
NkGpJuD9BDkEsL7yiIKQ13RsvFbzUgeoxZgIkTxze1Dke42UYlPHPH+ecbDfxK/w
BfSG1ZyjLMSMwyYxpU/Z
=nXCy
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to