GNOME Bugzilla – Bug 726058
Picasa videos do not upload
Last modified: 2019-01-22 10:33:59 UTC
I'm new to Shotwell, and I was using it to upload images and videos to Picasa. The first couple went fine, but then I tried to upload a very large folder, and it stalled and eventually timed out. I figured it was the size, but it did this even when breaking it up into segments. That's when I figured out it was hanging on uploading videos. I even tried single videos, and it would sit there spinning its wheels for long periods of time. I went to Picasa web, and I was able to upload them that way. Of course, if I'm going to have to do that, then Shotwell is just an extra step along the way.
Maximum file size to upload is 104857600 bytes, make sure you only try to upload files smaller than that.
So, it's 100MB? Why that size? The Google limitation is touted as 1GB. When I import those same videos, some of which are 114MB, into PicasaWeb, they don't seem to be counting against my file quota, either (unless there is some trickery going on).
You can see this in the shotwell log: L 14086 2014-05-18 14:21:41 [WRN] RESTSupport.vala:164: Publishing error: Service http://picasaweb.google.com/data/feed/api/user/xxxx/albumid/xxxx returned HTTP status code 413 Request Entity Too Large L 14086 2014-05-18 14:21:41 [WRN] RESTSupport.vala:165: response validation failed. bad response = 'Video file size exceeds 104857600'. There is where I got that number from. Maybe the API is used in a wrong way? The limit should be 1GB - https://support.google.com/picasa/answer/55990?hl=en
John, Thomas is referring to bug #730323, which is quite possibly a duplicate of this bug. Looking at Thomas' log file there, it does appear Picasa has returned an error due to a hard limit of 100MB. In addition, Shotwell's error-handling is causing problems. Tou can try running Shotwell like this from the terminal: $ SHOTWELL_LOG=1 SHOTWELL_LOG_FILE=:console: shotwell and look for server error messages.
Jim, is there any other way to use the G+/Picasa API? Since they state that the maximum file size is 1GB, not 100MB?
I'm unaware of any alternate API to use.
OK, but realize that this report was started a couple of months ago, and I've reinstalled Ubuntu at least once in between then and now. I have to set Shotwell back up. It's indexing the local images right now. Still, my questions are: 1. Is it Google returning that code? Are you asking me to do this to confirm that? 2. If so, why is it limited to 100MB whereas the PicasaWeb interface is 1GB? That's a ten times difference, after all.
OK, well I guess I won't be able to test this for a while anyhow. See https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1299645
OK, I got that particular problem resolved, and now I see the same: L 29050 2014-05-20 17:23:03 [DBG] PicasaPublishing.vala:240: EVENT: uploader reports upload 100.00 percent complete. L 29050 2014-05-20 17:23:08 [WRN] RESTSupport.vala:164: Publishing error: Service http://picasaweb.google.com/data/feed/api/user/110152004767362325301/albumid/6015615932253028385 returned HTTP status code 413 Request Entity Too Large L 29050 2014-05-20 17:23:08 [WRN] RESTSupport.vala:165: response validation failed. bad response = 'Video file size exceeds 104857600'. L 29050 2014-05-20 17:23:08 [DBG] PicasaPublishing.vala:265: EVENT: uploader reports upload error = 'Service http://picasaweb.google.com/data/feed/api/user/110152004767362325301/albumid/6015615932253028385 returned HTTP status code 413 Request Entity Too Large'. The problem is, that same video was already uploaded through the web interface! The error doesn't make any sense in reality. It should take videos up to 1GB.
*** Bug 730323 has been marked as a duplicate of this bug. ***
(In reply to comment #9) > The problem is, that same video was already uploaded through the web interface! > The error doesn't make any sense in reality. It should take videos up to 1GB. The web interface is not necessarily the same as the GData interface clients have to use; Google may have set some limitation we're unaware of.
What type of videos are you uploading? What is their extension?
It occurs with MPG and WMV alike.
For me, it has happened with mp4-files. A suggestion for how to deal with this. For the maximum file size, don't even try to upload a video that is above that limit. If the user has selected X number of videos and Y is >100MB, then prompt the user that Y will be skipped due to file size. And for this problem: returned HTTP status code 500 Internal Server Error L 14086 2014-05-18 12:26:50 [WRN] RESTSupport.vala:165: response validation failed. bad response = 'Internal Error'. Shotwell could prompt the user to either retry, skip or cancel. and for this: returned HTTP status code 403 Forbidden L 14086 2014-05-18 13:05:20 [WRN] RESTSupport.vala:165: response validation failed. bad response = 'Token invalid - Invalid token: Token not found'. a re-login is required, so do that process again and then continue uploading again.
It looks like Google has a separate API for uploading videos. It's still undetermined if using it will solve this problem. https://developers.google.com/+/domains/api/media/insert