I'm getting a non-zero exit status 4 error.
Probably due to my incompetence.
I'm trying to import 2 png's that I just made with the export tool.
gpg2paper.py import --pubkey mykey.asc --png --in tryout1.png tryout2.png
after which I get:
`scanned 0 barcode symbols from 1 images in 1 seconds
WARNING: barcode data was not detected in some image(s)
things to check:
- is the barcode type supported? currently supported symbologies are:
EAN/UPC (EAN-13, EAN-8, UPC-A, UPC-E, ISBN-10, ISBN-13),
Code 128, Code 39 and Interleaved 2 of 5
- is the barcode large enough in the image?
- is the barcode mostly in focus?
- is there sufficient contrast/illumination?
Traceback (most recent call last):
File "/usr/local/bin/gpg2paper.py", line 274, in
sys.exit(main())
File "/usr/local/bin/gpg2paper.py", line 109, in main
do_import(args)
File "/usr/local/bin/gpg2paper.py", line 122, in do_import
base64str = read_chunks_png(args.in_filenames)
File "/usr/local/bin/gpg2paper.py", line 151, in read_chunks_png
chunk = subprocess.check_output(['zbarimg', '--raw', in_filename])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
`
Any ideas about what I'm doing wrong?
And thanks for making this tool!