Bug#549921: python-gpgme: Fails to create a Context unless gpgme_check_version is called manually

2009-10-15 Thread Miguel Di Ciurcio Filho

Mikhail Gusarov wrote:


python-gpgme does not call gpgme_check_function and hence creation of Context 
fails
with GPG_ERR_NOT_OPERATIONAL. See the logs below:



Problem reported to upstream:

https://bugs.launchpad.net/pygpgme/+bug/452194

Regards,

Miguel



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



Bug#549921: python-gpgme: Fails to create a Context unless gpgme_check_version is called manually

2009-10-06 Thread Mikhail Gusarov
Package: python-gpgme
Version: 0.1+bzr20090429-1
Severity: grave
Justification: renders package unusable

python-gpgme does not call gpgme_check_function and hence creation of Context 
fails
with GPG_ERR_NOT_OPERATIONAL. See the logs below:

[dotted...@vertex:~]% python
Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) 
[GCC 4.3.3] on linux2
Type help, copyright, credits or license for more information.
 import gpgme
 gpgme.Context()
Traceback (most recent call last):
  File stdin, line 1, in module
gpgme.GpgmeError: (32, 176, 'Unknown error code')
 


[dotted...@vertex:~]% python
Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) 
[GCC 4.3.3] on linux2
Type help, copyright, credits or license for more information.
 import ctypes
 libgpgme = ctypes.cdll.LoadLibrary('libgpgme.so.11')
 libgpgme.gpgme_check_version.restype = ctypes.c_char_p
 libgpgme.gpgme_check_version(None)
'1.2.0'
 import gpgme
 gpgme.Context()
gpgme.Context object at 0x7f8643f250d8
 
[dotted...@vertex:~]% 


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (750, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gpgme depends on:
ii  libc6 2.9-25 GNU C Library: Shared libraries
ii  libgpgme111.2.0-1GPGME - GnuPG Made Easy
ii  python2.5.4-2An interactive high-level object-o
ii  python-support1.0.3  automated rebuilding support for P

python-gpgme recommends no packages.

python-gpgme suggests no packages.

-- no debconf information



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