{"id":4153,"date":"2012-05-20T23:13:50","date_gmt":"2012-05-20T14:13:50","guid":{"rendered":"http:\/\/mk.miko.jp\/blog\/?p=4153"},"modified":"2012-05-20T23:14:37","modified_gmt":"2012-05-20T14:14:37","slug":"s3cmd%e3%81%aemultipart-upload%e3%81%a7unexpected-error%e3%81%8c%e5%87%ba%e3%82%8b%e5%a5%b4%e3%81%ae%e5%af%be%e7%ad%96","status":"publish","type":"post","link":"http:\/\/mk.miko.jp\/blog\/archives\/4153","title":{"rendered":"s3cmd\u306emultipart upload\u3067unexpected error\u304c\u51fa\u308b\u5974\u306e\u5bfe\u7b56"},"content":{"rendered":"<p>\u3000\u524d\u306b\u3082\u66f8\u3044\u305f\u3051\u3069\u3001tar\u3092gpg\u306b\u30d1\u30a4\u30d7\u3057\u305f\u5974\u3092ssh\u3067\u30ea\u30e2\u30db\u306b\u30b3\u30d4\u30fc\u3057\u3066\u3001\u30ea\u30e2\u30db\u5074\u3067s3cmd\u3067Amazon S3\u306b\u4e0a\u3052\u3055\u305b\u308b\u3001\u3068\u304b\u3084\u3063\u3066\u3044\u308b\u8a33\u3067\u3059\u3088\u3002<br \/>\n\u3000\u3067\u30015GB\u3092\u8d85\u3048\u305f\u3089\u3001\u30de\u30eb\u30c1\u30d1\u30fc\u30c8\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u5fc5\u8981\u306a\u306e\u306a\u3002s3cmd\u306f1.1\u304b\u3089\u5bfe\u5fdc\u3002\u305f\u3060\u3057\u03b2\u3002<br \/>\n\u3000\u3064\u30fc\u3053\u3068\u3067\u30011.1.0-beta3\u3067\u4e0a\u3052\u3066\u305f\u3093\u3060\u3051\u3069\u3001\u6bce\u56de\u30a8\u30e9\u30fc\u5410\u304f\u306e\u3055\u3002\u3053\u3093\u306a\u5974\u3002<\/p>\n<pre class=\"brush: plain\">!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n   An unexpected error has occurred.\r\n Please report the following lines to:\r\n  s3tools-bugs@lists.sourceforge.net\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n\r\nProblem: KeyErr: 'elapsed'\r\nS3cmd:   1.1.0-beta3\r\n\r\nTraceback (most recent call last):\r\n File \"\/usr\/bin\/s3cmd\", line 1800, in ?\r\n   main()\r\n File \"\/usr\/bin\/s3cmd\", line 1741, in main\r\n   cmd_func(args)\r\n File \"\/usr\/bin\/s3cmd\", line 965, in cmd_sync\r\n   return cmd_sync_local2remote(args)\r\n File \"\/usr\/bin\/s3cmd\", line 931, in cmd_sync_local2remote\r\n   output(u\"File '%s' stored as '%s' (%d bytes in %0.1f seconds, %0.2f %sB\/s) %s\" %\r\nKeyError: 'elapsed'\r\n\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n   An unexpected error has occurred.\r\n   Please report the above lines to:\r\n  s3tools-bugs@lists.sourceforge.net\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<\/pre>\n<p>\u3000Python\u4f7f\u3044\u306b\u306f\u304a\u99b4\u67d3\u307f\u306e\u30c8\u30ec\u30fc\u30b9\u30d0\u30c3\u30af\u304c\u57cb\u307e\u3063\u3066\u308b\u306a\u3002<br \/>\n\u3000\u3068\u308a\u3042\u3048\u305a\u6587\u4e2d\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306b\u5831\u544a\u306f\u3057\u3068\u3044\u305f\u3051\u3069\u3001\u6328\u62f6\u3068\u304b\u3081\u3093\u3069\u304f\u305b\u30fc\u304b\u3089\u3053\u3053\u3060\u3051\u5207\u308a\u53d6\u3063\u3066\u4ed6\u306f\u4f55\u3082\u7121\u3057\u3060\u3063\u305f\u304b\u3089\u304b\u8fd4\u4e8b\u3082\u6765\u306a\u304b\u3063\u305f\u3002\u3046\u3080\u3002<\/p>\n<p>\u3000\u3067\u3001\u305d\u306e\u5f8c\u3082\u6bce\u56de\u3053\u308c\u304c\u767a\u751f\u3059\u308b\u3093\u3067\u3001\u3082\u3057\u3082\u30ec\u30a2\u306a\u30d0\u30b0\u3068\u304b\u3060\u3068\u653e\u7f6e\u3055\u308c\u305d\u3046\u3067\u5acc\u3060\u306a\u3042\u3001\u3068\u601d\u3063\u3066\u30bd\u30fc\u30b9\u3092\u8aad\u3093\u3067\u307f\u305f\u3002<br \/>\n\u3000\u3075\u3080\u3002<code>S3\/S3.py<\/code>\u304c\u554f\u984c\u307f\u305f\u3044\u3060\u306a\u3002<\/p>\n<pre class=\"brush: python\">        response[\"speed\"] = 0 # XXX\r\n        response[\"size\"] = size<\/pre>\n<p>\u3063\u3066\u306a\u3063\u3066\u308b\u3051\u3069\u3001elapsed\u3063\u3066\u306e\u3082\u5fc5\u8981\u306a\u3093\u3060\u305c\u3002\u3042\u3068\u3053\u308c\u3001speed\u3063\u3066\u30c0\u30df\u30fc\u3060\u3088\u306a\u3002\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u901f\u5ea6\u3092\u8868\u793a\u3059\u308b\u70ba\u3060\u3051\u3063\u307d\u3044\u304b\u3089\u3001\u03b2\u7248\u306a\u3093\u3067\u30c0\u30df\u30fc\u3067\u6f70\u3057\u3066\u308b\u3093\u3060\u308d\u3046\u3002\u306a\u3089elapsed\u3082\u30c0\u30df\u30fc\u3067\u826f\u304b\u308d\u3046\uff1f<\/p>\n<pre class=\"brush: python\">        response[\"speed\"] = 0 # XXX\r\n        response[\"elapsed\"] = 0 # XXX\r\n        response[\"size\"] = size<\/pre>\n<p>\u3053\u3093\u306a\u98a8\u306b\u3002<br \/>\n\u3000\u3064\u3044\u3067\u306b\u7d30\u304b\u3044\u597d\u307f\u306e\u8a71\u3060\u3051\u3069\u3001\u30a4\u30f3\u30e9\u30a4\u30f3\u30b3\u30e1\u30f3\u30c8\u306e\u524d\u306b\u306f\u672c\u5f53\u306a\u3089\u30b9\u30da\u30fc\u30b9\u4e8c\u500b\u306f\u6b32\u3057\u3044\u306a\u3042\u3001\u3068\u304b\u3002<\/p>\n<p>\u3000\u3067\u3001\u6b21\u306ecron\u767a\u52d5\u307e\u3067\u653e\u7f6e\u3057\u3066\u305f\u3089\u7121\u4e8b\u52d5\u3044\u305f\u3002\u3081\u3067\u305f\u3057\u3002<br \/>\n\u3000\u4f5c\u8005\u306a\u3089\u4e00\u5ea6\u76ee\u306e\u5831\u544a\u3067\u5373\u5206\u304b\u308b\u3060\u308d\u3046\u304b\u3089\u3001\u8ffd\u52a0\u5831\u544a\u3082\u3057\u306a\u304b\u3063\u305f\u3002\u6b21\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u76f4\u3063\u3066\u306a\u304b\u3063\u305f\u3089\u5831\u544a\u3060\u306a\u3002<\/p>\n<p>\u3000\u3093\u3067\u3082\u3063\u3066\u3001\u4eca\u6708\u672b\u306b\u3044\u3088\u3044\u3088AWS\u306e\u7121\u6599\u67a0\u3082\u7d42\u308f\u308b\u3093\u3060\u3051\u3069\u3001\u3069\u3046\u305b\u9001\u4fe1\u524d\u306b\u6697\u53f7\u5316\u3057\u3066\u308b\u3093\u3060\u3057\u3001\u540c\u671f\u578b\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30fc\u30d3\u30b9\u306b\u4e57\u308a\u63db\u3048\u305f\u65b9\u304c\u5b89\u304f\u3066\u624b\u8efd\u306a\u30b1\u30fc\u30b9\u3082\u3042\u308b\u304b\u3082\u306a\u3042\u3002\u3046\u30fc\u3080\u3002\u3064\u3063\u3066\u3082\u30b5\u30fc\u30d0\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u660e\u78ba\u306b\u9078\u3073\u305f\u3044\u304b\u3089\u3001\u5f53\u521d\u306e\u76ee\u7684\u3092\u8003\u3048\u308c\u3070S3\u304b\u306a\u3042\u2026\u3002\u6771\u4eac\u304c\u5730\u9707\u3068\u304b\u3067\u30a2\u30ec\u3067\u3082\u30c7\u30fc\u30bf\u306f\u6b8b\u308b\u3088\u3046\u306b\u3001\u3063\u3066\u5974\u3002\u305f\u3060\u3001\u305d\u3053\u307e\u3067\u4e8b\u304c\u5927\u304d\u304f\u306a\u308b\u3068\u3001\u6d77\u5916\u3068\u306e\u63a5\u7d9a\u306b\u304b\u306a\u308a\u554f\u984c\u304c\u51fa\u305d\u3046\u3002\u307e\u30fc\u3001\u5373\u6642\u5fa9\u65e7\u3092\u3001\u3063\u3066\u4e8b\u696d\u3058\u3083\u306a\u3044\u304b\u3089\u305d\u3053\u306f\u3044\u3044\u304b\u3002\u3069\u3063\u304b\u306b\u30c7\u30fc\u30bf\u6b8b\u3063\u3066\u308a\u3083\u3044\u3044\u3093\u3060\u3088\u7cfb\u3002<br \/>\n\u3000\u3067\u3082\u3001\u305d\u3046\u8003\u3048\u308b\u3068\u3001\u6d77\u5916\u306b\u98db\u3070\u3059\u3088\u308a\u3082\u5927\u962a\u3068\u304b\u5317\u6d77\u9053\u3068\u304b\u306b\u3059\u308b\u306e\u304c\u5b9f\u306f\u3044\u3044\u3093\u304b\u3082\u306a\u3042\u2026\u3002\u3055\u304f\u3089\u81ed\u306e\u3059\u308b\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u306a\uff08\u7b11\uff09\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u524d\u306b\u3082\u66f8\u3044\u305f\u3051\u3069\u3001tar\u3092gpg\u306b\u30d1\u30a4\u30d7\u3057\u305f\u5974\u3092ssh\u3067\u30ea\u30e2\u30db\u306b\u30b3\u30d4\u30fc\u3057\u3066\u3001\u30ea\u30e2\u30db\u5074\u3067s3cmd\u3067Amazon S3\u306b\u4e0a\u3052\u3055\u305b\u308b\u3001\u3068\u304b\u3084\u3063\u3066\u3044\u308b\u8a33\u3067\u3059\u3088\u3002 \u3000\u3067\u30015GB\u3092\u8d85\u3048\u305f\u3089\u3001\u30de\u30eb\u30c1\u30d1\u30fc\u30c8\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u5fc5\u8981\u306a\u306e\u306a\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/posts\/4153"}],"collection":[{"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/comments?post=4153"}],"version-history":[{"count":8,"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/posts\/4153\/revisions"}],"predecessor-version":[{"id":4186,"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/posts\/4153\/revisions\/4186"}],"wp:attachment":[{"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/media?parent=4153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/categories?post=4153"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mk.miko.jp\/blog\/wp-json\/wp\/v2\/tags?post=4153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}