Hazel Error If No Source URL

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

Moderator: Mr_Noodle

Hazel Error If No Source URL Sat Apr 25, 2015 8:12 pm • by mrtoner
Hazel will throw an error if a condition includes Source URL and the file has no Source URL. Is there any way to avoid this?

Image
Image
mrtoner
 
Posts: 17
Joined: Thu Mar 15, 2012 11:54 pm

Re: Hazel Error If No Source URL Mon Apr 27, 2015 12:14 pm • by Mr_Noodle
I suggest checking the logs for the real error. The case might be that it has no metadata at all, in which case you need to diagnose your Spotlight setup.
Mr_Noodle
Site Admin
 
Posts: 11867
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel Error If No Source URL Mon Apr 27, 2015 10:44 pm • by mrtoner
Sorry I wasn't more clear. I had already checked the log and saw that the problem was the metadata, specifically for the Source URL:

Code: Select all
2015-04-27 08:31:22.772 hazelworker[760] [Error] Error during rule evaluation: Received error while trying to evaluate rule Iconfinder on file MorrisFamily0037.JPG
2015-04-27 08:31:22.772 hazelworker[760] Error while matching rule Iconfinder against file /Users/don/Downloads/MorrisFamily0037.JPG: Could not retrieve metadata for file: /Users/don/Downloads/MorrisFamily0037.JPG


I'm just expecting that Hazel doesn't report an error when the Source URL (or any piece of metadata) doesn't exist. I guess there's a reason to report an error.

But why this next error?

Code: Select all
2015-04-27 08:31:26.904 hazelworker[760] Error while matching rule Iconfinder against file /Users/don/Downloads/Reflector.dmg: Could not retrieve metadata for file: /Users/don/Downloads/Reflector.dmg


When the metadata *does* exist?

Image
mrtoner
 
Posts: 17
Joined: Thu Mar 15, 2012 11:54 pm

Re: Hazel Error If No Source URL Tue Apr 28, 2015 11:50 am • by Mr_Noodle
That error indicates that none of the Spotlight metadata is available. I'd check your Spotlight privacy settings and also look into how to re-build your Spotlight index (google around for instructions).
Mr_Noodle
Site Admin
 
Posts: 11867
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel Error If No Source URL Thu Apr 30, 2015 10:47 pm • by mrtoner
Okay, rebuilding my Spotlight index seems have fixed that issue.
mrtoner
 
Posts: 17
Joined: Thu Mar 15, 2012 11:54 pm


Return to Support