Try 1.5.0-alpha.  The stat exception should be caught and the now missing local file skipped.

On Apr 22, 2013 5:34 PM, "Mike O'Connor" <moconnor@enquire.net.au> wrote:
This bug stopped a very long s3 upload that I was making overnight:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     An unexpected error has occurred.
   Please report the following lines to:
    s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem: OSError: [Errno 2] No such file or directory:
'/backup/miami/enQuire/01 Project Management/01 Proposal/12
Sub-Projects/94 perth NRM/data
migration/~$enQuire_Data_migration_templatev1.4.xlsx'
S3cmd:   0.9.9.91

Traceback (most recent call last):
   File "/usr/bin/s3cmd", line 1736, in <module>
     main()
   File "/usr/bin/s3cmd", line 1681, in main
     cmd_func(args)
   File "/usr/bin/s3cmd", line 1068, in cmd_sync
     return cmd_sync_local2remote(args)
   File "/usr/bin/s3cmd", line 1033, in cmd_sync_local2remote
     attr_header = _build_attr_header(src)
   File "/usr/bin/s3cmd", line 931, in _build_attr_header
     st = os.stat_result(os.stat(src))
OSError: [Errno 2] No such file or directory: '/backup/miami/enQuire/01
Project Management/01 Proposal/12 Sub-Projects/94 perth NRM/data
migration/~$enQuire_Data_migration_templatev1.4.xlsx'

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     An unexpected error has occurred.
     Please report the above lines to:
    s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter