[PD] How to dekenize, [was] Re: William Brent's [convolve~ ] dekenized

Roman Haefeli reduzent at gmail.com
Wed Jul 5 10:17:38 CEST 2017


On Mit, 2017-07-05 at 09:50 +0200, IOhannes m zmoelnig wrote:
> On 2017-07-05 09:13, Roman Haefeli wrote:
> > 
> > I just tried, now that you asked. And no. I failed at gpg-signing
> > the
> > package. 
> how did it fail?
> if all went well deken should handle a missing gpg and give you a
> "WARNING" (which i wouldn't classify as a "failure").

Ok, I was not aware of what deken was supposed to handle and what not.
Sorry for not being very specific. Before installing gpg, it fails
with:

$ deken package -v 0.27 ggee
Deken 0.1
Packaging ggee-v0.27-(Darwin-i386-32)(Darwin-x86_64-32)-externals.tar.gz
Attempting to GPG sign 'ggee-v0.27-(Darwin-i386-32)(Darwin-x86_64-32)-externals.tar.gz'
Traceback (most recent call last):
  File "/Users/itz/.deken/virtualenv/bin/hy", line 9, in <module>
    load_entry_point('hy==0.11.0', 'console_scripts', 'hy')()
  File "/Users/itz/.deken/virtualenv/lib/python2.7/site-packages/hy/cmdline.py", line 347, in hy_main
    sys.exit(cmdline_handler("hy", sys.argv))
  File "/Users/itz/.deken/virtualenv/lib/python2.7/site-packages/hy/cmdline.py", line 335, in cmdline_handler
    return run_file(options.args[0])
  File "/Users/itz/.deken/virtualenv/lib/python2.7/site-packages/hy/cmdline.py", line 210, in run_file
    import_file_to_module("__main__", filename)
  File "/Users/itz/.deken/virtualenv/lib/python2.7/site-packages/hy/importer.py", line 78, in import_file_to_module
    eval(ast_compile(_ast, fpath, "exec"), mod.__dict__)
  File "/Users/itz/.deken/deken.hy", line 752, in <module>
    
  File "/Users/itz/.deken/deken.hy", line 465, in main
    (defn main []
  File "/Users/itz/.deken/deken.hy", line 721, in _hy_anon_fn_74
    
  File "/Users/itz/.deken/deken.hy", line 492, in _hy_anon_fn_73
    (if command (command arguments) (.print_help arg-parser)))))
  File "/Users/itz/.deken/deken.hy", line 442, in _hy_anon_fn_69
    (name args.source)))
  File "/Users/itz/.deken/deken.hy", line 376, in archive_extra
    (gpg-sign-file zipfile)
  File "/Users/itz/.deken/deken.hy", line 262, in gpg_sign_file
    (defn gpg-sign-file [filename]
  File "/Users/itz/.deken/deken.hy", line 268, in _hy_anon_fn_41
    (do-gpg-sign-file filename signfile))))))
  File "/Users/itz/.deken/deken.hy", line 480, in do_gpg_sign_file
    "metavar" "PACKAGE"
  File "/Users/itz/.deken/deken.hy", line 230, in _hy_anon_fn_39
    (if use-agent {"use_agent" true})))
  File "/Users/itz/.deken/virtualenv/lib/python2.7/site-packages/gnupg.py", line 680, in __init__
    p = self._open_subprocess(["--version"])
  File "/Users/itz/.deken/virtualenv/lib/python2.7/site-packages/gnupg.py", line 726, in _open_subprocess
    return Popen(cmd, shell=False, stdin=PIPE, stdout=PIPE, stderr=PIPE)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory



> > 
> > There was no gpg at all, so I installed it with:
> > 
> also, deken should have suggested (on OSX) to install the "GPG Suite"
> instead. why didn't you?

See above.

Now I did install the "GPG Suite" and everything works fine.

Thank you!
Roman


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170705/9c31b5ec/attachment-0001.sig>


More information about the Pd-list mailing list