Error notifications matching file types

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

Moderator: Mr_Noodle

I have a recent issue with some rules that attempt to match file types. Specifically, I am receiving error notifications about rules not matching *other* file types.

Example:

- I have a rule which will move PDFs from my Downloads folder if they were not added "today".
- I receive the notification "Error during rule evaluation. Received error while trying to evaluate rule 'PDFs - Move to Inbox after today' on file xxx.dmg"

Note the error is attempting to match the PDF rule to a DMG. Rather than receive an error notification, shouldn't the rule just bypass the non-PDF file without any issue?

The rule in this example is...

If all conditions are met:

1. Kind - is - PDF
2. Date last modified - is not - Today

Do:

Move - to folder - Inbox

...

I am also receiving this same error notification for:

- DMG rule failing to match PKG
- DMG rule failing to match ICS
- DMG rule failing to match a folder
- PDF rule failing to match DMG

The only other file-type rule I have is Music, which appears to match fine - though I may have missed a similar error notification. The above are only my recent ones.

Perhaps I am missing something easy, but any help or guidance is much appreciated!

Thanks!
brooklyn architect
 
Posts: 3
Joined: Thu Sep 18, 2014 12:40 pm

Re: Error notifications matching file types Mon Aug 10, 2015 1:31 pm • by Mr_Noodle
Check the logs ("Info"->"View Log") and search for the error in question. Post it here or email it in and I'll be better able to tell what's going on.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thanks for the fast reply. The error log is below. I note several similar errors, where the common note is "could not retrieve metadata... "

Of course, I don't really know what I'm looking for, so I'll leave that to you! :-)

[side note: out of a small privacy concern, I changed the user directory to "name". That's the only edit I made here.]

2015-08-09 21:47:42.550 hazelworker[632] [Error] Error during rule evaluation: Received error while trying to evaluate rule PDFs - Move to Inbox after today on file Popcorn-Time-0.3.8-2-Mac.dmg
2015-08-09 21:47:42.550 hazelworker[632] Error while matching rule PDFs - Move to Inbox after today against file /Users/name/Downloads/Popcorn-Time-0.3.8-2-Mac.dmg: Could not retrieve metadata for file: /Users/name/Downloads/Popcorn-Time-0.3.8-2-Mac.dmg
2015-08-09 21:47:42.550 hazelworker[632] ###main load address: 0x107abf000
2015-08-09 21:47:42.550 hazelworker[632] ###Noodle load address: 0x107bca000
2015-08-09 21:47:42.550 hazelworker[632] ###CK load address: 0x107b92000
2015-08-09 21:47:42.550 hazelworker[632] (
0 CoreFoundation 0x00007fff941ce03c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8dbb776e objc_exception_throw + 43
2 hazelworker 0x0000000107af1903 hazelworker + 207107
3 hazelworker 0x0000000107aed655 hazelworker + 190037
4 hazelworker 0x0000000107b052b6 hazelworker + 287414
5 Foundation 0x00007fff92f70a7e -[NSPredicateOperator performOperationUsingObject:andObject:] + 285
6 Foundation 0x00007fff92f7081d -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 313
7 hazelworker 0x0000000107b2718d hazelworker + 426381
8 hazelworker 0x0000000107b27282 hazelworker + 426626
9 hazelworker 0x0000000107b25e60 hazelworker + 421472
10 hazelworker 0x0000000107b30a9e hazelworker + 465566
11 hazelworker 0x0000000107b243cb hazelworker + 414667
12 hazelworker 0x0000000107af8723 hazelworker + 235299
13 hazelworker 0x0000000107ac6734 hazelworker + 30516
14 hazelworker 0x0000000107ac80e3 hazelworker + 37091
15 hazelworker 0x0000000107ac9e2d hazelworker + 44589
16 libdyld.dylib 0x00007fff948b25c9 start + 1
)
brooklyn architect
 
Posts: 3
Joined: Thu Sep 18, 2014 12:40 pm

Re: Error notifications matching file types Tue Aug 11, 2015 1:59 pm • by Mr_Noodle
That means that Spotlight hasn't indexed those files for whatever reason. Google around on how to re-index your files as you'll need to fix that for Hazel to work properly.
Mr_Noodle
Site Admin
 
Posts: 11868
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Got it. Thanks!
brooklyn architect
 
Posts: 3
Joined: Thu Sep 18, 2014 12:40 pm


Return to Support