Hmm. Made a mistake there.
A more thorough check on the laptop running Mojave 10.14.6 and Safari 13.1.1 shows the same problem: spinning gear wheel in the menu bar which then shows 'failed' after quitting Safari and the clear cache script runs.
try the following command on the scripts:
chmod +x clearSafariTPCache.sh chmod +x clearSafariTPHistory.sh
Did as requested.
This is the directory listing BEFORE the +x commands:
And this is the +x commands and the "new" directory listing:
And this is the directory path in question:
A quit/relaunch/quit of SafariTP still results in this:
Ive just uploaded a new beta, which I hope fixes the problem:
If you can download the beta and try that, then let me know how it goes.
You should be prompted to update the scripts when they are required.
Quit Cookie. Replaced the app with the new beta. Relaunched Cookie. Quit SafariTP. Got prompted to update one script, which seemed to be successful, as I got the "OK" dialog. However - and this is all part of this single instance of quitting SafariTP - I got this:
After posting the above message, I quit SafariTP again at which point I saw this:
and then, after several minutes, this:
Please note, however, that my history is being deleted from SafariTP upon quit/relaunch:
I don't know how to check to see if my cache data is being removed or not...
Also note that I see tons of messages like this in Console after quitting SafariTP:
Sandbox: find(31092) System Policy: deny(1) file-read-metadata /private/var/folders/8c/t4q625mn1sv94y7z9w5k8zzc0000gn/0/com.apple.Safari/SafariFamily
SweetP last edited by SweetP
Ive been doing some reading,
it looks as though support for running these scripts has been deprecated in one of the Catalina updates...
<edit>support is still there, but the cache removal script was trying to remove data from a protected folder - and this was causing the fail I think</edit>
I'll try and find a way to implement them some other way, or even see if they are still necessary at all...
so it looks as though Cookie can now do its job without the cache removal script.
Ill look into a solution for fixing the history removal. and upload a new beta when I have a solution
@SweetP Thank you.
To reiterate: my history IS being deleted as expected (upon SafariTP quit); I can't tell if my cache is being deleted or not.
SweetP last edited by SweetP
Ive just uploaded beta v220.127.116.11
Im hoping this one finally fixes the issue
The cache script is no longer required, and the history script has been updated. the history script is only used to remove recent search terms, so you might not have even noticed if it was failing
Well, I no longer see the little spinning gear appear in my menu bar upon quit of SafariTP, and there's no other sign of Cookie having issues... So I think things are looking good! Thanks!
EDIT: I just saw the tiny gear flash on in the menu bar upon quit of SafariTP - but only for an instant.
@HFTobeason super nice!
thanks for testing
@HFTobeason the history script should still run - but hopefully it’s not failing. It should also be deleting your recent searches in safari.