File type not supported

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

File type not supported 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.
goldsbrough
 
Posts: 2
Joined: Fri Nov 03, 2023 5:17 pm

Re: File type not supported 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.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: File type not supported 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:
goldsbrough
 
Posts: 2
Joined: Fri Nov 03, 2023 5:17 pm


Return to Support

cron