You might try a much newer version, such as master branch.  I've never seen this behavior, though I started with a later version.

On Sun, Aug 18, 2013 at 12:14 PM, Michael Bladowski <> wrote:
hi there,

i got this error:

Problem: AttributeError: 'S3Error' object has no attribute 'Code'

Traceback (most recent call last):
  File "/usr/bin/s3cmd", line 1736, in <module>
  File "/usr/bin/s3cmd", line 1681, in main
  File "/usr/bin/s3cmd", line 44, in cmd_du
    subcmd_bucket_usage(s3, uri)
  File "/usr/bin/s3cmd", line 70, in subcmd_bucket_usage
AttributeError: 'S3Error' object has no attribute 'Code'

while doing this:

s3cmd du s3://xxxxxxxxxxxxxx

my system: debian 6.0.6
uname -r: 2.6.32-5-xen-amd64

thanks for any help!


Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.