Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#42 IO Error

Malfunction
open
nobody
s3cmd (117)
5
2013-02-19
2009-11-11
Victor Hooi
No

heya,

I'm essentially trying to backup the entire /, excluding proc. I got the below error, which said to report it here...lol:

[victorhooi@123467-app1 ~]$ sudo s3cmd --exclude '/proc*' -n sync / s3://our_amazon_bucket

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

Problem: IOError: (22, 'Invalid argument')
S3cmd: 0.9.9.91

Traceback (most recent call last):
File "/usr/local/bin/s3cmd", line 1736, in <module>
main()
File "/usr/local/bin/s3cmd", line 1681, in main
cmd_func(args)
File "/usr/local/bin/s3cmd", line 1068, in cmd_sync
return cmd_sync_local2remote(args)
File "/usr/local/bin/s3cmd", line 984, in cmd_sync_local2remote
local_list, remote_list, existing_list = _compare_filelists(local_list, remote_list, True)
File "/usr/local/bin/s3cmd", line 762, in _compare_filelists
src_md5 = Utils.hash_file_md5(src_list[file]['full_name'])
File "/usr/local/lib/python2.6/site-packages/S3/Utils.py", line 191, in hash_file_md5
data = f.read(32*1024)
IOError: [Errno 22] Invalid argument

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

Cheers,
Victor

Discussion