Bug 310580 - DNG Converter cannot save image if path have non-ascii characters [patch]
Summary: DNG Converter cannot save image if path have non-ascii characters [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-DngConverter (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 22:39 UTC by dolebruno
Modified: 2016-07-07 04:15 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.0


Attachments
dngsave.patch (774 bytes, patch)
2015-01-23 19:28 UTC, Maik Qualmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dolebruno 2012-11-23 22:39:09 UTC
When DNG Converter want to write converted image in a path with non-ascii characters, it fails with the error message : "Failed to save image".
If there's ascii characters only in the path, DNG Converter works fine.

Reproducible: Always

Steps to Reproduce:
1. Open a RAW file within a non-ascii character path (e. g. 20121002 - Gribouille à la maison)
2. Convert and save it into the same folder
3. 
Actual Results:  
DNG Converter cannot save the image with the message : "Failed to save image"

Expected Results:  
DNG Convert can save the converted image.

Perhaps this is the same bug than here : https://bugs.kde.org/show_bug.cgi?id=308465 

This is the same symptom.
Comment 1 Pento 2014-09-06 14:31:28 UTC
Confirm this bug for

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:        14.04
Codename:       trusty

$ dngconverter -v
Qt: 4.8.6
KDE: 4.13.3
Преобразование в DNG: 4.0.0
Currently it is not possible to use dngconverter in directory with non-ascii characters in the name :(
Comment 2 D. van Aken 2014-11-21 19:57:25 UTC
I can confirm this bug. 
I am working with Kubuntu release 14.04 as well as 14.10;
Current versions: Digikam 4.2.0, KDE 4.14.1
It took me a while to find out why CR2 to DNG conversion worked with all folders/albums except two. 
Then I saw that they were both from holidays in the Pyrenees mountains (in Dutch: Pyreneeën).
Replacing the ë with e in the folder names fixed it.
After that I could finally find this bug report.
Comment 3 Carlos Díaz 2015-01-22 18:12:52 UTC
I can confirm this bug. I've tested with several folder paths and the "Failed to save image" message always comes when the path includes a non-ascii character. I'm using .nef raw files for all the tests.

This is particularly annoying for the spanish speaking community since the images folder in spanish is called "Imágenes", so that "á" affects all the conversions within such important folder.

System: Fedora XFCE 20 with DIgiKam and kipi-plugins 4.6.0-1.
Comment 4 Maik Qualmann 2015-01-23 19:28:51 UTC
Created attachment 90613 [details]
dngsave.patch

Patch for saving DNG images with non-ASCII characters in path.
Comment 5 caulier.gilles 2015-01-24 09:39:31 UTC
Git commit 3012c56a65f125edf27b18344443304370dde07b by Gilles Caulier.
Committed on 24/01/2015 at 09:37.
Pushed by cgilles into branch 'master'.

Apply patch #90613 from Maik Qualmann to fix string file name encoding support with DNG converter renaming operations
FIXED-IN: 4.7.0

M  +3    -1    NEWS
M  +2    -3    dngconverter/plugin/batchdialog.cpp

http://commits.kde.org/kipi-plugins/3012c56a65f125edf27b18344443304370dde07b
Comment 6 caulier.gilles 2015-01-24 09:42:08 UTC
Git commit cb19055cbd1047eedf7378ad5f5356e3af87faa6 by Gilles Caulier.
Committed on 24/01/2015 at 09:41.
Pushed by cgilles into branch 'frameworks'.

backport commit #3012c56a65f125edf27b18344443304370dde07b from git/master to frameworks branch

M  +2    -3    PORT.KF5/TODO/dngconverter/plugin/batchdialog.cpp

http://commits.kde.org/kipi-plugins/cb19055cbd1047eedf7378ad5f5356e3af87faa6