After upgrading to Sierra, my Hazel rules began throwing an error and files weren't getting imported into EagleFiler.
I checked the log and searched the internet and found a solution to fix it.
I just needed to use Terminal and reinstall xcode.
xcode-select --installIt seems Hazel could no longer execute shell scripts after I installed Sierra because Xcode needs to be re-authenticated after upgrading to Sierra.
This was the log entry after the error:
- Code: Select all
})(shellscript:/bin/bash:38dd7e485b45b30e981d7e23c20449b9,{
})(rename:(
"{dateCreated}",
"--BankNameHere"
),{
})(move:/Users/bartholomewd/Documents/Paperless-Library_local/Files/Documents/Banking-Financial,{
keepFolderStructure = 0;
replaceExisting = 0;
throwAwayDupes = 0;
})(applescript:,{
})}
2016-11-11 17:28:14.115 hazelworker[8796] DEBUG: == script output ==
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
== End script output ==
So as I said above, to fix the shell script issue after upgrading to Sierra, open Terminal and paste"
xcode-select --installThen, hit Return.
MacOS will ask you to enter your password, re-authenticating the Xcode command line tools. And then re-run Hazel and things may work just fine again. They did for me.
-Dave