theophanemayaud / video-simili-duplicate-cleaner

https://theophanemayaud.github.io/video-simili-duplicate-cleaner/
GNU General Public License v3.0
53 stars 5 forks source link

select new cache location does not work on Mac #129

Open Thomasmac opened 1 month ago

Thomasmac commented 1 month ago

Video Simili uses quite a lot of space for caches. They are useful, though. In "Tools" one can set a custom cache location. The app indicates in the main window that the location has been changed BUT

a) the cache file remains empty b) after a new start of the app the selection of the new cache location is ignored. The app uses the default location again

theophanemayaud commented 1 month ago

Hey and thanks for reaching out ! As to b) that is indeed a feature I would like to add but haven't gotten to yet. For a), that is strange. Even after setting a new cache location, and starting a scan, you see the cache.db file remain empty in your newly configured location ?

Thomasmac commented 1 month ago

Hi,

thanks for your quick reply.

b) yes, makes sense because this is the whole idea to permanently set the cache file elsewhere in order not to trash the system partition. Otherwise one has to re-set it each time you run Video Simili.

a) yes, cache file is empty, zero bytes. I put the cache file on an external SSD

Am 09.09.2024 um 13:37 schrieb Théophane Mayaud @.***>:

Hey and thanks for reaching out ! As to b) that is indeed a feature I would like to add but haven't gotten to yet. For a), that is strange. Even after setting a new cache location, and starting a scan, you see the cache.db file remain empty in your newly configured location ?

— Reply to this email directly, view it on GitHub https://github.com/theophanemayaud/video-simili-duplicate-cleaner/issues/129#issuecomment-2337875234, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXENIR4RYV77UOQRGCGMLLZVWB63AVCNFSM6AAAAABN4KVE6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZXHA3TKMRTGQ. You are receiving this because you authored the thread.

theophanemayaud commented 1 month ago

I'm currently writing the feature to remember the cache location between runs. I took the time to test again how the cache works and it very much still does on my m4 Mac.

a. Are you sure you've allowed the app access to the location you put the cache ? macOS should ask you if you want to allow, once you've selected the location.

b. Do you have any error messages in the app ?

c. And last check, when you enable cache only, does it then not find any duplicates anymore (meaning the cache is indeed empty) ?

Thomasmac commented 1 month ago

Hi Theophane,

to answer your questions:

a) VideoSimili has full disk access (to all disks) - checked it in system settings

b) no error message

c) it does find duplicates but it is not generating a cache file. The cache file ist 0 bytes

It does not memorise the selected new cache location either when I re-start the app. It will use the default.

Sanoma 14.6.1, Intel Mac, selected cache file on an external SSD

I can only profit from a cache file when VideoSimili uses the default cache.

Kind regards Thomas

Am 25.09.2024 um 07:18 schrieb Théophane Mayaud @.***>:

I'm currently writing the feature to remember the cache location between runs. I took the time to test again how the cache works and it very much still does on my m4 Mac.

a. Are you sure you've allowed the app access to the location you put the cache ? macOS should ask you if you want to allow, once you've selected the location.

b. Do you have any error messages in the app ?

c. And last check, when you enable cache only, does it then not find any duplicates anymore (meaning the cache is indeed empty) ?

— Reply to this email directly, view it on GitHub https://github.com/theophanemayaud/video-simili-duplicate-cleaner/issues/129#issuecomment-2373041623, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXENIW2VDA7NQBYZYWYN3LZYJBRBAVCNFSM6AAAAABN4KVE6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTGA2DCNRSGM. You are receiving this because you authored the thread.

theophanemayaud commented 1 week ago

I just released v1.11.0 which changes a little how caching works. The cache location is now remembered between restarts. And hopefully this fixes the problem of not caching at all, please comment again if not 🤓

Thomasmac commented 1 week ago

Hi Théophane,

updated the app. Cache location is not saved after restarting the app. Cache.db Size remains 0.

What’s wrong with my system? Intel iMac on Sequioia 15.01., Cache Set on external SSD. Tried a normal HDD. Does not work either.

Do you want me to delete the app completely using an App Cleaner and re-install it? I just don’t understand why it seems to work on your system. Video Simili has full disk access. What more could I do?

Have you tried to set the cache on an external HDDD?

Best regards Thomas

Am 27.10.2024 um 17:27 schrieb Théophane Mayaud @.***>:

I just released v1.11.0 which changes a little how caching works. The cache location is now remembered between restarts. And hopefully this fixes the problem of not caching at all, please comment again if not 🤓

— Reply to this email directly, view it on GitHub https://github.com/theophanemayaud/video-simili-duplicate-cleaner/issues/129#issuecomment-2440087632, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXENIVWI27NF6WUV5KIY33Z5UA4LAVCNFSM6AAAAABN4KVE6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBQGA4DONRTGI. You are receiving this because you authored the thread.

theophanemayaud commented 1 week ago

Oh no ! Yes I tried multiple scenarios including external disk, and they all work. I'm on arm though, but tested when running through rosetta so it shouldn't make a difference...

Does the default cache location also still not work ? If you navigate to the cache location as indicated by the log message (or just hit "open log folder" as the log files are in the same folder as the default cache location), what size is the cache.db file ?

Thomasmac commented 1 week ago

Hi Théophane

I just tested it on my Macbook Air M1 (arm). I installed the new version.

I set the cache file to the download folder on the system SSD. I did a test run. App found vids. Cache.db file size is zero „0“. When re-starting the app the custom location is ignored (not saved).

So, on my iMac (Intel) and on my MacBook Air the custom cache location is ignored and the app does not even generate data in the set Cache-file.

I wonder what you do on your machine to make it work.

Clean install?

I mean, this is over my head because my Macbook Air is almost naked - does not have a lot of thrid party software installed that could interfere with your app.

Have your tried on a friend’s Mac?

Regards Thomas

Am 28.10.2024 um 11:13 schrieb Théophane Mayaud @.***>:

Oh no ! Yes I tried multiple scenarios including external disk, and they all work. I'm on arm though, but tested when running through rosetta so it shouldn't make a difference...

Does the default cache location also still not work ? If you navigate to the cache location as indicated by the log message (or just hit "open log folder" as the log files are in the same folder as the default cache location), what size is the cache.db file ?

— Reply to this email directly, view it on GitHub https://github.com/theophanemayaud/video-simili-duplicate-cleaner/issues/129#issuecomment-2441148784, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXENIUJ6J4IOMUI7LUVPS3Z5X52XAVCNFSM6AAAAABN4KVE6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBRGE2DQNZYGQ. You are receiving this because you authored the thread.

theophanemayaud commented 1 week ago

Good suggestion, but yes I did try on other arm computers, and the cache works. In the default location, or in a new location, it grows. However there does seem to be a bug with remembering the new cache location, this setting doesn't seem to persist correctly. I'll look for a fix