hazel stopped working unless 'forced'

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

Moderator: Mr_Noodle

hazel stopped working unless 'forced' Tue Mar 31, 2015 3:04 am • by stuckagain
I have been using Hazel for some while with great success. However, it no longer seems to run automatically. The first folder I have done detailed review of is 'Downloads'. The 'eye' button show the rules that each file should trigger. Pressing 'Run Rules now', runs everything as it should happen. But if I don't force run nothing happens for hours on end.

My logs since staring the computer (from a powered off state) say ...

Code: Select all
2015-03-31 07:17:07.374 HazelHelper[418] HazelHelper v3.3.4 launching.
2015-03-31 07:17:07.374 HazelHelper[418] ###main load address: 0x0
2015-03-31 07:17:07.374 HazelHelper[418] ###Noodle load address: 0x10760a000
2015-03-31 07:17:07.375 HazelHelper[418] ###CK load address: 0x107749000
2015-03-31 07:18:51.290 HazelHelper[418] Attempted to run worker on undeployed folder: /Users/myusername/Downloads.
2015-03-31 07:19:06.289 HazelHelper[418] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/_action.
2015-03-31 07:19:21.287 HazelHelper[418] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/Apps/Textsoap/cleaner-backups.
2015-03-31 07:19:25.466 HazelHelper[418] Attempted to run worker on undeployed folder: /Users/myusername/Downloads.
2015-03-31 07:19:26.216 HazelHelper[418] Attempted to run worker on undeployed folder: /Users/myusername/Downloads.
2015-03-31 07:19:27.184 HazelHelper[418] Attempted to run worker on undeployed folder: /Users/myusername/Downloads.
2015-03-31 07:19:36.287 HazelHelper[418] Attempted to run worker on undeployed folder: /Users/myusername/Desktop/File name to creation date.
2015-03-31 07:19:51.286 HazelHelper[418] Attempted to run worker on undeployed folder: /Users/myusername/Pictures.


After I 'force run' rules the logs say ...

Code: Select all
2015-03-31 07:50:12.047 hazelworker[1017] ###main load address: 0x10b421000
2015-03-31 07:50:12.048 hazelworker[1017] ###Noodle load address: 0x10b533000
2015-03-31 07:50:12.048 hazelworker[1017] ###CK load address: 0x10b4f9000
2015-03-31 07:50:12.078 hazelworker[1017] Processing folder Downloads (forced)
2015-03-31 07:50:14.238 hazelworker[1017] LBB+RDSH+Desktop0ud4xw4z4vjlyqo0l2ps1woz.pit: Rule Delete old PIT files matched.
2015-03-31 07:50:14.240 hazelworker[1017] [File Event] File moved: LBB+RDSH+Desktop0ud4xw4z4vjlyqo0l2ps1woz.pit moved from folder /Users/myusername/Downloads to folder /Users/myusername/.Trash.
2015-03-31 07:50:14.247 hazelworker[1017] LBB+RDSH+Desktopieg53yclhqxysoupxwfi4vyd.pit: Rule Delete old PIT files matched.
2015-03-31 07:50:14.284 hazelworker[1017] [File Event] File moved: LBB+RDSH+Desktopieg53yclhqxysoupxwfi4vyd.pit moved from folder /Users/myusername/Downloads to folder /Users/myusername/.Trash.
2015-03-31 07:50:14.286 hazelworker[1017] Michelle Thrale - Payslip for Week 51[2014-15].PDF: Rule Move PDF to '_OCR PDFs' matched.
2015-03-31 07:50:14.324 hazelworker[1017] Received abort event.
2015-03-31 07:50:16.426 hazelworker[1017] Received abort event.
2015-03-31 07:50:16.427 hazelworker[1017] Done processing folder Downloads


BTW the previous day I tried the workaround described by lmarie @ Fri Sep 06, 2013 8:48 pm on the forum posting at viewtopic.php?f=4&t=2372

Can you help me get my beloved Hazel working again?

Thanks
stuckagain
 
Posts: 7
Joined: Mon Dec 16, 2013 5:54 pm

