Bug 438059 - Digikam Crash exporting a photo selection or single photo to google Drive
Summary: Digikam Crash exporting a photo selection or single photo to google Drive
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (show other bugs)
Version: 7.2.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-03 21:12 UTC by Carolina
Modified: 2022-01-13 13:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carolina 2021-06-03 21:12:11 UTC
SUMMARY

Digikam Crash exporting a  photo selection or single photo to google Drive

STEPS TO REPRODUCE
1. select a photo
2. select export to google drive
3. crush

OBSERVED RESULT

Open two windows then chush


EXPECTED RESULT

I had been using before, so I expect to log in googlo drive then export images


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2021-06-04 03:22:48 UTC
It still reproducible using 7.3.0 pre release ?

https://files.kde.org/digikam/
Comment 2 Maik Qualmann 2021-06-04 06:12:28 UTC
I remember that under MacOS there were problems with establishing the server listening on port 8000 connection. Well, if this is forbidden for us under MacOS due to security settings, we will hardly be able to offer any other option. Google forbids us to use an embedded browser to receive the login token. Use of the system browser is mandatory.
The only option would then be to manually copy the login token.

Maik
Comment 3 Carolina 2021-06-04 22:33:57 UTC
(In reply to caulier.gilles from comment #1)
> It still reproducible using 7.3.0 pre release ?
> 
> https://files.kde.org/digikam/

I´ll will try and let you know
Comment 4 Carolina 2021-06-08 23:11:51 UTC
I just installed digiKam-7.3.0-20210603T211143-MacOS-x86-64-debug and I had no problem with Digikam but I´ve got an error in drive after logging, it send me to

 http://127.0.0.1:8000/?state=2b7901214ee34b999ea32456f36abd5d&code=4/0AY0e-g4BY9DWw24BG3Iag3JFOw1nhQmRQ-BCOgDJR5bAEYVBiAqzPYyJzRF05RTX0ybq4g&scope=https://www.googleapis.com/auth/drive
Comment 5 caulier.gilles 2022-01-13 11:34:43 UTC
Maik,

This last comment from Carolina sounds like a problem with web browser cache ?

In all cases, the crash disappear...

Gilles
Comment 6 Maik Qualmann 2022-01-13 12:57:14 UTC
Well the error message is "normal". Here in Firefox only a blank white page is displayed, maybe Safari outputs something. We receive the token on the local port 8000, which is read by the O2 Lib. The browser also shows this. Due to the new Google guidelines, we are unfortunately no longer allowed to use an embedded browser. There is no other permitted method of logging into Google on a Linux / Windows / MacOS desktop than using a current system browser. There are separate APIs for Android or IOS.

Maik
Comment 7 caulier.gilles 2022-01-13 13:00:35 UTC
So this file can be closed as the original problem is solved.