Bug 373434

Summary: No exif data in pictures exported to Flickr.
Product: [Applications] digikam Reporter: antymat
Component: Plugin-WebService-FlickrAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0
Sentry Crash Report:

Description antymat 2016-12-08 18:29:41 UTC
After updating Digikam to the 5.x.x, the flickr export apparently removes all the exif data.
I am using digikam v5.3.0 on latest Debian Stretch on Intel,
KDE Frameworks 5.27.0,
Qt 5.7.1 (built against 5.6.1),
The xcb windowing system.
Comment 1 Maik Qualmann 2016-12-08 18:48:45 UTC
At all my test images on flickr the metadata is available. Problem is not reproducible here. Can you upload the messages from the console when you upload a image to flickr?

Maik
Comment 2 antymat 2016-12-08 20:01:25 UTC
Just to understand you correctly - you mean the stdout on regular console, not some console within the digikam?
If so - this is the output (the URLs and tokens omitted):

kipi.plugins: Creating new ImageListViewItem with url  QUrl("")  for list view  KIPIPlugins::KPImagesListView(0x560db1791c00)
kipi.plugins: Insterting new item  "DSC_5624.JPG"
kipi.plugins: Creating new ImageListViewItem with url  QUrl("")  for list view  KIPIPlugins::KPImagesListView(0x560db22a4ba0)
kipi.plugins: Family status set to false
kipi.plugins: Friends status set to false
kipi.plugins: Public status set to false
kipi.plugins: Safety level set to 1
kipi.plugins: Content type set to 1
kipi.plugins: Group name is :  ""
kipi.plugins: Token is :  ""
kipi.plugins: Public status set to true
kipi.plugins: Calling auth methods
kipi.plugins: Check token url:  QUrl("")
kipi.plugins: Request to update thumbnail for  QUrl("")
kipi.plugins: Request to update thumbnail for  QUrl("")
kipi.plugins: KIPI host send thumb ( QSize(512, 341) ) for  QUrl("")
kipi.plugins: Update thumb in list for  QUrl("")
kipi.plugins: Received new thumbnail for url  QUrl("")  for view  KIPIPlugins::KPImagesListView(0x560db1791c00)
kipi.plugins: KIPI host send thumb ( QSize(512, 341) ) for  QUrl("")
kipi.plugins: Update thumb in list for  QUrl("")
kipi.plugins: Received new thumbnail for url  QUrl("")  for view  KIPIPlugins::KPImagesListView(0x560db22a4ba0)
kipi.plugins: Token= ""
kipi.plugins: Perms= "write"
kipi.plugins: nsid= ""
kipi.plugins: username= ""
kipi.plugins: fullname= ""
kipi.plugins: Token Obtained is :  ""
kipi.plugins: SlotTokenObtained invoked setting user Display name to  ""
kipi.plugins: Group name is :  ""
kipi.plugins: Token is :  ""
kipi.plugins: Group name is :  ""
kipi.plugins: Token written of group  ""  is  ""
kipi.plugins: List photoset invoked
kipi.plugins: List photoset URL QUrl("")
kipi.plugins: CheckToken finished
kipi.plugins: parseResponseListPhotosets ""
...
kipi.plugins: GetPhotoList finished
kipi.plugins: slotPopulatePhotoSetComboBox invoked
kipi.plugins: Get max file size url:  QUrl("")
kipi.plugins: Max upload size is "209715200"
kipi.plugins: SlotUploadImages invoked
kipi.plugins: Adding images QUrl("")  to the list
kipi.plugins: Max allowed file size is :  209715200 File Size is  14220534
digikam.dimg: ""  : JPEG file identified
digikam.metaengine: Loading image history  ""
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2016-08-21 19:45:51.000 CEST Qt::TimeSpec(LocalTime))
digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC profile.
digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
digikam.metaengine: MetaEngine::metadataWritingMode 1
digikam.metaengine: Will write XMP sidecar for file "DSC_5624.jpg"
digikam.metaengine: wroteComment:  false
digikam.metaengine: wroteEXIF:  true
digikam.metaengine: wroteIPTC:  true
digikam.metaengine: wroteXMP:  true
digikam.metaengine: Metadata for file "DSC_5624.jpg" written to XMP sidecar.
kipi.plugins: Resizing and saving to temp file:  "/tmp/kipi-Flickr-1877/DSC_5624.jpg"
kipi.plugins: QUrl path is  QUrl("file:///tmp/kipi-Flickr-1877/DSC_5624.jpg") Image size after resizing (in bytes) is  4144354
kipi.plugins: SlotUploadImages done
kipi.plugins: Photoid=  "31475461966"
kipi.plugins: addPhotoToPhotoSet invoked
kipi.plugins: Add photo to Photo set url:  QUrl("")
kipi.plugins: parseResponseListPhotosets "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<rsp stat=\"ok\">\n</rsp>\n"


Hope this helps (but I do not see anything suspicious here, except maybe the sidecar files).
If you meant some other console - I have not found any in the documentation, but I would be happy to follow instructions ;). 

M.
Comment 3 antymat 2016-12-08 20:11:42 UTC
OK, I have de-selected the "write to sidecar files" option in metadata settings, and now it works. 

It's nice it does, but the connection between metadata saving setting and the export is far from clear.
Comment 4 Maik Qualmann 2016-12-08 21:06:41 UTC
Git commit 408a9d4c1d563d99fa8379a9b569520cd4af4c8c by Maik Qualmann.
Committed on 08/12/2016 at 21:04.
Pushed by mqualmann into branch 'master'.

write metadata always to the temp image
FIXED-IN 5.4.0

M  +2    -1    NEWS
M  +1    -1    dropbox/dbtalker.cpp
M  +1    -1    facebook/fbwindow.cpp
M  +1    -1    flashexport/simpleviewer.cpp
M  +1    -1    flickr/flickrtalker.cpp
M  +1    -1    googleservices/gdtalker.cpp
M  +2    -2    googleservices/gptalker.cpp
M  +1    -1    googleservices/gswindow.cpp
M  +1    -1    piwigo/piwigotalker.cpp
M  +1    -1    rajce/rajcesession.cpp
M  +2    -2    sendimages/imageresize.cpp
M  +1    -1    smug/smugwindow.cpp
M  +1    -1    yandexfotki/yfwindow.cpp

https://commits.kde.org/kipi-plugins/408a9d4c1d563d99fa8379a9b569520cd4af4c8c
Comment 5 antymat 2016-12-08 21:51:06 UTC
WOW, that was fast!
Thank you!