Thanks, everyone, for the input on this! I'm so glad all is not lost. I've
removed the images from my darktable library at home, and deleted the blank
.xmp files. I am now at work on the Mac, and everything appears as it did,
so my edits are safe, at least on the Mac.
I just backed up the Mac's .../.config/darktable folder (and finding hidden
folders on a Mac is an interesting task in itself!) so those files are safe.
However, I've opened darktable and told it to re-write the sidecar files,
and nothing is being written. The photos are stored on an NTFS partition
(silly move on my part, I know), and as it turns out, the Mac still doesn't
natively write to NTFS.
My external drive also has a FAT32 partition and an XFS one as well... I
could copy my photos to that partition and re-open them in dt, but I don't
think dt would re-link their history stacks because they'd be in a new
location.
Is there some way (without the ability to write sidecar files) I can copy
the files to a new location and get darktable to associate the database
info from the original location? If not, I will see about installing NTFS
write support. And then I will backup the NTFS partition onto the FAT32
one, and get rid of it!
Thanks again for any insight you may have.
-Mark
Message: 4
Date: Sun, 14 Dec 2014 10:13:49 +0100
From: Markus Jung <[email protected]>
Subject: Re: [Darktable-users] I might have wiped out hours of work...
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252
Hello Mark,
first things first: If you still have the database on your Mac and did
not remove your images from it, nothing is lost.
The XMP files are supposed to be only a backup of the internal database.
Until darktable 1.6, the sidecars had to be loaded manually if something
changed, dt itself did not detect any changes but simply overwrite them
after opening the image in darkroom.
Since dt 1.6, there is an option "Scan for changed XMP files on
startup", which would have avoided your problems.
Now the solution (assuming you are still using dt < 1.6):
1.
Delete all images from your darktable library at home. Be sure to use
the delete mode which only removes images from the database and not from
disk.
2.
Take your disk back to work, fire up darktable there, select all
affected images and tell darktable to re-write the sidecar files. (there
is a lighttable module with buttons to read and write sidecars). Please
be sure to hit the right button, the other one will read the sidecars
from disk and finally destroy your work!
3.
At home, re-import the images. darktable will read/import the sidecards
along with the images and you are set.
Remark: Maybe re-importing alone is sufficient, but i am not absolutely
sure and since the overhead is small, i would go for the safe route.
Regards,
Markus
Am 14.12.2014 um 03:33 schrieb Mark Patey:
> Hi, all-
>
> Longtime dt user, but it's been a while since I've had to post here! A
very
> good sign.
>
> I have darktable installed at home on my Ubuntu laptop (slow-ish, not a
> great screen), and have recently installed it on a Mac Pro workstation at
> work as well, where it works very nicely (and I have a much better
monitor
> to work with). Yesterday I knew I'd have some downtime at work, and edited
> a bunch of photos I shot recently of a friend's wedding. The photos are on
> a portable external hard drive, and I simply brought the drive to work
with
> me and edited them in darktable there, directly on the external drive (not
> copying to the local drive, so I could easily bring my edits home with
me).
>
> Tonight I attached the external drive to my Ubuntu laptop to continue
> working on the photos. They had all been opened on this laptop before, so
> there was a "collection" for them already... and when I opened darktable,
> that collection came up by default. But none of my edits from work were
> there. Photos that I know had 10-15 steps of editing were just showing the
> 3 basic default steps.
>
> I tried re-importing, thinking dt was using a cached version of the .xmp
> files or something. It then occurred to me that I'd better close darktable
> immediately, thinking the longer it was open, the more likely it would
> overwrite all the .xmp files created on the Mac! Of course, it had already
> done that, I assume when I first opened the collection.
>
> When I look at the contents of the folder, indeed all the .xmp files are
> created just a few minutes ago... with not a single one left from all the
> work I did yesterday.
>
> Is there anything at all I can do at this point? I know dt uses a database
> in addition to the .xmp files... any chance the database files from the
Mac
> installation could be copied to my Ubuntu install and bring back all my
> edits?
>
> This portable drive setup seemed like it should work nicely, with both
> installations simply reading the .xmp files unless edits were made... I
did
> not foresee dt erasing them all by default.
>
> Thanks in advance for any light you can shed.
>
> -Mark
>
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users