Error in rule evaluation - could not retrieve metadata

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

Moderator: Mr_Noodle

Since installing Sierra, I'm getting Hazel notifications about errors in rule evaluation. Checking the logs, I see messages like this:

Code: Select all
2016-10-03 14:42:06.304 hazelworker[5950] [Error] Error during rule evaluation: Received error while trying to evaluate rule PGE bill on file platinum.jpg
2016-10-03 14:42:06.304 hazelworker[5950] Error while matching rule PGE bill against file /Users/david/Downloads/platinum.jpg: Could not retrieve metadata for file: /Users/david/Downloads/platinum.jpg
2016-10-03 14:42:06.304 hazelworker[5950] DEBUG: Tapping error retry sequence
2016-10-03 14:42:06.304 hazelworker[5950] ###main load address: 0x1045bb000
2016-10-03 14:42:06.304 hazelworker[5950] ###Noodle load address: 0x1046d2000
2016-10-03 14:42:06.304 hazelworker[5950] ###CK load address: 0x104699000
2016-10-03 14:42:06.304 hazelworker[5950] (
   0   CoreFoundation                      0x00007fff834687bb __exceptionPreprocess + 171
   1   libobjc.A.dylib                     0x00007fff97bd5a2a objc_exception_throw + 48
   2   hazelworker                         0x00000001045f7cf6 hazelworker + 249078
   3   hazelworker                         0x00000001045f2f25 hazelworker + 229157
   4   Foundation                          0x00007fff84e214dc -[NSObject(NSKeyValueCoding) valueForKey:] + 283
   5   Foundation                          0x00007fff84e1f6c3 -[NSFunctionExpression expressionValueWithObject:context:] + 783
   6   Foundation                          0x00007fff84e20932 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 243
   7   hazelworker                         0x0000000104633829 hazelworker + 493609
   8   hazelworker                         0x00000001046339f1 hazelworker + 494065
   9   hazelworker                         0x0000000104631cda hazelworker + 486618
   10  hazelworker                         0x000000010463e00b hazelworker + 536587
   11  hazelworker                         0x000000010462f84f hazelworker + 477263
   12  hazelworker                         0x0000000104600102 hazelworker + 282882
   13  hazelworker                         0x00000001045c3d50 hazelworker + 36176
   14  hazelworker                         0x00000001045c608a hazelworker + 45194
   15  hazelworker                         0x00000001045c82f4 hazelworker + 54004
   16  libdyld.dylib                       0x00007fff984b1255 start + 1
)


I haven't changed the rule in question in a very long time - any suggestions?
dssinger
 
Posts: 6
Joined: Wed Nov 09, 2011 11:59 am

It means that Spotlight hasn't indexed those files yet. Search online on how to diagnose/fix it. If you installed very recently, then you might want to wait a bit as Spotlight tends to re-index everything after an install/upgrade and it takes some time.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

It looks like Spotlight got clobbered in my upgrade to Sierra. Trying to recover now, using tips from http://apple.stackexchange.com/question ... rra-update

Thanks!
dssinger
 
Posts: 6
Joined: Wed Nov 09, 2011 11:59 am


Return to Support