HAZEL does not recognize WAIT rule

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

Moderator: Mr_Noodle

HAZEL does not recognize WAIT rule Sun Oct 30, 2016 10:21 am • by gutenmorgenuhu
Hi,
I have the following rule at the very top of my rules list for a specific folder.

Image

I want to prevent hazel from scanning PDF files before they have run through OCR. I want hazel to start running all rules on this folder only if the file is older than 3 minutes.
The problem is, that Hazel does not recognize this rule. It runs all other rules and I receive an error (because the un-OCRed PDF File is deleted while hazel works on it, but hazel is not supposed to work on it in the first place):

2016-10-30 15:18:20.624 hazelworker[22296] [Error] Error during rule evaluation: Received error while trying to evaluate rule ATU on file 2016_10_30_15_18_13.pdf
2016-10-30 15:18:20.624 hazelworker[22296] Error while matching rule ATU against file /Users/myuser/Documents/Scans/2016_10_30_15_18_13.pdf: Could not import text from /Users/myuser/Documents/Scans/2016_10_30_15_18_13.pdf.
gutenmorgenuhu
 
Posts: 8
Joined: Sat Oct 15, 2016 2:53 pm

Re: HAZEL does not recognize WAIT rule Mon Oct 31, 2016 11:10 am • by Mr_Noodle
The error is from another rule (ATU).

I'm not sure the rule you listed is correct. It will only go into the folder if it wasn't added in the last three minutes. It doesn't care about the files within. I suggest reading the sticky article on going into subfolders.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: HAZEL does not recognize WAIT rule Sun Nov 06, 2016 3:19 pm • by gutenmorgenuhu
Mr_Noodle wrote:The error is from another rule (ATU).

I'm not sure the rule you listed is correct. It will only go into the folder if it wasn't added in the last three minutes. It doesn't care about the files within. I suggest reading the sticky article on going into subfolders.

Thank you for your answer. Yes the rule is another one (later on the same folder). But the rule ATU should never run at this point in time. It should only run on files older than 3 minutes.

To make it clear: I want one rule on top of all rules which pauses all the other rules until certain conditions are met (older than 3 minutes).
I do not want to set the 3 minutes delay in each rule individually
gutenmorgenuhu
 
Posts: 8
Joined: Sat Oct 15, 2016 2:53 pm

Re: HAZEL does not recognize WAIT rule Mon Nov 07, 2016 12:14 pm • by Mr_Noodle
Try using the preview and rule status features (https://www.noodlesoft.com/kb/hazel-tro ... ing-guide/) to see why it's matching a different rule than the one you expect.

Also, you should be using the "Ignore" action if that is indeed what you want to do.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support