[Digikam-devel] [digikam] [Bug 355256] New: Failed to load image if file path contains non-ascii characters

Eduard Sukharev via KDE Bugzilla bugzilla_noreply at kde.org
Thu Nov 12 16:22:10 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=355256

            Bug ID: 355256
           Summary: Failed to load image if file path contains non-ascii
                    characters
           Product: digikam
           Version: 4.12.0
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: kraplax at mail.ru

Created attachment 95469
  --> https://bugs.kde.org/attachment.cgi?id=95469&action=edit
Failed to load image with non-ascii file path

On Windows 8.1 x64.
Digikam version 4.12.0 built with RelWithDebInfo, with KDE 4.10.2.

If path to a file contains non-ascii characters, then an image won't open,
yielding "Failed to load image" notification.

Steps to reproduce:
1. Create folder with non-ASCII characters inside existing digiKam album (e.g.
"Новая папка"). Put an ASCII image file inside.
1.1 Alternatively, add an image file with non-ASCII filename (e.g. "Новое
изображение") to regular ASCII folder.
2. Navigate to that folder
2.1 Observe that image previews are shown correctly
3. Open any image inside that folder.

Actual result:
Image not open.
Digikam shows "Failed to load image" notification
DebugView shows following:

[4452] digikam(4452)/KEXIV2: Cannot load metadata from file   (Error # 9 : 
E:/Google Drive/Leather/Done/???????? ???????/2.JPG: Failed to open the data
source: Invalid argument (errno = 22) 
[4452] digikam(4452)/KEXIV2: Cannot load metadata from file   (Error # 9 : 
E:/Google Drive/Leather/Done/???????? ???????/2.JPG: Failed to open the data
source: Invalid argument (errno = 22) 
[4452] digikam(4452)/digikam (core) void __thiscall
Digikam::PreviewLoadingTask::execute(void): Cannot extract preview for 
"E:/Google Drive/Leather/Done/???????? ???????/2.JPG" 
[4452] digikam(4452)/digikam (core) void __thiscall
Digikam::PreviewLoadingTask::execute(void): Cannot extract preview for 
"E:/Google Drive/Leather/Done/???????? ???????/2.JPG" 

Expected result:
Image is opened.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list