{"action":"created","issue":{"url":"https://api.github.com/repos/s3tools/s3cmd/issues/542","labels_url":"https://api.github.com/repos/s3tools/s3cmd/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/s3tools/s3cmd/issues/542/comments","events_url":"https://api.github.com/repos/s3tools/s3cmd/issues/542/events","html_url":"https://github.com/s3tools/s3cmd/issues/542","id":74109877,"number":542,"title":"KeyError: 'date'","user":{"login":"alex-LE","id":1616675,"avatar_url":"https://avatars.githubusercontent.com/u/1616675?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-LE","html_url":"https://github.com/alex-LE","followers_url":"https://api.github.com/users/alex-LE/followers","following_url":"https://api.github.com/users/alex-LE/following{/other_user}","gists_url":"https://api.github.com/users/alex-LE/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-LE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-LE/subscriptions","organizations_url":"https://api.github.com/users/alex-LE/orgs","repos_url":"https://api.github.com/users/alex-LE/repos","events_url":"https://api.github.com/users/alex-LE/events{/privacy}","received_events_url":"https://api.github.com/users/alex-LE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-07T20:06:52Z","updated_at":"2015-05-07T20:13:57Z","closed_at":null,"body":"Hi, i currently have some issues running my backup script. I use s3cmd sync to upload my backups to dreamobjects (dreamhost.com). But its not working any more.\r\nI get the following error:\r\n```\r\nProblem: KeyError: 'date'\r\nS3cmd:   1.5.2\r\npython:   2.7.3 (default, Mar 13 2014, 11:03:55)\r\n[GCC 4.7.2]\r\nenvironment LANG=None\r\n\r\nTraceback (most recent call last):\r\n  File \"/root/bin/s3cmd\", line 2548, in <module>\r\n    rc = main()\r\n  File \"/root/bin/s3cmd\", line 2460, in main\r\n    rc = cmd_func(args)\r\n  File \"/root/bin/s3cmd\", line 1479, in cmd_sync\r\n    return cmd_sync_local2remote(args)\r\n  File \"/root/bin/s3cmd\", line 1456, in cmd_sync_local2remote\r\n    any_child_failed = _single_process(local_list)\r\n  File \"/root/bin/s3cmd\", line 1261, in _single_process\r\n    rc = _child(destination_base, local_list)\r\n  File \"/root/bin/s3cmd\", line 1337, in _child\r\n    remote_list, dst_exclude_list = fetch_remote_list(destination_base, recursive = True, require_attribs = True)\r\n  File \"/root/bin/S3/FileLists.py\", line 419, in fetch_remote_list\r\n    objectlist = _get_filelist_remote(uri, recursive = True)\r\n  File \"/root/bin/S3/FileLists.py\", line 394, in _get_filelist_remote\r\n    _get_remote_attribs(S3Uri(object_uri_str), rem_list[key])\r\n  File \"/root/bin/S3/FileLists.py\", line 329, in _get_remote_attribs\r\n    'timestamp' : dateRFC822toUnix(response['headers']['date'])\r\nKeyError: 'date'\r\n```\r\nwhen running this command:\r\n```\r\n/root/bin/s3cmd sync /var/backup/ s3://mybackupbucket/dir/\r\n```\r\nI've also tried the lastest master version from github with the same result.\r\nIts working with AWS by the way.\r\nBut i really need Dreamobjects.\r\nAny ideas?\r\n\r\nAlex\r\n"},"comment":{"url":"https://api.github.com/repos/s3tools/s3cmd/issues/comments/100004023","html_url":"https://github.com/s3tools/s3cmd/issues/542#issuecomment-100004023","issue_url":"https://api.github.com/repos/s3tools/s3cmd/issues/542","id":100004023,"user":{"login":"alex-LE","id":1616675,"avatar_url":"https://avatars.githubusercontent.com/u/1616675?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-LE","html_url":"https://github.com/alex-LE","followers_url":"https://api.github.com/users/alex-LE/followers","following_url":"https://api.github.com/users/alex-LE/following{/other_user}","gists_url":"https://api.github.com/users/alex-LE/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-LE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-LE/subscriptions","organizations_url":"https://api.github.com/users/alex-LE/orgs","repos_url":"https://api.github.com/users/alex-LE/repos","events_url":"https://api.github.com/users/alex-LE/events{/privacy}","received_events_url":"https://api.github.com/users/alex-LE/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T20:13:57Z","updated_at":"2015-05-07T20:13:57Z","body":"The traceback for the lastest version:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/s3cmd-1.5.2-py2.7.egg/EGG-INFO/scripts/s3cmd\", line 2586, in <module>\r\n    rc = main()\r\n  File \"/usr/local/lib/python2.7/dist-packages/s3cmd-1.5.2-py2.7.egg/EGG-INFO/scripts/s3cmd\", line 2498, in main\r\n    rc = cmd_func(args)\r\n  File \"/usr/local/lib/python2.7/dist-packages/s3cmd-1.5.2-py2.7.egg/EGG-INFO/scripts/s3cmd\", line 1496, in cmd_sync\r\n    return cmd_sync_local2remote(args)\r\n  File \"/usr/local/lib/python2.7/dist-packages/s3cmd-1.5.2-py2.7.egg/EGG-INFO/scripts/s3cmd\", line 1473, in cmd_sync_local2remote\r\n    any_child_failed = _single_process(local_list)\r\n  File \"/usr/local/lib/python2.7/dist-packages/s3cmd-1.5.2-py2.7.egg/EGG-INFO/scripts/s3cmd\", line 1278, in _single_process\r\n    rc = _child(destination_base, local_list)\r\n  File \"/usr/local/lib/python2.7/dist-packages/s3cmd-1.5.2-py2.7.egg/EGG-INFO/scripts/s3cmd\", line 1354, in _child\r\n    remote_list, dst_exclude_list = fetch_remote_list(destination_base, recursive = True, require_attribs = True)\r\n  File \"/usr/local/lib/python2.7/dist-packages/s3cmd-1.5.2-py2.7.egg/S3/FileLists.py\", line 444, in fetch_remote_list\r\n    objectlist = _get_filelist_remote(uri, recursive = True)\r\n  File \"/usr/local/lib/python2.7/dist-packages/s3cmd-1.5.2-py2.7.egg/S3/FileLists.py\", line 419, in _get_filelist_remote\r\n    _get_remote_attribs(S3Uri(object_uri_str), rem_list[key])\r\n  File \"/usr/local/lib/python2.7/dist-packages/s3cmd-1.5.2-py2.7.egg/S3/FileLists.py\", line 354, in _get_remote_attribs\r\n    'timestamp' : dateRFC822toUnix(response['headers']['date'])\r\nKeyError: 'date'\r\n```"}}