Fixed in upstream master branch, thanks for the report.


On Wed, Jul 24, 2013 at 1:30 PM, Boxuan Cui <boxuan@adelphic.com> wrote:
Hi there,

This is not critical for me, but I thought I should report this. Thanks!


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
  Please report the following lines to:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem: NameError: global name 'errno' is not defined
S3cmd:   1.5.0-alpha1

Traceback (most recent call last):
  File "/usr/local/bin/s3cmd", line 2037, in <module>
    main()
  File "/usr/local/bin/s3cmd", line 1978, in main
    cmd_func(args)
  File "/usr/local/bin/s3cmd", line 466, in cmd_object_get
    response = s3.object_get(uri, dst_stream, start_position = start_position, extra_label = seq_label)
  File "/usr/local/lib/python2.7/dist-packages/S3/S3.py", line 460, in object_get
    response = self.recv_file(request, stream, labels, start_position)
  File "/usr/local/lib/python2.7/dist-packages/S3/S3.py", line 934, in recv_file
    return self.recv_file(request, stream, labels, current_position, retries - 1)
  File "/usr/local/lib/python2.7/dist-packages/S3/S3.py", line 956, in recv_file
    if e.errno != errno.ENOENT:
NameError: global name 'errno' is not defined

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
    Please report the above lines to:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!




Boxuan Cui
Data Scientist




This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by any unintended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk