* Tobias Ellinghaus <m...@houz.org> [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_from_
> > >>  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-019eade4c9ecb5a11211d45dea396847536920
> > 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-b9e5e02c0ac7c88b4d553341db86f147ed95ccd
> > 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
   /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
   

-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
Registered Linux User #207535                    @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo               paka @ IRCnet freenode
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to