Bug 435384

Summary: Export crash to google photos
Product: [Applications] digikam Reporter: alain.pouchard1410
Component: Plugin-WebService-GoogleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 8.0.0
Sentry Crash Report:
Attachments: Plantage.LOG
attachment-16868-0.html
npfbanlihflfkefh.png
EXPORT FIN OK.LOG

Description alain.pouchard1410 2021-04-05 13:02:32 UTC
As in the other versions, the connection to the Google account is extremely long and as the google connection has to be redone for each export, it is difficult.
In addition, the size reduction exploration (I only use this method) crashes. We have the impression that each photo is processed but in fact not. At the end of the export, it crashes. We end up closing the window and there we have "export in progress" ... but that does not matter. I made several attempts without success
Comment 1 caulier.gilles 2021-04-05 15:12:07 UTC
Can you give us the console trace from M$ DebugView tool as explained here :

https://www.digikam.org/contribute/

This page also explain how to get the crash log under Windows.

Gilles Caulier
Comment 2 alain.pouchard1410 2021-04-05 17:48:20 UTC
Created attachment 137351 [details]
Plantage.LOG

Hello I made small exports without problem. Obviously the crash occurs 
beyond a certain number, the hundred I think. I don't see the crash in 
the log but I imagine you will know. cordially Alain Pouchard



Bonjour

J'ai fait de petites exportations sans problème. Visiblement le plantage 
intervient au delà d'un certain nombre, la centaine je pense.

Je ne vois pas le plantage dans la log mais j'imagine que vous allez savoir.

Cordialement

Alain Pouchard

Le 05/04/2021 à 17:12, bugzilla_noreply@kde.org a écrit :
> https://bugs.kde.org/show_bug.cgi?id=435384
>
> caulier.gilles@gmail.com changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |caulier.gilles@gmail.com
>
> --- Comment #1 from caulier.gilles@gmail.com ---
> Can you give us the console trace from M$ DebugView tool as explained here :
>
> https://www.digikam.org/contribute/
>
> This page also explain how to get the crash log under Windows.
>
> Gilles Caulier
>
Comment 3 alain.pouchard1410 2021-04-05 18:17:48 UTC
Created attachment 137352 [details]
attachment-16868-0.html

Hello, for info, I tested a send to google photos of 140 photos. At the 
end, we have 140/140, when we move the window we realize that the 
transfer is still going on. For this number of photos, it may take time. 
The export window emptied and I clicked "closed". I was only 45% of the 
transfer. It seems that you have to be patient but nothing on the export 
window to know that it is not finished. I may have caused the crashes 
without knowing it. Kind regards


Le 05/04/2021 à 17:12, bugzilla_noreply@kde.org a écrit :
> https://bugs.kde.org/show_bug.cgi?id=435384
>
> caulier.gilles@gmail.com changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |caulier.gilles@gmail.com
>
> --- Comment #1 from caulier.gilles@gmail.com ---
> Can you give us the console trace from M$ DebugView tool as explained here :
>
> https://www.digikam.org/contribute/
>
> This page also explain how to get the crash log under Windows.
>
> Gilles Caulier
>
Comment 4 alain.pouchard1410 2021-04-05 18:17:48 UTC
Created attachment 137353 [details]
npfbanlihflfkefh.png
Comment 5 alain.pouchard1410 2021-04-05 18:48:52 UTC
Created attachment 137354 [details]
EXPORT FIN OK.LOG

Hello
A new log, there are some errors that I don't understand. I unchecked 
the option "write the identifier of the photo in the source file" and I 
did a new export. Obviously things are going better. Apart from the 
really long google login, we are close to a good functioning. For the 
log, a pity not to keep the connection until the software is closed or 
at least to ask the question "yes / no". To tell the truth, I don't know 
if I am explaining myself correctly. I'm in my "thing" and can't be 
specific enough. cordially



Le 05/04/2021 à 17:12, bugzilla_noreply@kde.org a écrit :
> https://bugs.kde.org/show_bug.cgi?id=435384
>
> caulier.gilles@gmail.com changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |caulier.gilles@gmail.com
>
> --- Comment #1 from caulier.gilles@gmail.com ---
> Can you give us the console trace from M$ DebugView tool as explained here :
>
> https://www.digikam.org/contribute/
>
> This page also explain how to get the crash log under Windows.
>
> Gilles Caulier
>
Comment 6 Maik Qualmann 2022-06-20 17:10:35 UTC
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 415365, bug 396671, bug 419956, 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