Am Mittwoch, 3. Januar 2018, 02:23:53 CET schrieb Patrick Shanahan:
> * Tobias Ellinghaus <[email protected]> [01-02-18 16:51]:
> > Am Dienstag, 2. Januar 2018, 20:07:08 CET schrieb Frank J.:
> > > Am 02.01.2018 um 11:33 schrieb Tobias Ellinghaus:
> > > > Am Montag, 1. Januar 2018, 14:33:50 CET schrieb Frank J.:
> > > ...
> > > 
> > > >> Hallo,
> > > >> I tried to clean my cache with
> > > >> 
> > > >>  https://github.com/darktable-org/darktable/blob/master/tools/purge_f
> > > >>  rom_
> > > >>  cac
> > > >> 
> > > >> he.sh
> > > >> 
> > > >> It doesn't work for me because it didn't find my cache directory.
> > > >> 
> > > >> A variable part of the path is processed with
> > > >> 
> > > >>   'echo "${library}" | sha1sum'
> > > >> 
> > > >> in line 84.
> > > >> This calculates not the cache-path used from darktable.
> > > > 
> > > > A little more info is needed. What is your cache dir? What does the
> > > > script
> > > > think it is? Any error messages?
> > > > 
> > > >> Ubuntu 16.04
> > > >> 
> > > >> Frank
> > > > 
> > > > Tobias
> > > 
> > > Here is more info:
> > > > Any error messages?
> > > 
> > > $ ./purge_from_cache.sh
> > > cache directory
> > > '/home/frank/.cache/darktable/mipmaps-019eade4c9ecb5a11211d45dea39684753
> > > 6920 f7.d' doesn't exist
> > > 
> > > > What does the script think it is?
> > >  
> > >  echo '/home/frank/.config/darktable/library.db' | sha1sum
> > >  echo /home/frank/.config/darktable/library.db   | sha1sum
> > >  echo ~/.config/darktable/library.db             | sha1sum
> > > 
> > > always shows: 019eade4c9ecb5a11211d45dea396847536920f7
> > > 
> > > > What is your cache dir?
> > > 
> > > My cache is in
> > > /home/frank/.cache/darktable/mipmaps-b9e5e02c0ac7c88b4d553341db86f147ed9
> > > 5ccd 8.d
> > > 
> > > Darktable finds this cache without problems.
> > 
> > Thank you for reporting this. I believe the bug is fixed now.
> 
> I see a similar problem which still exists after this change.  output from
> purge_from_cache.sh is:
>    /usr/share/doc/packages/darktable/tools/purge_from_cache.sh
>    /usr/share/doc/packages/darktable/tools/purge_from_cache.sh: line 1:
>    /!/bin/sh: No such file or directory

That sounds as if the file was corrupt. Please show the output of

head /usr/share/doc/packages/darktable/tools/purge_from_cache.sh

>    /usr/share/doc/packages/darktable/tools/purge_from_cache.sh: line 25:
>    //usr/share/doc/packages/darktable/tools/common.sh: No such file or
>    //directory
>    /usr/share/doc/packages/darktable/tools/purge_from_cache.sh: line 76:
>    /ReadLink: command not found
>    library '' doesn't exist

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to