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.

Thanks,
Matt


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

Hi

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:

   s3tools-bugs@lists.sourceforge.net

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

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 ?

    main()

  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/Config.py", line 116, in __init__

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

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

 

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    An unexpected error has occurred.

    Please report the above lines to:

   s3tools-bugs@lists.sourceforge.net

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

 

 

Bill Spollen

 

 

Programmer/Analyst

Informatics Research Core Facility

113 Bond Life Sciences Center

University of Missouri

Columbia

MO 65211

(573) 881-3178 (Cell)

(573) 884-8151 (Room)

 

http://ircf.rnet.missouri.edu

 


------------------------------------------------------------------------------
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!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk