Bug 397828

Summary: operation cancelled when exporting to flickr
Product: [Applications] digikam Reporter: fch22 <frederic.chaume>
Component: Plugin-WebService-FlickrAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: caulier.gilles, dinhthanhtrung1996, frederic.chaume, metzpinguin
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 6.0.0
Sentry Crash Report:
Attachments: screenshot of the error

Description fch22 2018-08-24 09:04:47 UTC
Created attachment 114572 [details]
screenshot of the error

on windows10, with last DK6.0 beta1, when exporting pictures to flickr I'm getting the digikam error "operation cancelled"  (not consecutive to any action from my side).  error is reproducible, see attached screenshot. 
Then I need to click "OK" to continue the export.
All pictures are uploaded finally but it requires manual operation to click on ok, so not usable as such.
I was using the same without any problem on DK5.9
Comment 1 caulier.gilles 2018-08-24 09:57:31 UTC
Thanh,

This problem can be reproduce with 6.0.0, but not with 5.9.0.

Did you change something in Flickr export tool which can introduce this regression ?

Thanks in advance

Gilles Caulier
Comment 2 Maik Qualmann 2018-08-25 15:43:11 UTC
Here under Linux it is not reproducible. Test under Windows will follow. However, the error message in the source code of the Flickr tool does not exist.

Maik
Comment 3 caulier.gilles 2018-08-25 15:49:49 UTC
Maik, I think the error string come from the web service

Note: with my Flickr account under Linux this problem has s not reproducible
Comment 4 fch22 2018-08-27 07:37:51 UTC
for your information
I have reinstalled DK 5.9.0 and uploaded an album to flickr without any problem
Comment 5 fch22 2018-08-27 07:50:29 UTC
and then reinstalled DK6.0 and after 2 or 3 pictures uploaded got the error
will switch back to DK5.9 until this problem can be fixed.
if you need any debug information, let me know and I will reinstall it to give you the requested logs
Comment 6 Maik Qualmann 2018-08-27 11:14:24 UTC
I can now reproduce the problem, the problem occurs with images containing geographic information. Added a feature that sets the geodata for this image after uploading. The cause is clear, I fix it tonight.

Maik
Comment 7 Maik Qualmann 2018-08-27 18:02:15 UTC
Git commit ca7d7967bd33fcba0efd7355654e03c141977326 by Maik Qualmann.
Committed on 27/08/2018 at 18:01.
Pushed by mqualmann into branch 'master'.

fix upload to Flickr with images containing geo-data
FIXED-IN: 6.0.0

M  +2    -1    NEWS
M  +3    -2    core/utilities/assistants/webservices/flickr/flickrtalker.cpp
M  +5    -3    core/utilities/assistants/webservices/flickr/flickrwindow.cpp

https://commits.kde.org/digikam/ca7d7967bd33fcba0efd7355654e03c141977326
Comment 8 fch22 2018-08-27 19:06:27 UTC
good news !
let me know when package will be available, I will test it
Comment 9 caulier.gilles 2018-08-27 21:21:17 UTC
Frederic,

The updated Windows installer will available in 10 minutes here :

https://files.kde.org/digikam/

Gilles Caulier
Comment 10 fch22 2018-08-28 08:10:36 UTC
tested, working well. problem solved
just found a behavior change regaring flickr export.
in DK5.9, once started the upload, I was abble to go back to DK and continue to work on pictures
in DK.6.0, once upload started , I'm no more able to navigate on my album. I'm blocked on the flick export screen until export is completed (which can take lots time depending on my network)
let me know if you want me to create another ticket
Comment 11 caulier.gilles 2018-08-28 08:26:38 UTC
Yes, please create a new report for that.

In fact the new export tool dialogs are modal. Previous ones was non modal (from kipi tools in 5.x)

Gilles Caulier
Comment 12 fch22 2018-08-28 08:35:02 UTC
ticket https://bugs.kde.org/show_bug.cgi?id=397972 created