Package: python-gnupginterface
Version: 0.3.2-9.1
Severity: important
Dear Maintainer,
I am trying to follow the example given in the package's documentation.
With Python 2.7, I get:
>>> import GnuPGInterface
>>> gnupg = GnuPGInterface.GnuPG()
>>> gnupg.options.meta_interactive = 0
>>> gnupg.options.armor = 1
>>> gnupg.options.extra_args.append('--no-secmem-warning')
>>> p1 = gnupg.run(['--verify'], create_fhs=['stdin', 'stdout', 'passphrase'])
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/usr/lib/pymodules/python2.7/GnuPGInterface.py", line 357, in run
create_fhs, attach_fhs)
File "/usr/lib/pymodules/python2.7/GnuPGInterface.py", line 397, in
_attach_fork_exec
process._pipes[fh_name] = Pipe(fh.fileno(), fh.fileno(), 1)
AttributeError: 'CLIRepl' object has no attribute 'fileno'
>>>
With Python 2.6, everything works just fine.
Kind regards,
--Toni++
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-gnupginterface depends on:
ii gnupg 1.4.12-7
ii python-support 1.0.15
python-gnupginterface recommends no packages.
python-gnupginterface suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]