Good script errors in Hazel

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

Moderator: Mr_Noodle

Good script errors in Hazel Sun Jul 29, 2012 7:33 pm • by alex
Hi,

I have a script that works correctly from the console, but when triggered from Hazel it always results in an error:

Code: Select all
2012-07-29 06:12:54.501 hazelworker[4919] [Error] Shell script failed: Error processing shell script on file /Users/alex/Dropbox/Elements/process_me/blog-nosql-2.md.
2012-07-29 06:12:54.501 hazelworker[4919] Shellscript exited with non-successful status code: 1


The rule matches based on a name and extension filter and then triggers the script by using the following embedded script:

Code: Select all
/Users/alex/workspace/python/markdown/mkdn/autoprocess.py "$1"
exit $?


My script never returns status code 1, so there must be something else stopping Hazel from running this script, but I have no ideas.

Thanks in advance for any help or suggestions,

A://
alex
 
Posts: 10
Joined: Mon Sep 12, 2011 3:49 pm

Re: Good script errors in Hazel Sun Jul 29, 2012 9:17 pm • by alex
Forget about it... (when saving my script I've just screwed it and Hazel was triggering it)

A://
alex
 
Posts: 10
Joined: Mon Sep 12, 2011 3:49 pm


Return to Support