Hazel not processing rules in subfolders

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

Moderator: Mr_Noodle

Hazel not processing rules in subfolders Sun Nov 29, 2015 4:52 pm • by SteveH
I have a problem with a tagging rule that runs in folder and tags them according to date ranges. The rule preview shows that it still matches but when I run it, it doesn't add the tags I want.

The error log shows the following:

Code: Select all
2015-11-29 20:46:24.582 hazelworker[20764] [Error] Internal Error.: Hazel has encountered an internal error and cannot process folder Documents. Please check the logs for more details.
SteveH
 
Posts: 12
Joined: Tue Mar 27, 2007 5:22 pm

Can you post a larger excerpt from the logs around this message?
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel not processing rules in subfolders Mon Nov 30, 2015 4:06 pm • by SteveH
No problem.

I paused all my non-tagging rules first for clarity...

Code: Select all
2015-11-30 20:05:07.000 hazelworker[24326] ###main load address: 0x10a0e0000
2015-11-30 20:05:07.002 hazelworker[24326] ###Noodle load address: 0x10a1f4000
2015-11-30 20:05:07.002 hazelworker[24326] ###CK load address: 0x10a1ba000
2015-11-30 20:05:07.054 hazelworker[24326] Processing folder Applications (forced)
2015-11-30 20:05:09.686 hazelworker[24326] Done processing folder Applications
2015-11-30 20:05:15.693 hazelworker[24331] ###main load address: 0x10999f000
2015-11-30 20:05:15.695 hazelworker[24331] ###Noodle load address: 0x109aac000
2015-11-30 20:05:15.695 hazelworker[24331] ###CK load address: 0x109a73000
2015-11-30 20:05:15.722 hazelworker[24331] Processing folder Documents
2015-11-30 20:05:17.901 hazelworker[24331] Could not load internal db /Users/steve/Library/Application Support/Hazel/16777217-506249.hazeldb: Error Domain=NSCocoaErrorDomain Code=3840 "Encountered unexpected character k on line 74556 while looking for close tag" UserInfo={NSDebugDescription=Encountered unexpected character k on line 74556 while looking for close tag, kCFPropertyListOldStyleParsingError=The data couldn’t be read because it isn’t in the correct format.}
2015-11-30 20:05:17.903 hazelworker[24331] [Error] Internal Error.: Hazel has encountered an internal error and cannot process folder Documents. Please check the logs for more details.
2015-11-30 20:05:17.907 HazelHelper[586] Worker process for folder /Users/steve/Documents did not check in.
SteveH
 
Posts: 12
Joined: Tue Mar 27, 2007 5:22 pm

Re: Hazel not processing rules in subfolders Tue Dec 01, 2015 12:50 pm • by Mr_Noodle
It seems that something corrupted one of Hazel's internal database files. I suggest removing the following:

/Users/steve/Library/Application Support/Hazel/16777217-506249.hazeldb

Hazel will reconstruct it next time it runs and hopefully things should work after that.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel not processing rules in subfolders Tue Dec 01, 2015 1:33 pm • by SteveH
Mr_Noodle wrote:It seems that something corrupted one of Hazel's internal database files. I suggest removing the following:

/Users/steve/Library/Application Support/Hazel/16777217-506249.hazeldb

Hazel will reconstruct it next time it runs and hopefully things should work after that.


Thanks. Files now being tagged again.
SteveH
 
Posts: 12
Joined: Tue Mar 27, 2007 5:22 pm


Return to Support