Bug 365571

Summary: Flickr export tool not freeing tmp space
Product: [Applications] digikam Reporter: Gerald Weber <gweberbh>
Component: Plugin-WebService-FlickrAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: minor CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:

Description Gerald Weber 2016-07-12 21:53:41 UTC
When exporting to Flickr, the export plugin kipi-flickrexportplugin makes a copy of the exported images to /tmp/kde-$USER, but these images are not deleted afterwards. This causes the tmp space to fill up. I've also noticed that a specific directory is created, e.g., kipi-flickrexportplugin-8204 which is always empty and also not removed afterwards.

I also noticed that the images are created even when the "Send original file (no resizing)" is checked. I would not have expected to see the images being created when no resizing was required, however the images appear to be different:
-rw-r--r-- 1 xxxx users 14427906 Jul 12 17:58 DSC_0389.jpg
-rw-r--r-- 1 xxxx users 14468759 Jul 14  2014 /home/xxxx/DSC_0389.JPG


Reproducible: Always

Steps to Reproduce:
1. Export images to a Flick account


Actual Results:  
Images are left over in /tmp/kde-$USER, a directory kipi-flickrexportplugin-<some number> is created but not used.

Expected Results:  
In my understanding temporary images should be removed after export finishes to avoid filling up temporary space.

Current workaround is to keep an eye on the size of the temporary directory and manually remove the files after export is completed.
Comment 1 Maik Qualmann 2016-07-13 06:13:55 UTC
This problem has been fixed in digiKam-5.0.0 and kipi-plugins-5.0.0. After the program end of digiKam will clean up temporary folder from the kipi-plugins.

Maik