Summary: | Export to google photo in an existing album: bad request | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Dav <davm6101> |
Component: | Plugin-WebService-Google | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, dariopnc, ilgaz, jon33040, matkam, metzpinguin, openkartat, philippe.roubach |
Priority: | NOR | ||
Version: | 6.2.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=472494 | ||
Latest Commit: | Version Fixed In: | 7.5.0 | |
Sentry Crash Report: | |||
Attachments: |
Screenshot of the error displayed
Screenshot showing failure with newly created album |
Description
Dav
2018-10-23 09:01:13 UTC
Git commit dda0dddf7e0f635419bdce03794d5ae21ae79a1d by Maik Qualmann. Committed on 24/10/2018 at 19:58. Pushed by mqualmann into branch 'master'. show locked folder icon if digiKam does not have write access to the album M +1 -0 core/utilities/assistants/webservices/google/gphoto/gptalker.cpp M +5 -5 core/utilities/assistants/webservices/google/gsitem.h M +13 -13 core/utilities/assistants/webservices/google/gswindow.cpp https://commits.kde.org/digikam/dda0dddf7e0f635419bdce03794d5ae21ae79a1d That we only have access to albums at the moment that have been created by digiKam and not on other albums is a Google bug: https://issuetracker.google.com/issues/79497397 Maik And the feature request: https://issuetracker.google.com/issues/110692941 Maik Hello Maik, Ok I understand. Can we imagine having listed only the digikam albums were we can upload pictures? Or having a more explicit error message? Regards *** Bug 404900 has been marked as a duplicate of this bug. *** (In reply to Maik Qualmann from comment #2) > That we only have access to albums at the moment that have been created by > digiKam and not on other albums is a Google bug: > > https://issuetracker.google.com/issues/79497397 > > Maik i created by digikam almost 90 % of my albums, and they are locked. perhaps because i created them in picasa site Right, the old albums were created using the Picasa API, which has now been turned off. The new Google Photo API has been greatly reduced in functionality and is currently unable to upload photos to existing albums. As I said, is a Google bug or feature, the forum slowly fills up from Google. Maik I'm now getting bad request with albums created by digikam - ones with the icon indicating this. If the albums were created with digiKam < 6.0.0 (old PicasaWeb API) it is no longer possible to upload images there. As I said, this is a Google problem... Maik (In reply to Maik Qualmann from comment #9) > If the albums were created with digiKam < 6.0.0 (old PicasaWeb API) it is no > longer possible to upload images there. As I said, this is a Google > problem... > > Maik These are emails created **today** with DK 6.0.0 on Windows. Created attachment 119367 [details]
Screenshot showing failure with newly created album
Tested here with digiKam-6.1.0 for Windows and Linux no problem could be reproduced. Album created and uploaded images without problems. Maik (In reply to jon33040 from comment #11) > Created attachment 119367 [details] > Screenshot showing failure with newly created album Perhaps you may try to disconnect then connect from digikam to your google account ? I just uninstalled DK, downloaded DK, reinstalled DK, disconnected f/ reconnected from/to my Google account & it still does 'bad request'. Please test with 6.2.0 pre-release bundles available here : https://files.kde.org/digikam/ Thanks in advance Gilles Caulier It's a bug or missing feature in the Google API: https://issuetracker.google.com/issues/110692941 This problem persists, so in albums has a lock icon, digiKam can not upload anything. Maik Please test with 6.2.0 pre-release bundles available here : https://files.kde.org/digikam/ Thanks in advance Gilles Caulier (In reply to caulier.gilles from comment #17) > Please test with 6.2.0 pre-release bundles available here : > > https://files.kde.org/digikam/ > > Thanks in advance > > Gilles Caulier I still cannot add photos to an existing Google Photo album with the DigiKam 6.2.0 pre-release The debug log has a base64 encoded response: unknown: reply error: QNetworkReply::NetworkError(NoError) - "Unknown error" unknown: parseResponseAddPhoto unknown: response "CAISiQMASsyg4M6MSS1cNTHJgq+4xTT8N9fbcEcglA9zicqvVc6k9+WsnNggeqa+09UuWmf7WPbJ/KfxDfnj/Y5dfBn/ReSr2l8sbmSLHZkDKgA2A5ANqMj2WcJAS4VRvUt3pXVv0E1DwYgHLJJqQUIRRC6pcSzrztxaQ5d3ezUFe/H3nqKYgL9b2Y2MvwMP6vMgTVTCHn3if7FF66cCYsXJYpljKwImZs6KZKFIpPp6Bw4g0hwhLEzSK1+JowVfHacwB9NsW1+ysD7vVkNVnvBOWy/hRUVIezLpyfNpzZD8BE1yxlQEGXLwbEyqtyAbGCrq//+26KlKP9SLGYK3MKO8Og9rjCfEAtOt0dfirCXysEspQo4qjL5CuimIMkpDic6YufG4xqiPEFCjQIdkZWRBfYwif8g4IbcsYWVNbvWJ5tAwufw5f3UpqRa1moZ0BdHn2rteeBL/JUPdkiRMHCx9xUqKtkuQEHJ9Taclf3pKt+6xNmP292cJNE/kojIxPxcDJNSRfML1YU50VMU" unknown: In slotAddPhotoSucceeded 4 unknown: in upload nextphoto 0 unknown: reply error: QNetworkReply::NetworkError(ProtocolInvalidOperationError) - "Error transferring https://photoslibrary.googleapis.com/v1/mediaItems:batchCreate - server replied: Bad Request" Decoded, it says: "No printable characters found, try another source charset, or upload your data as a file for binary decoding." Please read comment 16. This is a Google error. Maik problem still there. google photo api bug is still there. *** Bug 424363 has been marked as a duplicate of this bug. *** digiKam 7.0.0 stable release is now published: https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/ We need a fresh feedback on this file using this version. Best Regards Gilles Caulier Hi, same error is still in 7.0.0. I can only add photos to albums which is created in Digikam. Hi,(In reply to caulier.gilles from comment #23) > digiKam 7.0.0 stable release is now published: > > https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/ > > We need a fresh feedback on this file using this version. > > Best Regards > > Gilles Caulier i replicate the experiment in description. no more problem with 7.1.0 be careful problem description is different from locked albums problem. locked albums problem is about albums created during picasa web life. *** Bug 472494 has been marked as a duplicate of this bug. *** (In reply to caulier.gilles from comment #26) > *** Bug 472494 has been marked as a duplicate of this bug. *** Hello I found this bug which happened to my setup a long time ago. I know the principle, you should add own albums from Digikam so a lock icon isn't displayed. The current situation is the error is displayed _right after_ authenticating therefore no albums or sign in displayed. This issue could be different. I can try things if you need. Thanks for caring. |