Your message dated Fri, 18 Dec 2009 13:17:55 +0000
with message-id <[email protected]>
and subject line Bug#509415: fixed in gnupginterface 0.3.2-9.1
has caused the Debian Bug report #509415,
regarding python-gnupginterface: incorrect exit status reported for child gpg
processes
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.)
--
509415: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509415
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-gnupginterface
Version: 0.3.2-9sv1
Severity: minor
Tags: patch
Hi,
GnuPGInterface is incorrectly reporting the exit status of its child gpg
processes when an error occurs:
File "/var/lib/python-support/python2.4/GnuPGInterface.py", line 639, in wait
raise IOError, "GnuPG exited non-zero, with code %d" % (e << 8)
IOError: GnuPG exited non-zero, with code 131072
The bitshift is being performed in the wrong direction -- gpg actually exited
with status 2.
I've attached the trivial patch to correct this.
Regards,
Stephen Veiss
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages python-gnupginterface depends on:
ii gnupg 1.4.6-2 GNU privacy guard - a free PGP rep
ii python-support 0.5.6 automated rebuilding support for p
python-gnupginterface recommends no packages.
-- no debconf information
diff -u gnupginterface-0.3.2.orig/GnuPGInterface.py gnupginterface-0.3.2/GnuPGInterface.py
--- gnupginterface-0.3.2.orig/GnuPGInterface.py 2002-01-11 14:22:04.000000000 -0600
+++ gnupginterface-0.3.2/GnuPGInterface.py 2008-12-21 23:14:29.000000000 -0600
@@ -636,7 +636,7 @@
e = os.waitpid(self.pid, 0)[1]
if e != 0:
- raise IOError, "GnuPG exited non-zero, with code %d" % (e << 8)
+ raise IOError, "GnuPG exited non-zero, with code %d" % (e >> 8)
def _run_doctests():
import doctest, GnuPGInterface
Common subdirectories: gnupginterface-0.3.2.orig/debian and gnupginterface-0.3.2/debian
--- End Message ---
--- Begin Message ---
Source: gnupginterface
Source-Version: 0.3.2-9.1
We believe that the bug you reported is fixed in the latest version of
gnupginterface, which is due to be installed in the Debian FTP archive:
gnupginterface_0.3.2-9.1.diff.gz
to main/g/gnupginterface/gnupginterface_0.3.2-9.1.diff.gz
gnupginterface_0.3.2-9.1.dsc
to main/g/gnupginterface/gnupginterface_0.3.2-9.1.dsc
python-gnupginterface_0.3.2-9.1_all.deb
to main/g/gnupginterface/python-gnupginterface_0.3.2-9.1_all.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thijs Kinkhorst <[email protected]> (supplier of updated gnupginterface 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: SHA1
Format: 1.8
Date: Fri, 18 Dec 2009 13:34:48 +0100
Source: gnupginterface
Binary: python-gnupginterface
Architecture: source all
Version: 0.3.2-9.1
Distribution: unstable
Urgency: low
Maintainer: Guilherme de S. Pastore <[email protected]>
Changed-By: Thijs Kinkhorst <[email protected]>
Description:
python-gnupginterface - Python interface to GnuPG (GPG)
Closes: 509415
Changes:
gnupginterface (0.3.2-9.1) unstable; urgency=low
.
* Non-maintainer upload.
* Merge in Ubuntu patches to address exit status bug, thanks!
* Move setup.py patch from diff.gz to patch system.
.
gnupginterface (0.3.2-9ubuntu2) jaunty; urgency=low
.
* Add 01__print_exit_status_correctly.patch (Closes: #509415, LP: #333057)
Thanks to Kenneth Loafman for the initial patch.
.
gnupginterface (0.3.2-9ubuntu1) gutsy; urgency=low
.
* Rebuild to remove the .pyc file (LP: #36733)
* debian/control:
+ Update to current python-support usage.
+ Modify Maintainer value to match DebianMaintainerField spec.
* setup.py: Rename the licence field to license as suggested by the warning.
Checksums-Sha1:
bec7d10104a6ae9625ce23f7424b453cd8675993 1516 gnupginterface_0.3.2-9.1.dsc
7b5ce5f0ac1c8d82622f61ffabec91f8f4177767 3348 gnupginterface_0.3.2-9.1.diff.gz
3787782f04f44b1ded44660c07b1d9713260373d 21040
python-gnupginterface_0.3.2-9.1_all.deb
Checksums-Sha256:
bac560050f970e8e805b6dc35c2d37f4a362a831554713da68ccba9dbdc5c146 1516
gnupginterface_0.3.2-9.1.dsc
0fee3b3c650bb634328e58884381514332933c10c8141969eecd2235bb02cd27 3348
gnupginterface_0.3.2-9.1.diff.gz
d49a19b4e01177f60dcf1b13b0944bf13fd23f3a4d2189dd7d5fa58237869a67 21040
python-gnupginterface_0.3.2-9.1_all.deb
Files:
7b8668696a5e57343078c3d9ac0231f1 1516 python optional
gnupginterface_0.3.2-9.1.dsc
dcec927e970648f7e9c504456f255faa 3348 python optional
gnupginterface_0.3.2-9.1.diff.gz
357785ea9c20ff2cc80796d104772ac1 21040 python optional
python-gnupginterface_0.3.2-9.1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQEcBAEBAgAGBQJLK3+PAAoJECIIoQCMVaAcNWEH/29TXPc1JCoKMJFqcTvrj9TP
e4M+sDT4uZkubB/CRciLa4Qji1Pcnah3L+ixClwOyXAR3Trt34aJy4URVHV/btAe
2NDuLQkHtBDwz7kxYeruko0J1cECe8voBls3NkhsGgmWAKWzmTDiGitx+RlZcNlk
0VH7EjaMqKPxIJ9gj8dY6sImN8MxNavMEAdMmNDbJasmsiBe8HL0PAoPSrF9IoyX
+YddxQzVNFAmHfIjfNQugBY8MaxS+O0UKNqz/+t2txUonFPN62uEV/MFrkMaZC6A
gxKfh3Nia4W3PIHhqFsUrQV8fy+kkcl9ZsiIQbioNw6HCVzJgT+X7dJTejuc5zI=
=qWsb
-----END PGP SIGNATURE-----
--- End Message ---