Why Doesn't Hazel Automatically Run?

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

Moderator: Mr_Noodle

Why Doesn't Hazel Automatically Run? Fri Jul 05, 2019 10:15 am • by chrisbog
I have been having a problem where Hazel will not automatically process rules on my home Mac. Basically, I download the files. The rules work by they stay unprocessed.

One way to trigger the rule is to open it in Preview. Once I close Preview, the rule runs, and processes.
This seems to happen all the time.

Even if I run Rules Now, it doesn't seem to trigger it. However, once I open in Preview, it automatically works.


I did find this in my System Log:
Jul 5 10:08:05 Home-iMac HazelHelper[674]: assertion failed: 18F132: libxpc.dylib + 90677 [9A0FFA79-082F-3293-BF49-63976B073B74]: 0x89

When I manually forced them to run again, I got the following and it seemed to work:
default 10:14:15.115016 -0400 hazelworker UNIX error exception: 17
default 10:14:15.117965 -0400 hazelworker UNIX error exception: 17
default 10:14:15.120160 -0400 hazelworker UNIX error exception: 17
default 10:14:15.122042 -0400 hazelworker UNIX error exception: 17
default 10:14:17.993364 -0400 launchservicesd CHECKIN:0x0-0x16eb6ea 9521 com.noodlesoft.hazelimporter
default 10:14:17.995370 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:18.114149 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:18.313572 -0400 launchservicesd CHECKIN:0x0-0x16ec6eb 9522 com.noodlesoft.hazelimporter
default 10:14:18.314700 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:18.360784 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:18.517716 -0400 launchservicesd CHECKIN:0x0-0x16ed6ec 9523 com.noodlesoft.hazelimporter
default 10:14:18.519104 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:18.591388 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:18.857725 -0400 launchservicesd CHECKIN:0x0-0x16ee6ed 9524 com.noodlesoft.hazelimporter
default 10:14:18.859283 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:18.877574 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:19.105251 -0400 launchservicesd CHECKIN:0x0-0x16ef6ee 9525 com.noodlesoft.hazelimporter
default 10:14:19.106411 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:19.262438 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:19.482258 -0400 launchservicesd CHECKIN:0x0-0x16f06ef 9526 com.noodlesoft.hazelimporter
default 10:14:19.483403 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:19.522503 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:19.669612 -0400 launchservicesd CHECKIN:0x0-0x16f16f0 9527 com.noodlesoft.hazelimporter
default 10:14:19.670715 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:20.166261 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:20.310783 -0400 launchservicesd CHECKIN:0x0-0x16f26f1 9528 com.noodlesoft.hazelimporter
default 10:14:20.312396 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:20.412191 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:20.612692 -0400 launchservicesd CHECKIN:0x0-0x16f36f2 9532 com.noodlesoft.hazelimporter
default 10:14:20.613589 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:20.645254 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:20.795477 -0400 launchservicesd CHECKIN:0x0-0x16f46f3 9533 com.noodlesoft.hazelimporter
default 10:14:20.796770 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:20.923256 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:21.058602 -0400 launchservicesd CHECKIN:0x0-0x16f56f4 9535 com.noodlesoft.hazelimporter
default 10:14:21.059998 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:21.087673 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:21.210483 -0400 launchservicesd CHECKIN:0x0-0x16f66f5 9536 com.noodlesoft.hazelimporter
default 10:14:21.211810 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:21.522721 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:21.666312 -0400 launchservicesd CHECKIN:0x0-0x16f76f6 9537 com.noodlesoft.hazelimporter
default 10:14:21.667590 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:21.821941 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:22.025577 -0400 launchservicesd CHECKIN:0x0-0x16f86f7 9538 com.noodlesoft.hazelimporter
default 10:14:22.026753 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:22.122049 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:22.270879 -0400 launchservicesd CHECKIN:0x0-0x16f96f8 9539 com.noodlesoft.hazelimporter
default 10:14:22.272387 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:22.288825 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:22.449129 -0400 launchservicesd CHECKIN:0x0-0x16fa6f9 9540 com.noodlesoft.hazelimporter
default 10:14:22.449596 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:22.495153 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:22.664393 -0400 launchservicesd CHECKIN:0x0-0x16fb6fa 9541 com.noodlesoft.hazelimporter
default 10:14:22.665976 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:22.729979 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:22.965786 -0400 launchservicesd CHECKIN:0x0-0x16fc6fb 9542 com.noodlesoft.hazelimporter
default 10:14:22.966589 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:23.115351 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:23.303910 -0400 launchservicesd CHECKIN:0x0-0x16fd6fc 9543 com.noodlesoft.hazelimporter
default 10:14:23.305305 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:23.337728 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:23.491113 -0400 launchservicesd CHECKIN:0x0-0x16fe6fd 9544 com.noodlesoft.hazelimporter
default 10:14:23.494036 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:23.572613 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:23.802695 -0400 launchservicesd CHECKIN:0x0-0x16ff6fe 9545 com.noodlesoft.hazelimporter
default 10:14:23.803463 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:23.872230 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:24.075640 -0400 launchservicesd CHECKIN:0x0-0x17006ff 9546 com.noodlesoft.hazelimporter
default 10:14:24.077400 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:24.222047 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:24.384679 -0400 launchservicesd CHECKIN:0x0-0x1701700 9547 com.noodlesoft.hazelimporter
default 10:14:24.385482 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:24.422283 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:24.786722 -0400 launchservicesd CHECKIN:0x0-0x1702701 9548 com.noodlesoft.hazelimporter
default 10:14:24.787948 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:24.872338 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2
default 10:14:27.707825 -0400 launchservicesd CHECKIN:0x0-0x1703702 9550 com.noodlesoft.hazelimporter
default 10:14:27.709326 -0400 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] | checked in app : hazelimporter
default 10:14:27.871955 -0400 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:hazelimporter, _appTrackingState = 2



However, it is not 100% accurate. Any ideas!
chrisbog
 
Posts: 3
Joined: Sat Jan 25, 2014 9:37 am

Re: Why Doesn't Hazel Automatically Run? Fri Jul 05, 2019 6:05 pm • by carpii
Which version of Hazel? There was a new release recently

Can you share the exact rule you have created, so people can try to reproduce it?

UNIX error exception: 17 - This error means 'File Exists', but really doesn't shed any light on the issue you're having (and may not even be related).

Preview always seems to update or touch various files simply when previewing a document. It drives me crazy sometimes, but it may be why your rules are suddenly kicking in after Preview touches them.
carpii
 
Posts: 7
Joined: Sun Sep 04, 2016 5:26 pm

Re: Why Doesn't Hazel Automatically Run? Mon Jul 08, 2019 11:02 am • by Mr_Noodle
Are you using "Contents contain" in your rules? If so, then it might be a Spotlight issue. As noted, opening a file in Preview for some reason will trigger certain things, like possibly indexing the file in Spotlight. You might want to look into diagnosing your Spotlight configuration in that case.

Alternatively, you can try using "Contents contain match". It bypasses Spotlight but is a bit more resource intensive.
Mr_Noodle
Site Admin
 
Posts: 8110
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support