Re: hazel stopped working unless 'forced' Tue Mar 31, 2015 11:43 am • by Mr_Noodle
Try the following:
  • Export the rules for that folder
  • Remove the folder from Hazel
  • Add the folder back in to Hazel
  • Import your rules back into the folder. Re-enable them as necessary.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: hazel stopped working unless 'forced' Tue Mar 31, 2015 12:40 pm • by stuckagain
In a round about way, my first post clumsily tried to explain that I had already done that without any success.

BTW the previous day I tried the workaround described by lmarie @ Fri Sep 06, 2013 8:48 pm on the forum posting at viewtopic.php?f=4&t=2372


Any other suggestions?
stuckagain
 
Posts: 7
Joined: Mon Dec 16, 2013 5:54 pm

Re: hazel stopped working unless 'forced' Tue Mar 31, 2015 3:14 pm • by Mr_Noodle
Are you still getting the undeployed folder messages? That indicates that the folder is not being tracked by Hazel.

Another thing to check: look at Library/PreferencePanes both at the top of your drive and under your home folder. There should only be one copy between the two locations. If there are multiple copies, delete all but the one under your home folder. Reboot after doing this.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: hazel stopped working unless 'forced' Tue Mar 31, 2015 6:00 pm • by stuckagain
I rebooted.

The for a second time I:
  • Export the rules for that folder
  • Remove the folder from Hazel
  • Add the folder back in to Hazel
  • Import your rules back into the folder. Re-enable them as necessary.

I checked my logs, which now say:

Code: Select all
2015-03-31 22:51:56.959 HazelHelper[448] Attempted to run worker on undeployed folder: /Users/myusername/Downloads.


I checked both Library/PreferencePanes and only the one in my home drive has Hazel.prefPane. The eye button still correctly recognises files as passing the Hazel rules, but Hazel doesn't process them (mainly simple stuff like moving to trash or moving to another folder. The root library PreferencesPanes has just Java and Flash panes.

Any other thoughts?
stuckagain
 
Posts: 7
Joined: Mon Dec 16, 2013 5:54 pm

Re: hazel stopped working unless 'forced' Wed Apr 01, 2015 12:49 pm • by Mr_Noodle
Is the Downloads folder an another drive? Also, what happens if you rename the Downloads folder then rename it back?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: hazel stopped working unless 'forced' Wed Apr 01, 2015 4:59 pm • by stuckagain
The Downloads folder is the Mac system downloads folder in my user area. It is in the internal system drive of my Mac. For this reason I cannot rename the folder.

I deleted the Download folder in Hazel. I then created a new empty folder on my desktop called 'test'. I copied the contents of the Download folder over. Then in Hazel I added the test folder, imported all the rules from the test folder and the eye button confirms that the rules are matched in Hazel for the test folder. Then nothing happens. The log says ...

Code: Select all
2015-04-01 21:50:31.681 HazelHelper[424] Attempted to run worker on undeployed folder: /Users/myusername/Desktop/test.


I should also add that as far as I can see from the logs that none of the watched folders have been processed for several days now. The log at the point when the last file was processed successfully says:

Code: Select all
2015-03-27 12:40:26.006 hazelworker[2842] to-rename-00126.jpg: Rule Tag 'On Flickr' matched.
2015-03-27 12:40:26.011 hazelworker[2842] to-rename-00143.jpg: Rule Tag 'On Flickr' matched.
2015-03-27 12:40:26.041 hazelworker[2842] Received abort event.
2015-03-27 12:40:26.537 HazelHelper[423] Attempted to run worker on undeployed folder: /Users/myusername/Pictures.
2015-03-27 12:40:28.052 hazelworker[2842] Received abort event.
2015-03-27 12:40:28.053 hazelworker[2842] Done processing folder Flickr upload
2015-03-27 12:40:41.537 HazelHelper[423] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/financial/receipts.


I hope this helps you to help me.

Thanks
stuckagain
 
Posts: 7
Joined: Mon Dec 16, 2013 5:54 pm

