Bug 376913

Summary: can't create a new album in picasa/googlephoto
Product: [Applications] digikam Reporter: Philippe ROUBACH <philippe.roubach>
Component: Plugin-WebService-GoogleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aegoreev, aspotashev, caulier.gilles, compdave7681, dinhthanhtrung1996, edelzak, metzpinguin, roger.foss
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 6.1.0
Sentry Crash Report:
Attachments: error creating an album

Description Philippe ROUBACH 2017-02-25 12:19:30 UTC
Created attachment 104213 [details]
error creating an album

opensuse 42.2 x86_64
digikam 5.4.0

KDE Frameworks 5.26.0
Qt 5.6.1 (built against 5.6.1)
The xcb windowing system

i want to export photos to google photo
i fill the template
then
ok
then
i get an error . see the capture
Comment 1 caulier.gilles 2017-02-25 12:51:10 UTC
Google API has changed again... to a new version... Thanks Google. code from plugin need to be ported...

Gilles Caulier
Comment 2 Maik Qualmann 2017-02-25 13:52:35 UTC
I have already spent time on this problem. Nothing can be ported. The required functions are no longer available in the Google Picasa API. The available LR plugin is also affected. Read this threads as example:

https://developers.google.com/picasa-web/forum

Thanks Google for it!

Maik
Comment 3 caulier.gilles 2017-02-25 16:01:06 UTC
Maik, 

I suppose that it's the expected way about PICASA, as GPhoto replace it step by step.

Is GPhoto and GDrive are also affected by these changes ?

Gilles Caulier
Comment 4 Maik Qualmann 2017-02-25 17:33:16 UTC
The API for GPhoto is the same for Picasa. There is only the API which now has fewer functions. GDrive is not affected.

Available functions are:
- list albums
- list images
- upload new images / videos to existing albums

Removed functions are:
- create albums
- comments, tags are ignored, except GEO information
- updating a image removed
- delete a image removed

Maik
Comment 5 caulier.gilles 2017-02-25 17:56:35 UTC
Incredible...

Do you know why Google drop these functions ? It's an error, or new ones will replace in the future ?

Or Google is in silent mode ?

Gilles
Comment 6 Maik Qualmann 2017-02-26 09:03:43 UTC
Here is a response from the Picasa Team from the forum. There are many questions, but no direct answer as the future looks. I will hide all functions in the GPhoto plugin that are currently not working. We can only wait as Google decides.

Maik

---------------------------------
Hey all,

The v3 API changes are being rolled out and many of the old Picasa Web features are being removed, as  you mentioned. 

https://developers.google.com/picasa-web/docs/3.0/releasenotes

Unfortunately, the v3 API doesn't add new Google Photos features or support. For now we don't plan on adding support for all of the Google Photos features in the Picasa Web API.

See "How is the Picasa Web Albums Data API related to Google Photos?"
https://developers.google.com/picasa-web/faq

As the v3 changes are rolling out, we're actively looking for situations where functionality that we aren't planning to turn down is impacted. Expect replies on some of the other threads on this forum soon.

The Picasa Team
---------------------------------
Comment 7 Maik Qualmann 2017-02-26 10:25:32 UTC
Git commit f1f3c15931dbc6b8e05451ba23508debac202d96 by Maik Qualmann.
Committed on 26/02/2017 at 10:24.
Pushed by mqualmann into branch 'master'.

hide functions that are no longer available in the current Google Data API V3

M  +2    -0    googleservices/gswidget.cpp

https://commits.kde.org/kipi-plugins/f1f3c15931dbc6b8e05451ba23508debac202d96
Comment 8 caulier.gilles 2017-02-27 10:36:17 UTC
*** Bug 376975 has been marked as a duplicate of this bug. ***
Comment 9 martin 2017-03-02 08:51:05 UTC
I can also confirm that we can no longer create a new album in Google Photos however we can upload to an existing album.
Secondly I can see all my previously created albums but when I now create a new album in Google Photos I cannot see or upload to that album from Digikam.

This implies that the List API is not working correctly
Comment 10 Dave 2017-03-05 04:42:51 UTC
(In reply to martin from comment #9)
I can create an album from GPhotos and see it in Upload/List... Not sure but I added two photos to the album first. Really a pain to Create Album in GPhots then upload in DK...

Again Thanks Google!!!

~Dave
Comment 11 martin 2017-03-05 09:08:35 UTC
(In reply to Dave from comment #10)
Thanks. 
I had a strange situation. The album I had created in GPhoto was not visible but I think that is a different problem. I have since also created an album  in Gphoto then uploaded from DigiKam. Have also repeated on another computer with another account successfully.

martin
Comment 13 Maik Qualmann 2017-05-25 18:45:54 UTC
*** Bug 380196 has been marked as a duplicate of this bug. ***
Comment 14 Andrius 2017-07-14 21:26:03 UTC
+1 on this one. digiKam 5.7.0 appimage
First of all, the plugin shows only some albums not all of them.
Secondly, there is no way to create a new album or upload to no album (camera roll)
Comment 15 caulier.gilles 2018-06-16 12:39:06 UTC
Thanh,

This file still valid with your GSoC 2018 devel branch ?

Best

Gilles Caulier
Comment 16 Thanh Trung Dinh 2018-06-16 14:42:52 UTC
Gilles,

The situation now is a little bit stranger when I port code from Picasa API v3 to Google Photos. So

Available functions:
- list album
- list photos
- create album
- upload new images/videos to albums created by digiKam

Not available functions:
- upload images to ablums created on Google Photos
- update images
- delete images
- comments, tags

However, I don't know how new functions affect user with account on Picasa web.

Thanh.
Comment 17 Philippe ROUBACH 2019-02-28 12:09:56 UTC
no more problem with 6.0