It is failing to execute gpg.

What is in your ~/.s3cfg file for gpg_command?

gpg_command = /usr/bin/gpg
gpg_decrypt = %(gpg_command)s -d --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
gpg_encrypt = %(gpg_command)s -c --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s

is GPG installed?


On Tue, Apr 30, 2013 at 2:36 PM, Wade Phillips <wphillips@workingclassacupuncture.org> wrote:

Problem: OSError: (2, 'No such file or directory')
S3cmd:   1.5.0-alpha3

Traceback (most recent call last):
  File "/usr/local/bin/s3cmd", line 2094, in <module>
    main()
  File "/usr/local/bin/s3cmd", line 2034, in main
    cmd_func(args)
  File "/usr/local/bin/s3cmd", line 319, in cmd_object_put
    exitcode, full_name, extra_headers["x-amz-meta-s3tools-gpgenc"] = gpg_encrypt(full_name_orig)
  File "/usr/local/bin/s3cmd", line 1397, in gpg_encrypt
    code = gpg_command(command, cfg.gpg_passphrase)
  File "/usr/local/bin/s3cmd", line 1379, in gpg_command
    p = subprocess.Popen(command, stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child
OSError: [Errno 2] No such file or directory


Wade Phillips
Working Class Acupuncture - Hillsdale


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1