[Bug 246743] New: digiKam ate my image (file truncated to 0 byte after tagging)

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

[Bug 246743] New: digiKam ate my image (file truncated to 0 byte after tagging)

Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743

           Summary: digiKam ate my image (file truncated to 0 byte after
                    tagging)
           Product: digikam
           Version: 1.3.0
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Tags
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.3.0 (using KDE 4.4.95)
OS:                Linux

Howdy, I'm a new user, trying to regain my freedom by evaluating digiKam as a
replacement for Picasa. ;)

I'm working on a Ubuntu 10.04 system with Digikam 1.3 and KDE
4:4.4.92-0ubuntu1~lucid1~ppa1 from the kubuntu PPA, my image folders are
located on a NFS server and were added to Digikam as local folders.


Reproducible: Didn't try

Steps to Reproduce:
I think this is what I did:
- I selected many raw images in a folder (CRW files)
- I tagged them with one keyword
- While the pictures were tagged, which took a while (!), I selected a
different subset of images
- I tagged that new selection with another keyword and/or added a caption (I'm
not sure anymore) while the first tagging process still was working, I noticed
the thumbnails being refreshed

(I don't expect my result to be easily reproducible, though... looks like a
race condition....)


Actual Results:  
One of the thumbnails turned into a "broken" image. Upon inspection, the
underlying file proved to be 0 byte in size. The corrupted image was supposed
to be tagged with both keywords, I think.



Expected Results:  
In the digiKam settings, section Metadata, the option "Write Metadata to RAW
files (experimental)" was NOT enabled. Perhaps I'm misunderstanding
something... why does digiKam touch raw CRW files during tagging when this
option is disabled?

So the expected result would have been an unchanged and uncorrupted image and
instantaneous tagging only in the digiKam database.


There was no other imaging application running that could've accessed the
folder simultaneously. And my systems don't have a history of spontaneous file
combustions.

This could very well be considered a major bug, as it corrupted the user's
data. ;)

Luckily, this didn't happen immediately after an import, so I had a backup of
the image. It was a scary experience anyway, though.

--
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
|

[Bug 246743] digiKam ate my image (file truncated to 0 byte after tagging)

Marcel Wiesweg
https://bugs.kde.org/show_bug.cgi?id=246743





--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-08-17 11:53:16 ---
which libkexiv2 and exiv2 versions are installed? There's Help->components
info.

Can you reproduce the RAW files being touched when changing a tag?

--
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
|

[Bug 246743] digiKam ate my image (file truncated to 0 byte after tagging)

Bugzilla from marc-keyword-kdebug.e348b5@a42.de
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743





--- Comment #2 from Marc Aurel <marc-keyword-kdebug e348b5 a42 de>  2010-08-17 13:29:32 ---
Hello Marcel, thanks for your interest in this bug.

According to Help / Components Information, the installed versions are:

LibKExiv2 1.1.0
LibExiv2 0.19

To verify whether the files are being touched, I used md5sum to get a hash of a
CRW file, then added a tag to the image in digiKam (making sure I "applied" the
change - the status line said "Writing metadata to files") and checked the hash
again:

before: 7cbc560040ce396d5e0ce0362c92c382  CRW_0305.CRW
after:  7cbc560040ce396d5e0ce0362c92c382  CRW_0305.CRW

There goes my theory. But why would a RAW image file be truncated to zero bytes
if it's not even touched?

--
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
|

[Bug 246743] digiKam ate my image (file truncated to 0 byte after tagging)

Marcel Wiesweg
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743





--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-08-23 10:07:06 ---

> But why would a RAW image file be truncated to zero bytes
> if it's not even touched?

I'd like to know that as well ;-)
But that is very difficult to tell when we cannot reliably reproduce the
problem.

--
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
|

[Bug 246743] digiKam ate my image (file truncated to 0 byte after tagging)

Gilles Caulier-4
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743





--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2010-11-24 09:11:22 ---
digiKam 1.6.0 is out:

http://www.digikam.org/drupal/node/550

Please update and check if this entry still valid.

Thanks in advance

Gilles Caulier

--
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
|

[Bug 246743] digiKam ate my image (file truncated to 0 byte after tagging)

Bugzilla from javier@ruere.com.ar
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743


Javier Ruere <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #5 from Javier Ruere <javier ruere com ar>  2011-04-07 22:20:41 ---
I had a similar problem. I have my collection at one place but wanted to share
some pics through Dropbox so I hardlinked them into a dir under the Dropbox
dir.

After modifying tags, the files are truncated every time.

Tested this to a dir not watched by Dropbox and it happens just the same.

--
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
|

[Bug 246743] digiKam ate my image (file truncated to 0 byte after tagging)

Bugzilla from javier@ruere.com.ar
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743





--- Comment #6 from Javier Ruere <javier ruere com ar>  2011-04-07 22:21:56 ---
Still happens with 1.9.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
|

[Bug 246743] digiKam ate my image (file truncated to 0 byte after tagging)

Gilles Caulier-4
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2011-07-06 11:21:20 ---
We need feedback using a recent version. 2.0.0 RC is out, please test...

Thanks in advance

Gilles Caulier

--
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
|

[Bug 246743] digiKam ate my image (file truncated to 0 byte after tagging)

Marcel Wiesweg
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743





--- Comment #8 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-11 17:03:38 ---
Javier,

1) we can forget about the dropbox and hardlink story, your files are
reproducibly truncated to 0 bytes when applying a tag regardless where they
are located?
2) Which file format?
3) Which libkexiv2/libexiv2 version? Go to Help components for details.

--
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
|

[Bug 246743] digiKam hate my image (file truncated to 0 byte after tagging)

Gilles Caulier-4
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|digiKam ate my image (file  |digiKam hate my image (file
                   |truncated to 0 byte after   |truncated to 0 byte after
                   |tagging)                    |tagging)




--
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
|

[Bug 246743] digiKam hate my image (file truncated to 0 byte after tagging)

Gilles Caulier-4
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743





--- Comment #9 from Gilles Caulier <caulier gilles gmail com>  2011-12-16 12:18:22 ---
Javier,

Do you see comment #8 ?

Marc,

This file still valid using digiKam 2.4 ?

Gilles Caulier

--
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
|

[Bug 246743] digiKam hate my image (file truncated to 0 byte after tagging)

Gilles Caulier-4
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743

--- Comment #10 from Gilles Caulier <[hidden email]> ---
Official digiKam 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

Gilles Caulier

--
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 246743] digiKam hate my image (file truncated to 0 byte after tagging)

Gilles Caulier-4
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WAITINGFORINFO

--- Comment #11 from Gilles Caulier <[hidden email]> ---
This file still valid with digiKam 3.5.0 ?

Gilles Caulier

--
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 246743] digiKam hate my image (file truncated to 0 byte after tagging)

Gilles Caulier-4
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743

--- Comment #12 from Gilles Caulier <[hidden email]> ---
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

--
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 246743] digiKam hate my image (file truncated to 0 byte after tagging)

bugzilla_noreply
In reply to this post by Bugzilla from marc-keyword-kdebug.e348b5@a42.de
https://bugs.kde.org/show_bug.cgi?id=246743

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.1.0
         Resolution|WAITINGFORINFO              |FIXED

--- Comment #13 from [hidden email] ---
With digiKam 5.0.0, this problem is not reproducible.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier

--
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