Error during rule evaluation.

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

Moderator: Mr_Noodle

Error during rule evaluation. Mon Nov 04, 2024 9:55 am • by scottfwalter
Hi,

I didn't know if I should submit a support issue here or on the website so I will start here first. I am using Hazel 6.0.2 and macOS Sequoia 15.1. Anytime I download a file to my Downloads folder (which is on iCloud) I get this notification:

Code: Select all
Error during rule evaluation
Received error while trying to evaluate rule Delete SRT Files on file vecteezy_merry-christmas-and-happy-new-year-banner_26789725.jpg


This is what the log file shows:
Code: Select all
2024-11-04 07:47:35.275 hazelworker[67071] DEBUG: Caught exception trying to get metadata to extract content type for file /Users/scott/Library/Mobile Documents/com~apple~CloudDocs/Downloads/vecteezy_magic-christmas-winter-house_27032525.jpg: Could not retrieve metadata for file: /Users/scott/Library/Mobile Documents/com~apple~CloudDocs/Downloads/vecteezy_magic-christmas-winter-house_27032525.jpg
2024-11-04 07:47:35.276 hazelworker[67071] [Error] Error during rule evaluation: Received error while trying to evaluate rule Delete SRT Files on file vecteezy_magic-christmas-winter-house_27032525.jpg
2024-11-04 07:47:35.276 hazelworker[67071] Error while matching rule Delete SRT Files against file /Users/scott/Library/Mobile Documents/com~apple~CloudDocs/Downloads/vecteezy_magic-christmas-winter-house_27032525.jpg: Could not retrieve metadata for file: /Users/scott/Library/Mobile Documents/com~apple~CloudDocs/Downloads/vecteezy_magic-christmas-winter-house_27032525.jpg                                                                                                                                                                                                             2024-11-04 07:47:35.276 hazelworker[67071] DEBUG: Tapping error retry sequence
2024-11-04 07:47:35.276 hazelworker[67071] ###Arch: arm64
2024-11-04 07:47:35.276 hazelworker[67071] ###main load address: 0x1043d4000                                                                                                                                                                                                                      2024-11-04 07:47:35.276 hazelworker[67071] ###Hazel Core load address: 0x1045a4000
2024-11-04 07:47:35.276 hazelworker[67071] ###Noodle load address: 0x10489c000
2024-11-04 07:47:35.276 hazelworker[67071] ###CK load address: 0x10448c000                                                                                                                                                                                                                        2024-11-04 07:47:35.276 hazelworker[67071] (
        0   CoreFoundation                      0x0000000181b20300 __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x0000000181606cd8 objc_exception_throw + 88                                                                                                                                                                                                              2   HazelCore                           0x00000001045b814c hasNSRecords + 15936
        3   HazelCore                           0x00000001045b4f44 hasNSRecords + 3128
        4   HazelCore                           0x00000001045f6e58 _isDateValue + 22944                                                                                                                                                                                                                   5   Foundation                          0x0000000182cfe02c -[NSCustomPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 848
        6   Foundation                          0x0000000182c71340 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 320
        7   HazelCore                           0x00000001045ee2dc hazelKindFromUTI + 2744                                                                                                                                                                                                                8   HazelCore                           0x00000001045f1748 _isDateValue + 656
        9   HazelCore                           0x00000001045f18dc _isDateValue + 1060
        10  HazelCore                           0x00000001045efd50 hazelKindFromUTI + 9516                                                                                                                                                                                                                11  HazelCore                           0x00000001045f32d0 _isDateValue + 7704
        12  HazelCore                           0x00000001045d190c errorFromOSAScriptErrorDict + 64512
        13  hazelworker                         0x00000001043d9160 hazelworker + 20832                                                                                                                                                                                                                    14  hazelworker                         0x00000001043db5cc hazelworker + 30156
        15  hazelworker                         0x00000001043dd2e4 hazelworker + 37604
        16  dyld                                0x0000000181644274 start + 2840                                                                                                                                                                                                                   )


Thanks, Scott.
scottfwalter
 
Posts: 49
Joined: Thu Jan 03, 2013 11:10 am

Re: Error during rule evaluation. Mon Nov 04, 2024 11:10 am • by Mr_Noodle
That indicates that the file is not indexed by Spotlight. You'll need to check your Spotlight config, making sure that you didn't exclude that folder/file and such. Also, if you upgraded your OS recently, it will do a re-index which can take a very long time.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Error during rule evaluation. Mon Nov 04, 2024 11:13 am • by scottfwalter
Ahh you are right. I was having a problem with macOS 15.1 where the Spotlight process was going crazy and chewing up all my disk space and causing my Mac to crash. I had to disable Spotlight. I will enable Spotlight to see if the issue went away.

Thanks for the quick reply.
scottfwalter
 
Posts: 49
Joined: Thu Jan 03, 2013 11:10 am


Return to Support

cron