Page 1 of 1

File type not supported

PostPosted: Thu Jan 11, 2024 4:57 am
by goldsbrough
When I get this error in the log, how do I identify the file that is being processed?

Code: Select all
2024-01-11 08:52:24.956 hazelworker[45450] File type not supported: {(
    "public.item",
    "public.folder",
    "public.directory"
)}


I've tried using debug mode and rule status, but I haven't been able to figure out where to look for the problem.

Re: File type not supported

PostPosted: Thu Jan 11, 2024 9:32 am
by Mr_Noodle
That error is usually not a big deal. It happens when you try to match on Contents on a file type that Hazel can't read. In this case, a folder. You can tighten up your rule conditions if you want to get rid of the errors.

Re: File type not supported

PostPosted: Thu Jan 11, 2024 12:16 pm
by goldsbrough
I think I've solved it. I've moved the test of the file's KIND=PDF to the top of the tests in the rules. I didn't realise that the tests would be evaluated in sequence. Having done that, no more errors. Obvious, when you know how. :roll: