Debian Bug report logs -
#550596
libgpgme11: 1.2.0-1 breaks signing with pyme
Reported by: Philipp Kern <pkern@debian.org>
Date: Sun, 11 Oct 2009 13:18:02 UTC
Severity: important
Tags: patch
Found in version pyme/0.8.1+clean-1
Fixed in version pyme/0.8.1+clean-3
Done: Arnaud Fontaine <arnau@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Arnaud Fontaine <arnau@debian.org>:
Bug#550596; Package python-pyme.
(Sun, 11 Oct 2009 13:18:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Philipp Kern <pkern@debian.org>:
New Bug report received and forwarded. Copy sent to Arnaud Fontaine <arnau@debian.org>.
(Sun, 11 Oct 2009 13:18:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: python-pyme
Version: 0.8.1+clean-1
Severity: important
My script works fine with python-pyme 0.8.1+clean-1 and libgpgme11 1.1.8-2.
However after the upgrade to libgpgme11 1.2.0-1 I get the following error:
Signing log for ecj_3.5.1-1 (buildd: goedel, dist: unstable)
Traceback (most recent call last):
File "./autosign-buildlogs", line 529, in <module>
main()
File "./autosign-buildlogs", line 522, in main
handle_successful_build(buildlog, buildd_stash)
File "./autosign-buildlogs", line 93, in handle_successful_build
signed_changes = sign_changes(changes)
File "./autosign-buildlogs", line 61, in sign_changes
gnupg = pyme.core.Context()
File "/usr/lib/python2.5/site-packages/pyme/core.py", line 61, in __init__
errorcheck(pygpgme.gpgme_new(tmp))
File "/usr/lib/python2.5/site-packages/pyme/errors.py", line 46, in errorcheck
raise GPGMEError(retval, extradata)
pyme.errors.GPGMEError: User defined source 1: Unknown error code (32,176)
Exception exceptions.AttributeError: "'module' object has no attribute 'gpgme_last_passcb'" in ignored
It crashes on context initialization:
>>> snip >>>
def sign_changes(changes):
"""This function handles all interaction with GnuPG."""
global gnupg
# Set up the global object on first access.
try:
gnupg
except NameError:
gnupg = pyme.core.Context() # crashes here
gnupg.set_armor(1)
gnupg.signers_add(gnupg.get_key('B2CFCDD8', True))
plain = pyme.core.Data(str(changes))
sig = pyme.core.Data()
gnupg.op_sign(plain, sig, mode.CLEAR)
sig.seek(0, 0)
return sig.read()
<<< snip <<<
If this is a bug in libgpgme11, please reassign.
Kind regards,
Philipp Kern
Information forwarded
to debian-bugs-dist@lists.debian.org, Arnaud Fontaine <arnau@debian.org>:
Bug#550596; Package python-pyme.
(Sun, 18 Oct 2009 19:48:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Marek Hulán <ares@igloonet.cz>:
Extra info received and forwarded to list. Copy sent to Arnaud Fontaine <arnau@debian.org>.
(Sun, 18 Oct 2009 19:48:03 GMT) (full text, mbox, link).
Message #10 received at 550596@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
This is problem of libgpgme11, finally I found a solution. Just edit core.py
sudo vim /usr/lib/python2.5/site-packages/pyme/core.py
between line 60 and 61 add line "check_version(None)" and thats it.
I tried to contact a maintainer of PyMe but it seems dead. Could a maintainer
of a debian package merge this patch?
Ares
[pyme_core.diff (text/x-patch, attachment)]
Added tag(s) pending and patch.
Request was from Arnaud Fontaine <arnau@debian.org>
to control@bugs.debian.org.
(Mon, 19 Oct 2009 13:03:03 GMT) (full text, mbox, link).
Message sent on
to Philipp Kern <pkern@debian.org>:
Bug#550596.
(Mon, 19 Oct 2009 14:18:14 GMT) (full text, mbox, link).
Message #15 received at 550596-submitter@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
Philipp: Does the patch provided by Marek actually fixes the issue? If
so, I will upload a package really soon. Thanks for testing.
Cheers,
Arnaud Fontaine
[Message part 2 (application/pgp-signature, inline)]
Information stored
:
Bug#550596; Package python-pyme.
(Mon, 26 Oct 2009 11:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Philipp Kern <pkern@debian.org>:
Extra info received and filed, but not forwarded.
(Mon, 26 Oct 2009 11:33:03 GMT) (full text, mbox, link).
Message #20 received at 550596-quiet@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
On Mon, Oct 19, 2009 at 03:29:46PM +0200, Arnaud Fontaine wrote:
> Philipp: Does the patch provided by Marek actually fixes the issue? If
> so, I will upload a package really soon. Thanks for testing.
as already stated on IRC: it fixes the issue and I'd appreciate a timely
upload (if possible with urgency=medium).
Kind regards,
Philipp Kern
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Arnaud Fontaine <arnau@debian.org>:
You have taken responsibility.
(Thu, 29 Oct 2009 03:27:19 GMT) (full text, mbox, link).
Notification sent
to Philipp Kern <pkern@debian.org>:
Bug acknowledged by developer.
(Thu, 29 Oct 2009 03:27:25 GMT) (full text, mbox, link).
Message #25 received at 550596-close@bugs.debian.org (full text, mbox, reply):
Source: pyme
Source-Version: 0.8.1+clean-3
We believe that the bug you reported is fixed in the latest version of
pyme, which is due to be installed in the Debian FTP archive:
pyme_0.8.1+clean-3.diff.gz
to main/p/pyme/pyme_0.8.1+clean-3.diff.gz
pyme_0.8.1+clean-3.dsc
to main/p/pyme/pyme_0.8.1+clean-3.dsc
python-pyme-doc_0.8.1+clean-3_all.deb
to main/p/pyme/python-pyme-doc_0.8.1+clean-3_all.deb
python-pyme_0.8.1+clean-3_i386.deb
to main/p/pyme/python-pyme_0.8.1+clean-3_i386.deb
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 550596@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Arnaud Fontaine <arnau@debian.org> (supplier of updated pyme 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 27 Oct 2009 17:24:56 +0000
Source: pyme
Binary: python-pyme python-pyme-doc
Architecture: source all i386
Version: 0.8.1+clean-3
Distribution: unstable
Urgency: low
Maintainer: Arnaud Fontaine <arnau@debian.org>
Changed-By: Arnaud Fontaine <arnau@debian.org>
Description:
python-pyme - Python interface to the GPGME GnuPG encryption library
python-pyme-doc - Python interface to the GPGME GnuPG encryption library
Closes: 550596
Changes:
pyme (0.8.1+clean-3) unstable; urgency=low
.
* debian/patches:
+ Add add_missing_check_version.patch to fix breakage in signing.
Thanks to Marek Hulán. Closes: #550596.
Checksums-Sha1:
f37a88450b445324f66d59a04eaf090d0dca09e8 1428 pyme_0.8.1+clean-3.dsc
809d951f4683615ade7c7488d5a2d83e4273556f 4623 pyme_0.8.1+clean-3.diff.gz
9605088cd140ed8a59ba9cc5c1b9bef0552217ed 61646 python-pyme-doc_0.8.1+clean-3_all.deb
12cc23d0e546f08bf14df733184fe7573abe9ca4 196292 python-pyme_0.8.1+clean-3_i386.deb
Checksums-Sha256:
02b1cf4c012b8b72696990592e4bda35aa8d4860907c62ddbb7192332e597633 1428 pyme_0.8.1+clean-3.dsc
e657646de24cb1b056d10014b8c55fc65b94f67671fa1290ae4eb2df85e1e329 4623 pyme_0.8.1+clean-3.diff.gz
467e94458f68726d87cd2bf2267113016e76710d242cc53f304111e5301b20a4 61646 python-pyme-doc_0.8.1+clean-3_all.deb
0432893fd0451f41d1b583605bbd0717203445431aad45e59e69b53ffb2f1115 196292 python-pyme_0.8.1+clean-3_i386.deb
Files:
49587d54ab0e7de15a57a572c21079e8 1428 python optional pyme_0.8.1+clean-3.dsc
aaf24b2da8cd2467719e66e474956a18 4623 python optional pyme_0.8.1+clean-3.diff.gz
b20a221c3fb14a074d04f42133c549ff 61646 doc optional python-pyme-doc_0.8.1+clean-3_all.deb
f6ac4083f7abad8a01cbf86d209f52ac 196292 python optional python-pyme_0.8.1+clean-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkrnLpAACgkQvfKiIF42GdM93QCeKsqTrVoVRWCgE3llbX+J3kbD
UykAnjkl6Gql+qBFUWeunTzaqjWwz44q
=AqkW
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 06 Dec 2009 07:37:59 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Tue Jul 16 00:06:17 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.