Fixed in -alpha3.


On Wed, Apr 24, 2013 at 7:50 AM, jay bhatt <jai.bhatt@gmail.com> wrote:

[root@ecautomation s3cmd-1.5.0-alpha1]# ./s3cmd sync /home/jitkan/Connect/test.txt S3://ecs-qa-4567/0.AUTOMATION/

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

Problem: AttributeError: 'dict' object has no attribute 'get_md5'
S3cmd:   1.5.0-alpha1

Traceback (most recent call last):
  File "./s3cmd", line 2037, in <module>
    main()
  File "./s3cmd", line 1978, in main
    cmd_func(args)
  File "./s3cmd", line 1162, in cmd_sync
    return cmd_sync_local2remote(args)
  File "./s3cmd", line 1146, in cmd_sync_local2remote
    destination_base_uri = _single_process(local_list)
  File "./s3cmd", line 969, in _single_process
    _child(destination_base, local_list)
  File "./s3cmd", line 1055, in _child
    local_list, remote_list, update_list, copy_pairs = compare_filelists(local_list, remote_list, src_remote = False, dst_remote = True, delay_updates = cfg.delay_updates)
  File "/home/jitkan/s3cmd-1.5.0-alpha1/S3/FileLists.py", line 458, in compare_filelists
    same_file = _compare(src_list, dst_list, src_remote, dst_remote, relative_file)
  File "/home/jitkan/s3cmd-1.5.0-alpha1/S3/FileLists.py", line 418, in _compare
    dst_md5 = dst_list.get_md5(file)
AttributeError: 'dict' object has no attribute 'get_md5'

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

--
Regards,
Jay

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr