Bug 388271

Summary: fix for flickr authentication generates URL that can't work on Windows
Product: [Applications] digikam Reporter: jon33040
Component: Plugin-WebService-FlickrAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 5.6.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 5.8.0
Sentry Crash Report:

Description jon33040 2017-12-27 12:46:38 UTC
I can't try the fix for #381664 on Linux because of #387201 so I thought I'd try it on Windows and it doesn't work there either but differently.

In DK, I do export->flickr->change account
That starts up Firefox and sends it to a flickr page saying "FlickrUploadr wants to link to your Flickr account" and asking me to authorize it.
When I do this, Firefox goes to a URL starting with the following which is a blank page;

127.0.0.1:1965/?oauth_token= 

I've done this a couple of times more than a day apart.

Due to #387201, I can't test this on Linux without recompiling digikam.
Comment 1 Maik Qualmann 2017-12-27 13:33:20 UTC
The blank page is normal, look at the Flickr tool. At the top you should see your Flickr name and you are logged in automatically.

Maik
Comment 2 jon33040 2017-12-27 13:48:59 UTC
(In reply to Maik Qualmann from comment #1)
> The blank page is normal, look at the Flickr tool. At the top you should see
> your Flickr name and you are logged in automatically.
> 
> Maik

The flickr account name was there already anyway so I just went ahead and tried an upload after the blank page came up. It failed with an error

"Failed to upload photo into Flickr. Host requires authentication Do you want to continue?".

Choosing continue just repeats the failure.
Comment 3 Maik Qualmann 2017-12-27 13:55:45 UTC
Please test with the pre-release digiKam-5.8.0 version. The Flickr tool now has account management again.

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

Maik
Comment 4 Maik Qualmann 2017-12-28 07:07:45 UTC
I have tested the Flickr tool under Windows7 and Windows10 with the pre-release version. It works without problems. Also with the Edge browser of Windows10. If there are no numbers in the address line after "127.0.0.1:1965/?oauth_token=", an anti-virus program could prevent this as well.

Maik
Comment 5 jon33040 2017-12-28 09:07:05 UTC
(In reply to Maik Qualmann from comment #4)
> I have tested the Flickr tool under Windows7 and Windows10 with the
> pre-release version. It works without problems. Also with the Edge browser
> of Windows10. If there are no numbers in the address line after
> "127.0.0.1:1965/?oauth_token=", an anti-virus program could prevent this as
> well.
> 
> Maik

I have tested it with the pre-release version and agree.