the timeout argument to httplib.HTTPConnect() was added in python 2.6.  Are you sure you're using python 2.7?  The script is invoked as #!/usr/bin/env python generally.


On Tue, Nov 26, 2013 at 11:08 AM, Spollen, William G. <> wrote:


See below the error message I have on using the s3cmd.  I am using python-2.7.  I get this error whether I execute the s3cmd alone, or with the arguments I have intended for it.





    An unexpected error has occurred.

  Please report the following lines to:



Problem: TypeErr: __init__() got an unexpected keyword argument 'timeout'

S3cmd:   1.5.0-alpha3


Traceback (most recent call last):

  File "/home/spollenw/bin/s3cmd-1.5.0-alpha3/s3cmd", line 2094, in ?


  File "/home/spollenw/bin/s3cmd-1.5.0-alpha3/s3cmd", line 1869, in main

    cfg = Config(options.config)

  File "/ibfs1/home/spollenw/s3cmd-1.5.0-alpha3/S3/", line 116, in __init__

  File "/ibfs1/home/spollenw/s3cmd-1.5.0-alpha3/S3/", line 119, in role_config

TypeError: __init__() got an unexpected keyword argument 'timeout'



    An unexpected error has occurred.

    Please report the above lines to:





Bill Spollen




Informatics Research Core Facility

113 Bond Life Sciences Center

University of Missouri


MO 65211

(573) 881-3178 (Cell)

(573) 884-8151 (Room)


Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!