Your message dated Mon, 28 Mar 2005 15:47:40 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#226462: fixed in gnupginterface 0.3.2-5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Jan 2004 22:23:11 +0000
>From [EMAIL PROTECTED] Tue Jan 06 16:21:58 2004
Return-path: <[EMAIL PROTECTED]>
Received: from play.smurf.noris.de [192.109.102.42] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Adyqx-0006gm-00; Tue, 06 Jan 2004 15:35:07 -0600
Received: from smurf by play.smurf.noris.de with local (Exim 3.35 #1 (Debian))
        id 1AdycC-0007xH-00; Tue, 06 Jan 2004 22:19:52 +0100
Date: Tue, 6 Jan 2004 22:19:52 +0100
From: Matthias Urlichs <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Bcc: Matthias Urlichs <[EMAIL PROTECTED]>
Subject: python-gnupginterface: Exit code reporting is broken
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw"
Content-Disposition: inline
X-Reportbug-Version: 2.37
User-Agent: Mutt/1.5.0-gpgme-021125a
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 
        2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_5 
        (1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
        version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_5
X-Spam-Level: 


--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: python-gnupginterface
Version: 0.3.2-3
Severity: minor

Hi,

the following code in gnupginterface.py is broken:

        e =3D os.waitpid(self.pid, 0)[1]
        if e !=3D 0:
                raise IOError, "GnuPG exited non-zero, with code %d" % (e << 8)

The << needs to be a >>. Also, this code doesn't report signal exits
correctly. Anyway, the posix module has a bunch of functions to handle
these errors, better use them:

        import posix

        e =3D os.waitpid(self.pid, 0)[1]
        if posix.WIFSIGNALED(e):
                raise IOError, "GnuPG died with signal %d" % posix.WTERMSIG(e)
        elif posix.WIFEXITED(e):
                if posix.WEXITSTATUS(e) !=3D 0:
                        raise IOError, "GnuPG exited non-zero, with code %d" \
                                % (posix.WEXITSTATUS(e) >> 8)
        else:
                raise IOError, "GnuPG exited with unknown status %d" % e

I can upload an NMU if you don't have free time to fix this.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux play.smurf.noris.de 2.4.19-586tsc #1 Sun Oct 6 18:00:21 EST 2=
002 i686
Locale: LANG=3Den_US.utf8, LC_CTYPE=3Dde_DE.utf8

Versions of packages python-gnupginterface depends on:
ii  gnupg                         1.2.4-1    GNU privacy guard - a free PGP=
 rep
ii  python                        2.3.3-1    An interactive high-level obje=
ct-o

-- no debconf information


--=20
--=20
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [EMAIL PROTECTED]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Components that must not and cannot be assembled improperly will be.

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQA/+yZ38+hUANcKr/kRAgduAKCmwZmUKSfceSf96ZP7ArxD5+N1fwCggyNd
/cI+v885OZVWtjF1SpAjvCY=
=o7QJ
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--

---------------------------------------
Received: (at 226462-close) by bugs.debian.org; 28 Mar 2005 20:59:15 +0000
>From [EMAIL PROTECTED] Mon Mar 28 12:59:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DG1KN-0001Gj-00; Mon, 28 Mar 2005 12:59:15 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DG19A-0006Ew-00; Mon, 28 Mar 2005 15:47:40 -0500
From: John Goerzen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#226462: fixed in gnupginterface 0.3.2-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 28 Mar 2005 15:47:40 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: gnupginterface
Source-Version: 0.3.2-5

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-5.diff.gz
  to pool/main/g/gnupginterface/gnupginterface_0.3.2-5.diff.gz
gnupginterface_0.3.2-5.dsc
  to pool/main/g/gnupginterface/gnupginterface_0.3.2-5.dsc
python-gnupginterface_0.3.2-5_all.deb
  to pool/main/g/gnupginterface/python-gnupginterface_0.3.2-5_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.
John Goerzen <[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.7
Date: Mon, 28 Mar 2005 06:44:13 -0600
Source: gnupginterface
Binary: python-gnupginterface
Architecture: source all
Version: 0.3.2-5
Distribution: unstable
Urgency: low
Maintainer: John Goerzen <[EMAIL PROTECTED]>
Changed-By: John Goerzen <[EMAIL PROTECTED]>
Description: 
 python-gnupginterface - Python interface to GnuPG (GPG)
Closes: 226462
Changes: 
 gnupginterface (0.3.2-5) unstable; urgency=low
 .
   * Apply patch from Matthias Ulrichs <[EMAIL PROTECTED]> to
     fix error reporting if/when gnupg dies. (Closes: #226462)
Files: 
 120bd63713860bc7e56638f09c53fa43 640 libs optional gnupginterface_0.3.2-5.dsc
 b31983710661afe90b33f10e57c5d635 2372 libs optional 
gnupginterface_0.3.2-5.diff.gz
 6ecf394268f83e5c9126dffbed02646c 19162 libs optional 
python-gnupginterface_0.3.2-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCSF6u7B2mSKdID5ERAq81AKCQugaJe24Q1MIprDbw9Uw28JQDhwCfVBMa
u7JllwXv4LwKcYksln4bSXw=
=PiS5
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to