Re: hazel stopped working unless 'forced' Wed Apr 01, 2015 5:10 pm • by stuckagain
I have just had a thought. In the logs at the point when it seems to have stopped working, all the successfully processed actions refer to something called Hazelworker, yet all the lines that have since failed refer to Hazel Helper. Is this of any significance?

Code: Select all
2015-03-27 12:40:26.006 hazelworker[2842] to-rename-00126.jpg: Rule Tag 'On Flickr' matched.
2015-03-27 12:40:26.011 hazelworker[2842] to-rename-00143.jpg: Rule Tag 'On Flickr' matched.
2015-03-27 12:40:26.041 hazelworker[2842] Received abort event.
2015-03-27 12:40:26.537 HazelHelper[423] Attempted to run worker on undeployed folder: /Users/myusername/Pictures.
2015-03-27 12:40:28.052 hazelworker[2842] Received abort event.
2015-03-27 12:40:28.053 hazelworker[2842] Done processing folder Flickr upload
2015-03-27 12:40:41.537 HazelHelper[423] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/financial/receipts.2015-03-27 12:40:56.536 HazelHelper[423] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/work.
2015-03-27 12:41:11.536 HazelHelper[423] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox.
stuckagain
 
Posts: 7
Joined: Mon Dec 16, 2013 5:54 pm

Re: hazel stopped working unless 'forced' Thu Apr 02, 2015 11:13 am • by Mr_Noodle
HazelHelper and hazelworker are separate processes and that isn't a concern.

I find it very odd that Hazel loses track of the folder right off the bat. There is definitely something strange going on here. Can you try something else? Launch Activity Monitor. Select HazelHelper and do "Sample Process". Email support with the output of that.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: hazel stopped working unless 'forced' Thu Apr 02, 2015 11:27 am • by stuckagain
Output sent as requested
stuckagain
 
Posts: 7
Joined: Mon Dec 16, 2013 5:54 pm

Re: hazel stopped working unless 'forced' Sun Apr 05, 2015 7:58 am • by stuckagain
Bartender closed. 20 minutes later, Hazel still not working.

Logs say ...

2015-04-05 12:05:13.095 HazelHelper[430] HazelHelper v3.3.4 launching.
2015-04-05 12:05:13.146 HazelHelper[430] ###main load address: 0x0
2015-04-05 12:05:13.146 HazelHelper[430] ###Noodle load address: 0x102f4a000
2015-04-05 12:05:13.146 HazelHelper[430] ###CK load address: 0x10308d000
2015-04-05 12:50:06.092 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/_action.
2015-04-05 12:50:21.091 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/Apps/Textsoap/cleaner-backups.
2015-04-05 12:50:36.090 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Desktop/File name to creation date.
2015-04-05 12:50:51.089 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Pictures.
2015-04-05 12:51:06.088 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/financial/receipts.
2015-04-05 12:51:21.087 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/work/david.
2015-04-05 12:51:36.086 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox.
2015-04-05 12:51:51.085 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/work/david/Brent.
2015-04-05 12:52:06.084 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/Apps/nvAlt.
2015-04-05 12:52:21.083 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/Screenshots.
2015-04-05 12:52:36.082 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Library/Application Scripts/com.omnigroup.OmniFocus2.
2015-04-05 12:52:51.081 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Dropbox/software and scripts/Mac/backups/omnifocus-data.
2015-04-05 12:53:06.081 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Music/iTunes.
2015-04-05 12:53:21.080 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Music/iTunes/Previous iTunes Libraries.
2015-04-05 12:53:36.078 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/Library/Containers/com.omnigroup.OmniFocus2/Data/Library/Application Support/OmniFocus/Backups.
2015-04-05 12:53:51.078 HazelHelper[430] Attempted to run worker on undeployed folder: /Users/myusername/.Trash.


Any further ideas?
stuckagain
 
Posts: 7
Joined: Mon Dec 16, 2013 5:54 pm

Re: hazel stopped working unless 'forced' Mon Apr 06, 2015 3:01 pm • by Mr_Noodle
Can you email in the new process sample?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron