sebastianw/gallery2picasa — Issue #13: Google error: Entity too large! (crash the script)
Author: baastrup
Created: 2011-11-06 12:01:02+00:00
State: open

Google error: Entity too large!
CREATING Item [F:Billede 127.avi] [T:Billede 127] [S:Billede 127] [K:]
CREATING Item [F:MVI_0509.avi] [T:MVI_0509] [S:MVI_0509] [K:]
Google error: Entity too large!
CREATING Item [F:MVI_0512.avi] [T:MVI_0512] [S:MVI_0512] [K:]
CREATING Item [F:MVI_0589.avi] [T:MVI_0589] [S:MVI_0589] [K:]
CREATING Item [F:MVI_0591.avi] [T:MVI_0591] [S:MVI_0591] [K:]
Google error: Entity too large!
CREATING Item [F:MVI_0592.avi] [T:MVI_0592] [S:MVI_0592] [K:]
CREATING Item [F:MVI_0593.avi] [T:MVI_0593] [S:MVI_0593] [K:]
Google error: Entity too large!
CREATING Item [F:Nyt01_10 014.avi] [T:Nyt01.10 014] [S:Nyt01.10 014] [K:]
Traceback (most recent call last):
File "./gallery2picasa.py", line 225, in
main(sys.argv)
File "./gallery2picasa.py", line 197, in main
summary, filename, keywords=keywords, content_type=filetype)
File "/usr/lib/pymodules/python2.6/gdata/photos/service.py", line 470, in InsertPhotoSimple
content_type)
File "/usr/lib/pymodules/python2.6/gdata/photos/service.py", line 426, in InsertPhoto
converter=gdata.photos.PhotoEntryFromString)
File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1235, in Post
media_source=media_source, converter=converter)
File "/usr/lib/pymodules/python2.6/gdata/service.py", line 1302, in PostOrPut
multipart[2]], headers=extra_headers, url_params=url_params)
File "/usr/lib/pymodules/python2.6/atom/__init__.py", line 92, in optional_warn_function
return f(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/atom/service.py", line 185, in request
data=data, headers=all_headers)
File "/usr/lib/pymodules/python2.6/gdata/auth.py", line 725, in perform_request
return http_client.request(operation, url, data=data, headers=headers)
File "/usr/lib/pymodules/python2.6/atom/http.py", line 169, in request
_send_data_part(data_part, connection)
File "/usr/lib/pymodules/python2.6/atom/http.py", line 358, in _send_data_part
connection.send(binarydata)
File "/usr/lib/python2.6/httplib.py", line 743, in send
self.sock.sendall(str)
File "/usr/lib/python2.6/ssl.py", line 203, in sendall
v = self.send(data[count:])
File "/usr/lib/python2.6/ssl.py", line 94, in
self.send = lambda data, flags=0: SSLSocket.send(self, data, flags)
File "/usr/lib/python2.6/ssl.py", line 174, in send
v = self._sslobj.write(data)
socket.error: [Errno 32] Broken pipe

It seems like if you have more video's that are too large for PWA the script crash.

it seems like google changed the limits if you signed up to google plus(video limit 15 mins)