Project

General

Profile

Bug #8607

import from flaky memory card loses data

Added by xxvelcrar - about 7 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Medium
Assignee:
-
Category:
General
Target version:
Start date:
Due date:
% Done:

100%

Affected Version:
git development version
System:
bitness:
hardware architecture:
amd64/x86

Description

Some part of the import process seems to have lost some of my data, though not entirely its fault.

I had "remove after copying" set in the import options and upon import, it did just that. However, there were read errors going on on my memory card and some of the files failed to import successfully. However, DT seems to have thought that it successfully imported the images, even though they weren't showing up properly in LT and clicking on them caused DT to crash (will file separately).

I suggest that the import process take better care at ensuring that it properly copied the file - perhaps by comparing hashes of the file on memory card and disk. Additionally, if there are any read errors, it'd be good to leave the data on the card, even if it seems as though the file was successfully copied. It's better to be slightly annoying by not deleting a file than to possibly lose data when something seems to have gone wrong.

History

#1 Updated by Simon Spannagel about 7 years ago

That really shouldn't happen - thank you for reporting, I'll try to reproduce tonight!

#2 Updated by Simon Spannagel almost 7 years ago

  • Target version changed from 1.0.3 to Candidate for next patch release

#3 Updated by Tobias Ellinghaus over 6 years ago

  • % Done changed from 0 to 20
  • Affected Version set to git development version
  • Target version changed from Candidate for next patch release to Future
  • Status changed from New to Triaged

#4 Updated by Christian iuga over 5 years ago

  • % Done changed from 20 to 100
  • Status changed from Triaged to Fixed

In the recent version (git), it's not possible to loose any data as darktable don't delete/remove anymore any image on the camera/memory card.

Also available in: Atom PDF