Re: [darktable-user] darktable 2.4.0 released

2018-01-03 Thread Frank J.
Am 02.01.2018 um 22:50 schrieb Tobias Ellinghaus:
> 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_cache.sh
...
> 
> Thank you for reporting this. I believe the bug is fixed now.
> 
>> Frank
> 
> Tobias
> 
> PS: Your script was up to date. I broke it. Sorry for that.
> 

Thank you Tobias,
It works now and it finds a lot of unused thumbs in the cache.

PS.
The second script 'purge_non_existing_images.sh' worked fine.
It grabbed some Photos that are shown as scull. I removed them manually
with darktable.
It grabbed also some entries in the database that are not visible in
darktable. Maybe my database was corrupted in a crash?
I removed them with parameter "-p".

Frank


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Color Lookup Tables

2018-01-03 Thread darktable
On Wed, 03 Jan 2018 22:55:42 +0100
Tobias Ellinghaus  wrote:

>Am Mittwoch, 3. Januar 2018, 22:10:07 CET schrieb
>darkta...@911networks.com:
>> DT 2.4.0
>> 
>> I have a few HaldCLUT pngs. How can I import them into the color
>> lookup module?  
>
>You can't. Those are not supported in darktable.

What about the 3DL, the text values?

-- 
sknahT

vyS

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] darktable 2.4.0 released

2018-01-03 Thread Patrick Shanahan
* Matthieu Moy  [01-03-18 08:37]:
> Patrick Shanahan  writes:
> 
> > corrected and ran again, output:
> >   > /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
> 
> Ah, the script is split into multiple files. Either download common.sh
> to the same directory as purge_from_cache.sh, or just get a complete
> clone of the darktable source code and run the script from the tools/
> subdirectory.

tks, common.sh was missing from the rpm package.  darix has corrected and
rebuilt.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/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



Re: [darktable-user] darktable 2.4.0 released

2018-01-03 Thread Matthieu Moy
Patrick Shanahan  writes:

> corrected and ran again, output:
>   > /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

Ah, the script is split into multiple files. Either download common.sh
to the same directory as purge_from_cache.sh, or just get a complete
clone of the darktable source code and run the script from the tools/
subdirectory.

Regards,

-- 
Matthieu Moy
https://matthieu-moy.fr/

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] darktable 2.4.0 released

2018-01-03 Thread Patrick Shanahan
* li...@matthieu-moy.fr  [01-03-18 07:46]:
> Patrick Shanahan  writes:
> 
> > * Tobias Ellinghaus  [01-03-18 04:11]:
> >> Am Mittwoch, 3. Januar 2018, 02:23:53 CET schrieb Patrick Shanahan:
> >  [...]
> >> > 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
> >> 
> >
> > head /usr/share/doc/packages/darktable/tools/purge_from_cache.sh
> >
> > !/bin/sh
> 
> As you can see, this is not what the original script should look like:
> 
> https://github.com/darktable-org/darktable/blob/master/tools/purge_from_cache.sh
> 
> (There's one '#' missing)
> 
> Try re-downloading the file to make sure it's the right one.

corrected and ran again, output:
  > /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

cache is /home/paka/.cache/darktable

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/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



Re: [darktable-user] darktable 2.4.0 released

2018-01-03 Thread lists
Patrick Shanahan  writes:

> * Tobias Ellinghaus  [01-03-18 04:11]:
>> Am Mittwoch, 3. Januar 2018, 02:23:53 CET schrieb Patrick Shanahan:
>  [...]
>> > 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
>> 
>
> head /usr/share/doc/packages/darktable/tools/purge_from_cache.sh
>
> !/bin/sh

As you can see, this is not what the original script should look like:

https://github.com/darktable-org/darktable/blob/master/tools/purge_from_cache.sh

(There's one '#' missing)

Try re-downloading the file to make sure it's the right one.

-- 
Matthieu Moy
https://matthieu-moy.fr/

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] darktable 2.4.0 released

2018-01-03 Thread Patrick Shanahan
* Tobias Ellinghaus  [01-03-18 04:11]:
> Am Mittwoch, 3. Januar 2018, 02:23:53 CET schrieb Patrick Shanahan:
 [...]
> > 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
> 

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

!/bin/sh

# MIT License
#
# Copyright (c) 2017 Tobias Ellinghaus
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

complete file at:  http://wahoo.no-ip.org/~paka/purge_from_cache.sh

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/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



Re: [darktable-user] darktable 2.4.0 released

2018-01-03 Thread Tobias Ellinghaus
Am Mittwoch, 3. Januar 2018, 02:23:53 CET schrieb Patrick Shanahan:
> * Tobias Ellinghaus  [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



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