On Thursday, 15 November 2018 21:33:00 CET Pascal Obry wrote:
> Le jeudi 15 novembre 2018 à 21:25 +0100, Andreas Schneider a écrit :
> > The issue is probably a migration which didn't work:
> > 
> > https://github.com/darktable-org/darktable/pull/1827
> > 
> > 
> > I'm using darktable master which was normally quite stable. The question
> > is
> > how can I fix this, change the blendop version in the XMP file back to an
> > earlier that the migration is redone and hope it will work?
> 
> If you have an XMP previous to the migration it should work.
> 
> But you probably didn't notice, the presets in data.db are all broken.
> So best to restore your backup :)

I don't have a backup to restore but I will have in future for the last 14 
days ...

$ which darktable
/home/asn/bin/darktable
$ cat bin/darktable 
#!/bin/bash

dt_db_files="data.db library.db"

dt_config_dir="$HOME/.config/darktable"
dt_backup_dir="$dt_config_dir/backup"

today=$(date +"%Y-%m-%d")

_backupdir="$dt_backup_dir/$today"

if [ ! -d "$_backupdir" ]; then
    mkdir -p $_backupdir

    for f in $dt_db_files; do
        cp "$dt_config_dir/$f" "$_backupdir"
    done

    find $dt_backup_dir -maxdepth 1 -mtime +14 -type d | xargs rm -rf
fi

/usr/bin/darktable $@

-- 
Andreas Schneider                 a...@cryptomilk.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D


___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to