[Bug 169764] New: RAW file import lacks I18N support, no decoding

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 169764] New: RAW file import lacks I18N support, no decoding

Gerhard Kulzer
http://bugs.kde.org/show_bug.cgi?id=169764

           Summary: RAW file import lacks I18N support, no decoding
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.1.0)
Compiler:          gcc 4.3
OS:                Linux
Installed from:    Ubuntu Packages

The new rawimport as well as the direct RAW decoding cannot decode a file when
it contains special characters (like German Umlauts). When i run the command
/usr/lib/kde4/lib/libkdcraw6/kdcraw -c -v -4 -H 2 -a -q 3 -o 1
/home/gerhard/Fotos/Früher/Ins/crw_1481.crw|pnmtopng > test.png, no problems
are encountered.

Error message in IE:
Cannot decode RAW image for crw_1481.crw (I18N_ARGUMENT_MISSING)

gdb trace:
...
digikam(31842): "/home/gerhard/Fotos/Früher/Ins/crw_1481.crw"  : RAW file
identified
Running RAW decoding command: /usr/lib/kde4/lib/libkdcraw6/kdcraw -c -v -4 -h
-H 0 -w -q 3 -o 1 /home/gerhard/Fotos/Früher/Ins/crw_1481.crw
RAW decoding StdErr: /home/gerhard/Fotos/Früher/Ins/crw_1481.crw: No such
file or directory                                              

Style reset requested.
digikam(31842): Testing location  1 "/home/gerhard/Fotos/Früher/Ins"
"/home/gerhard/Fotos"
[New Thread 0xa8163b90 (LWP 31949)]                                            
DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime("Sun Apr 24 11:01:30
2005")        

digikam(31842): "/home/gerhard/Fotos/Früher/Ins/crw_1481.crw"  : RAW file
identified
Running RAW decoding command: /usr/lib/kde4/lib/libkdcraw6/kdcraw -c -v -4 -h
-H 0 -w -q 3 -o 1 /home/gerhard/Fotos/Früher/Ins/crw_1481.crw
RAW decoding StdErr: /home/gerhard/Fotos/Früher/Ins/crw_1481.crw: No such
file or directory


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 169764] RAW file import lacks I18N support, no decoding

Gerhard Kulzer
http://bugs.kde.org/show_bug.cgi?id=169764


Gerhard Kulzer gerhard kulzer net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |RAW files management
            Version|unspecified                 |0.10.0-svn




--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 169764] RAW file import lacks I18N support, no decoding

Gilles Caulier-4
In reply to this post by Gerhard Kulzer
http://bugs.kde.org/show_bug.cgi?id=169764





--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2008-08-25 13:00:50 ---
SOund like a problem in libkdcraw, especially KDcraw::startProcess() in line
910 :

args << QFile::encodeName(d->filePath);

Normally QFile::encodeName() must prevent this encoding problem:

http://doc.trolltech.com/4.4/qfile.html#encodeName

Perhaps there is a problem with UTF8 encoding here

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 169764] RAW file import lacks I18N support, no decoding

Gerhard Kulzer
In reply to this post by Gerhard Kulzer
http://bugs.kde.org/show_bug.cgi?id=169764





--- Comment #2 from Gerhard Kulzer <gerhard kulzer net>  2008-08-25 16:32:20 ---
Gilles, since the encodeName produces a local8bit path,  shouldn't the process
call in line 918 take that into account: instead of fromAscii:

fromLocal8Bit(DcrawBinary::path()), args);

I tried it, but no success, same error message!


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 169764] RAW file import lacks I18N support, no decoding

Gerhard Kulzer
In reply to this post by Gerhard Kulzer
http://bugs.kde.org/show_bug.cgi?id=169764





--- Comment #3 from Gerhard Kulzer <gerhard kulzer net>  2008-08-26 06:28:41 ---
Interesting reading is here:
http://www.mail-archive.com/dvbcut-user@.../msg00638.html


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 169764] RAW file import lacks I18N support, no decoding

Marcel Wiesweg
In reply to this post by Gerhard Kulzer
http://bugs.kde.org/show_bug.cgi?id=169764





--- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-01 19:30:15 ---
I have tested this problem with current libkdcraw (based on libraw), and it
worked nicely for me (folder and file name contained äöü éß)
One issue is that the libkdcraw version from KDE4.1 will no longer be used by
digikam 0.10 and probably not updated any more, so you could test the version
from trunk that is required for current svn digikam 0.10.

Gilles pointed out the libraw will still use QFile::encodeName if that is the
culprit. I cannot test anymore with your version of libkdcraw because digikam
wont work with it anymore - but we used dcraw for a long time on KDE3 without
any problems, which might indicate a problem specific to your system.

Früher instead of Früher indicates that a UTF-8 code (two bytes for
extended character) is interpreted as ASCII (two separate bytes).


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 169764] RAW file import lacks I18N support, no decoding

Gilles Caulier-4
In reply to this post by Gerhard Kulzer
http://bugs.kde.org/show_bug.cgi?id=169764


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2008-12-02 12:22:01 ---
Same here. I have used non ascii characters with RAW path files, and it's work
fine here.

I follow Marcel analyze here : for obscure reasons, this bug only touch
libkdcraw based on dcraw and KProcess, not last version of libkdcraw based on
libraw. This can be a weird issue with KProcess/QProcess.

So, I close this file now. Feel free to re-open if needs.

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 169764] RAW file import lacks I18N support, no decoding

Gilles Caulier-4
In reply to this post by Gerhard Kulzer
https://bugs.kde.org/show_bug.cgi?id=169764


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.10.0-svn                  |0.10.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 169764] RAW file import lacks I18N support, no decoding

bugzilla_noreply
In reply to this post by Gerhard Kulzer
https://bugs.kde.org/show_bug.cgi?id=169764

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Raw-Workflow                |ImageEditor-RawImport

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 169764] RAW file import lacks I18N support, no decoding

bugzilla_noreply
In reply to this post by Gerhard Kulzer
https://bugs.kde.org/show_bug.cgi?id=169764

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ImageEditor-RawImport       |Usability-i18n

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