{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/b71895308149c5349d76f5243412668b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b71895308149c5349d76f5243412668b","url":"https://api.github.com/users/baastrup","login":"baastrup","id":1021435},"milestone":null,"labels":[],"updated_at":"2011-11-06T20:12:07Z","assignee":null,"comments":2,"closed_at":null,"url":"https://api.github.com/repos/sebastianw/gallery2picasa/issues/8","body":"Im still getting the following error with the newst script, seems to bee if there is more that on too large file in a row\r\n\r\nGoogle error: Entity too large!\r\n        CREATING Item [F:Billede 127.avi] [T:Billede 127] [S:Billede 127] [K:]\r\n        CREATING Item [F:MVI_0509.avi] [T:MVI_0509] [S:MVI_0509] [K:]\r\nGoogle error: Entity too large!\r\n        CREATING Item [F:MVI_0512.avi] [T:MVI_0512] [S:MVI_0512] [K:]\r\n        CREATING Item [F:MVI_0589.avi] [T:MVI_0589] [S:MVI_0589] [K:]\r\n        CREATING Item [F:MVI_0591.avi] [T:MVI_0591] [S:MVI_0591] [K:]\r\nGoogle error: Entity too large!\r\n        CREATING Item [F:MVI_0592.avi] [T:MVI_0592] [S:MVI_0592] [K:]\r\n        CREATING Item [F:MVI_0593.avi] [T:MVI_0593] [S:MVI_0593] [K:]\r\nGoogle error: Entity too large!\r\n        CREATING Item [F:Nyt01_10 014.avi] [T:Nyt01.10 014] [S:Nyt01.10 014] [K:]\r\nTraceback (most recent call last):\r\n  File \"./gallery2picasa.py\", line 225, in <module>\r\n    main(sys.argv)\r\n  File \"./gallery2picasa.py\", line 197, in main\r\n    summary, filename, keywords=keywords, content_type=filetype)\r\n  File \"/usr/lib/pymodules/python2.6/gdata/photos/service.py\", line 470, in InsertPhotoSimple\r\n    content_type)\r\n  File \"/usr/lib/pymodules/python2.6/gdata/photos/service.py\", line 426, in InsertPhoto\r\n    converter=gdata.photos.PhotoEntryFromString)\r\n  File \"/usr/lib/pymodules/python2.6/gdata/service.py\", line 1235, in Post\r\n    media_source=media_source, converter=converter)\r\n  File \"/usr/lib/pymodules/python2.6/gdata/service.py\", line 1302, in PostOrPut\r\n    multipart[2]], headers=extra_headers, url_params=url_params)\r\n  File \"/usr/lib/pymodules/python2.6/atom/__init__.py\", line 92, in optional_warn_function\r\n    return f(*args, **kwargs)\r\n  File \"/usr/lib/pymodules/python2.6/atom/service.py\", line 185, in request\r\n    data=data, headers=all_headers)\r\n  File \"/usr/lib/pymodules/python2.6/gdata/auth.py\", line 725, in perform_request\r\n    return http_client.request(operation, url, data=data, headers=headers)\r\n  File \"/usr/lib/pymodules/python2.6/atom/http.py\", line 169, in request\r\n    _send_data_part(data_part, connection)\r\n  File \"/usr/lib/pymodules/python2.6/atom/http.py\", line 358, in _send_data_part\r\n    connection.send(binarydata)\r\n  File \"/usr/lib/python2.6/httplib.py\", line 743, in send\r\n    self.sock.sendall(str)\r\n  File \"/usr/lib/python2.6/ssl.py\", line 203, in sendall\r\n    v = self.send(data[count:])\r\n  File \"/usr/lib/python2.6/ssl.py\", line 94, in <lambda>\r\n    self.send = lambda data, flags=0: SSLSocket.send(self, data, flags)\r\n  File \"/usr/lib/python2.6/ssl.py\", line 174, in send\r\n    v = self._sslobj.write(data)\r\nsocket.error: [Errno 32] Broken pipe\r\n","html_url":"https://github.com/sebastianw/gallery2picasa/issues/8","number":8,"title":"Google error: Entity too large!","id":2087346,"created_at":"2011-10-29T15:39:42Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/da439e41bbfcd209ddd1626a7e56a4e1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"da439e41bbfcd209ddd1626a7e56a4e1","url":"https://api.github.com/users/sebastianw","login":"sebastianw","id":504962},"updated_at":"2011-11-06T20:12:07Z","url":"https://api.github.com/repos/sebastianw/gallery2picasa/issues/comments/2647377","body":"That's an error from the socket, it seems that the connection is dropped. It could be some sort of DoS prevention from Google. I think you would have to exclude the bigger videos and try the upload without them.","id":2647377,"created_at":"2011-11-06T20:12:07Z"}}