Page 1 of 1

Error during rule evaluation

PostPosted: Wed Aug 13, 2025 6:17 am
by Dingens
Hey
I haven't changed anything in the rules itself, but now I get this error very often:

Code: Select all
2025-08-13 12:12:18.752 hazelworker[46960] [Error] Error during rule evaluation: Received error while trying to evaluate rule DHL-Rechnungen on file WhatsApp Image 2025-06-18 at 12.55.04.jpeg
2025-08-13 12:12:18.752 hazelworker[46960] Error while matching rule DHL-Rechnungen against file /Users/rolf/Downloads/WhatsApp Image 2025-06-18 at 12.55.04.jpeg: Could not retrieve metadata for file: /Users/rolf/Downloads/WhatsApp Image 2025-06-18 at 12.55.04.jpeg
2025-08-13 12:12:18.752 hazelworker[46960] ###Arch: arm64
2025-08-13 12:12:18.752 hazelworker[46960] ###main load address: 0x100948000
2025-08-13 12:12:18.752 hazelworker[46960] ###Hazel Core load address: 0x100be8000
2025-08-13 12:12:18.752 hazelworker[46960] ###Noodle load address: 0x100a48000
2025-08-13 12:12:18.752 hazelworker[46960] ###CK load address: 0x100a00000
2025-08-13 12:12:18.752 hazelworker[46960] (
   0   CoreFoundation                      0x0000000189433ae0 __exceptionPreprocess + 176
   1   libobjc.A.dylib                     0x0000000188ef6b90 objc_exception_throw + 88
   2   HazelCore                           0x0000000100bfab64 hasNSRecords + 15936
   3   HazelCore                           0x0000000100bf795c hasNSRecords + 3128
   4   HazelCore                           0x0000000100c3a3b0 _isDateValue + 22944
   5   HazelCore                           0x0000000100c3ae6c _isDateValue + 25692
   6   HazelCore                           0x0000000100c3ac10 _isDateValue + 25088
   7   Foundation                          0x000000018aa247e4 -[NSCustomPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 852
   8   Foundation                          0x000000018a9977d0 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 320
   9   HazelCore                           0x0000000100c31820 hazelKindFromUTI + 2744
   10  HazelCore                           0x0000000100c34ca0 _isDateValue + 656
   11  HazelCore                           0x0000000100c34e34 _isDateValue + 1060
   12  HazelCore                           0x0000000100c332b4 hazelKindFromUTI + 9548
   13  HazelCore                           0x0000000100c36828 _isDateValue + 7704
   14  HazelCore                           0x0000000100c14a80 errorFromOSAScriptErrorDict + 64464
   15  hazelworker                         0x000000010094d160 hazelworker + 20832
   16  hazelworker                         0x000000010094f5cc hazelworker + 30156
   17  hazelworker                         0x00000001009512e4 hazelworker + 37604
   18  dyld                                0x0000000188f36b98 start + 6076
)


The log is full of these messages, especially in the download folder. Hazel has full disc access. Reboot didn't change anything.
I don't know how to fix it, any thoughts?
Thanks
Rolf

Re: Error during rule evaluation

PostPosted: Wed Aug 13, 2025 8:51 am
by Mr_Noodle
It's a Spotlight issue. You'll need check your Spotlight settings and possibly rebuild your index.

Re: Error during rule evaluation

PostPosted: Fri Aug 15, 2025 4:31 am
by Dingens
hey
Thanks. I reindexed everything, same issue.
What can I do in the settings?
Cheers
Rolf

Re: Error during rule evaluation

PostPosted: Fri Aug 15, 2025 8:52 am
by Mr_Noodle
Look up Spotlight in System Settings.

Also, while you are seeing errors, are you actually observing incorrect behavior?

Re: Error during rule evaluation

PostPosted: Fri Aug 15, 2025 10:02 am
by Dingens
Mr_Noodle wrote:Look up Spotlight in System Settings.


Hey
Thanks
I know where to find Spotlight in the system settings, but I have no idea what to change to make the error message go away. I haven't changed anything before the messages started to come in.
Mr_Noodle wrote:Also, while you are seeing errors, are you actually observing incorrect behavior?


The files are still there, although some of them should be moved. It's only the download folder that seems to be affected, Hazel works great in all other folders.
Cheers
Rolf