Bug 383174 - google photo, export stops after a random quantity of photos
Summary: google photo, export stops after a random quantity of photos
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (show other bugs)
Version: 5.9.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-05 17:19 UTC by Philippe ROUBACH
Modified: 2018-08-14 16:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe ROUBACH 2017-08-05 17:19:27 UTC
I select 243 photos
then
I start the export to a new album
after 58 photos no more photos are added to the google photo album
but
the export plugin keep exporting photos!
Counter keeps increasing then reaches 243.

All is OK for the export plugin but there is only 58 photos in google photos.

Then
I relaunch the export
then same phenomenon. No more photos in the album after 28 photos.

Also, transfer is very slow.
Comment 1 caulier.gilles 2018-06-16 12:39:20 UTC
Thanh,

This file still valid with your GSoC 2018 devel branch ?

Best

Gilles Caulier
Comment 2 Philippe ROUBACH 2018-07-04 13:07:30 UTC
kde app 18.04.2
kde framework 5.47.0
plasma 5.13.2
digikam 5.9.0

problem still there

stops after about 60 uploaded photos among about 200
or
says all photos (167) are uploaded but no one appears at google photo
Comment 3 caulier.gilles 2018-07-04 13:50:27 UTC
Hi Philippe,

Probably this problem is fixed in Thanh devel branch, planed to be merged in master for 6.0.0 release.

Thanh, can you confirm if the problem still here with your code ?

Best

Gilles Caulier
Comment 4 Thanh Trung Dinh 2018-07-04 14:52:42 UTC
Hi,

I think it's a problem of Google API quota. I will find a way to work around.

Thanh
Comment 5 Thanh Trung Dinh 2018-07-05 22:52:03 UTC
Hi,

I found a way to work around. I don't have too many images to test, but I think that this bug will be fixed in 6.0.0.

Thanh.
Comment 6 caulier.gilles 2018-08-14 14:57:22 UTC
Thanh,

This will fix also bug #396671 ?

Gilles
Comment 7 Thanh Trung Dinh 2018-08-14 16:57:00 UTC
Gilles,

I don't think that 2 bugs are about the same thing. This bug is about upload limit, which is 50 photos. I solved it by calling API several times if uploading more than 50 photos. Bug #396671 is about download limit, which is 100 by default (up to 500). So, I can try to solve that bug in the same way. 

However, there is a quota of 2500 API calls per day and that is what I am worried about. Solving these bugs leads to increase in API call and if the quota is exceeded, it will be impossible to use Goolge Photos APIs anymore, even those used for authentication and even from other users. Hence, these solutions above should be really considered.

Best,

Thanh