Created attachment 127447 [details] Description of operation and error Thank you very much for your progress which in my opinion is perfectly suited. I had an error message after several successive transfers (see my attached file). There may be a limit to the number of photos transferred in the same window Thank you very much
Did it take more than an hour to upload the failed export? Maik
*** Bug 421986 has been marked as a duplicate of this bug. ***
You haven't answered my question from comment 1 yet. We cannot help if we cannot reproduce it and questions are not answered. Maik
Hi Maik, I got this error message too: Error transferring https://photoslibrary.googleapis.com/v1/mediaItems:batchCreate - server replied: Bad Request Uploaded only 16 pics and it took only a view seconds. I uploads and fails at the end. Album is empty after that action in Google Photos. Restarting digikam did not help. After experimenting a while it happens also if I upload only one picture. If I choose another picture it works. The difference is the picture caption. In this case I had ,3,-5 FN=0 FB = 0 outdoor = 1 ISO = 50.000000 exp=10.000000 return = 0 FM0 CR0.51 FC101111101: bfalic 1211X:zzzzzH87020gzzzzzz0 d e9 007804385f03184502ee1040 92417e389 0 029d 2528c 0 0 0 0 0 0 0 028ca1e0a1ac 179 1276a1a1a190 179 1260a1c1a1b9 178 124aa1dba1e2 178 1234a1d9a1fa 177 121ea1cba213 176 1208a19aa1ff 177 1234a156a1bf 277 123fa1bba221 276 124aa1d0a21e 276 1255a1e6a215 276 1260a1f2a206 276 1255a1f7a1f6 377 12851c85c 2595e5e 05e 0 b 04f 0 b 7 7 7 6 8 9 7 a4445787446515d4e3d3f a b2529 d e 9 b2330 b b211a5e4e3c433c2c3e432320101021271e1e b b d b1311 c c138e1388138813881388138813881388138913881388138813881388138813881388138813881388138e1388138813881388138813881388138d138813881388138b1388138813881614138813881388161413881388138816141388138813881590138813881388159013881388138815bc1388138813881389138813881388138813881388138815a613881388138815d21388138813881389138813881388138813881388138813931388138813881388138813881388138813881388138813b013881388138813881388138813881388138813881388138813881388138813881388138813881388138813881388138813881388138813881388138813881388138813881388138813881388138813881388138813881388138813881388 Produced by my smartphone camera app. If I delete this caption, upload works ...
Can you please send me an image with this caption? Maik
Thank you for the test image. I can upload the image to Google Photos without any problems. The image contains a binary caption/comment and is output by Exiv2 as a "binary comment" (bug 422240). Maik
I just downloaded the picture from my email and imported it to digikam again. Same issue: Error transferring https://photoslibrary.googleapis.com/v1/mediaItems:batchCreate - server replied: Bad Request I use digikam 7.0.0-rc May 29 2020 MacOS 10.15.4 KDE Frameworks 5.70.0 Qt 5.14.2 (built against 5.14.2) The cocoa windowing system
You're not trying to upload to an album locked for digiKam (lock icon instead of folder icon)? Maik
No, I see the folder icon. It is not locked. Using the Image Editor changes the caption/comment to "binary comment" and upload works. I do not understand why it works for you and does not on my system. Updated to latest digikam also.
Ok, that's interesting. I tested it with the Windows version this afternoon. There Exiv2 decodes it as a "binary comment". Here on Linux, the content is displayed as text and hex numbers. And the upload fails. Either some characters break the encoding, or the content is too long for Google. I have a look at it. Maik
Maybe this bug is different from Alains ...
Git commit d209aa4627e77b8c0edc72e1094d023af20f614c by Maik Qualmann. Committed on 08/06/2020 at 19:00. Pushed by mqualmann into branch 'master'. limit the Google Photos title to 1000 characters M +1 -0 core/dplugins/generic/webservices/google/gswindow.cpp https://invent.kde.org/graphics/digikam/commit/d209aa4627e77b8c0edc72e1094d023af20f614c
Ok, this fixes at least my problem ... Thanks a lot Maik!
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. Thanks in advance Gilles Caulier
*** Bug 435573 has been marked as a duplicate of this bug. ***
Hello, indeed there was well duplicate. Sorry I hadn't found it. In addition to information, I manage to pass a lot of photos before the bug. I tried to attach a fairly long log file. I am available to you if you want me to redo a log file. I will have to find out how to respond in the bug description, for now I do not know. Thank you. Kind regards Le 10/04/2021 à 16:06, Maik Qualmann a écrit : > https://bugs.kde.org/show_bug.cgi?id=419956 > > --- Comment #15 from Maik Qualmann <metzpinguin@gmail.com> --- > *** Bug 435573 has been marked as a duplicate of this bug. *** >
Hello, indeed there was well duplicate. Sorry I hadn't found it. In addition to information, I manage to pass a lot of photos before the bug. I tried to attach a fairly long log file. I am available to you if you want me to redo a log file. I will have to find out how to respond in the bug description, for now I do not know. Thank you. Kind regards
Git commit 979c3f318fea3d4b14d525c2d45d10f801beccd9 by Maik Qualmann. Committed on 20/06/2022 at 17:09. Pushed by mqualmann into branch 'master'. port Google Export Tool to QOAuth2AuthorizationCodeFlow Related: bug 440156, bug 435384, bug 415365, bug 396671, bug 411521 FIXED-IN: 8.0.0 M +3 -1 NEWS M +2 -1 core/cmake/macros/MacroDPlugins.cmake M +1 -0 core/cmake/rules/RulesQtFramework.cmake M +2 -1 core/dplugins/generic/webservices/google/CMakeLists.txt M +11 -31 core/dplugins/generic/webservices/google/gdrive/gdtalker.cpp M +35 -63 core/dplugins/generic/webservices/google/gphoto/gptalker.cpp M +77 -83 core/dplugins/generic/webservices/google/gstalkerbase.cpp M +8 -9 core/dplugins/generic/webservices/google/gstalkerbase.h M +44 -1 core/libs/dplugins/webservices/wstoolutils.cpp M +10 -0 core/libs/dplugins/webservices/wstoolutils.h https://invent.kde.org/graphics/digikam/commit/979c3f318fea3d4b14d525c2d45d10f801beccd9
Fixed with commit from comment #18