Menu

#9 in pyme.core.Data fail new_from_fd function

open
nobody
None
5
2012-09-09
2012-09-09
No

From ubuntu launchpad: https://bugs.launchpad.net/ubuntu/+source/pyme/+bug/674009
fd=open('some_file.asc', 'w+')
cipher = core.Data(file=fd)

Error:
File "gpg.py", line 9, in <module>
cipher = core.Data(file=fd)
File "/usr/lib/python2.6/dist-packages/pyme/core.py", line 291, in __init__
self.new_from_fd(file)
File "/usr/lib/python2.6/dist-packages/pyme/core.py", line 370, in new_from_fd
errorcheck(gpgme_data_new_from_fd(tmp, fd))
NameError: global name 'gpgme_data_new_from_fd' is not defined

See the launchpad page for more info and a proposed patch from Marcos Riosaildo.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.