After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726058 - Picasa videos do not upload
Picasa videos do not upload
Status: RESOLVED OBSOLETE
Product: shotwell
Classification: Other
Component: web-sharing
0.15.0
Other Linux
: Normal normal
: ---
Assigned To: Shotwell Maintainers
Shotwell Maintainers
: 730323 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-03-10 19:49 UTC by johndcarmack
Modified: 2019-01-22 10:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description johndcarmack 2014-03-10 19:49:28 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.
Comment 1 g11024342@trbvm.com 2014-05-18 12:00:50 UTC
Maximum file size to upload is 104857600 bytes, make sure you only try to upload files smaller than that.
Comment 2 johndcarmack 2014-05-18 14:47:25 UTC
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).
Comment 3 g11024342@trbvm.com 2014-05-18 20:17:22 UTC
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
Comment 4 Jim Nelson 2014-05-19 19:42:59 UTC
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.
Comment 5 g11024342@trbvm.com 2014-05-19 19:50:04 UTC
Jim, is there any other way to use the G+/Picasa API? Since they state that the maximum file size is 1GB, not 100MB?
Comment 6 Jim Nelson 2014-05-19 21:20:39 UTC
I'm unaware of any alternate API to use.
Comment 7 johndcarmack 2014-05-19 22:20:14 UTC
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.
Comment 8 johndcarmack 2014-05-20 01:20:32 UTC
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
Comment 9 johndcarmack 2014-05-20 21:25:08 UTC
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.
Comment 10 Jim Nelson 2014-05-21 18:29:19 UTC
*** Bug 730323 has been marked as a duplicate of this bug. ***
Comment 11 Jim Nelson 2014-05-21 18:34:28 UTC
(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.
Comment 12 Jim Nelson 2014-05-21 18:35:58 UTC
What type of videos are you uploading?  What is their extension?
Comment 13 johndcarmack 2014-05-21 21:28:21 UTC
It occurs with MPG and WMV alike.
Comment 14 g11024342@trbvm.com 2014-05-23 08:46:05 UTC
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.
Comment 15 Jim Nelson 2014-09-25 19:05:03 UTC
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