Hi all, just ran over this post whist looking for something similar. I too have had this issue of what was a very stable in production and reliable set of apple scripts since MACOSX 10.4 that seem to somethimes stall or donot get triggered and appeared stalled (as in never started) after a folder action (delete or add) occurs. . THese are a set of FOLDER ACTION SCRIPTS on a bunch of folders.
These scripts are running on MAC OSX 10.8.2 currently on a mac mini (server).
The production scripts are mainatined locally in my home at ~/Library/scripts/Folder action scripts and are confined to a specific user that operate on a set of globally (also NFS) shared folders for others to submit and retrieve work for transcoding. THese set of applescripts controll a set number of workflows and have been working mostly flawlessly for several years.
I have posted a workaround that seems to remedy a "stuck" | untriggered folderaction script in this postin this thread at
https://discussions.apple.com/thread/4257025?answerId=21100695022#21100695022
bugaboo and myths used to attempt to kick start these scripts: I'll add that in recent times that removing fold.actions.PLISTs doesn't seem to fix any of these problems. I conceed that these .PLISTS maybe corrupted however examination under teh osx properties editor.app , they seem fine.. Also having to mess with launchctl unload and load of the two folder.action.plists, even performing a 'tick' of the folder actions deamon and even logging off and on doesnt seem to kick these scripts over. 😕
Even forcing the event (dropping or deleteing objects form the scripted folders) does seem to get these scripts going form time to time
Its a bit hit and miss when the scripts decide to take off.
However, as I posted in this thread https://discussions.apple.com/thread/4257025?answerId=21100695022#21100695022 if the script is in this state, simply..
open it up in the applescript editor.app and modify and save it. Simply adjust a comment for sample and SAVE the script again!
Then low and behold the script will trigger.
This is very consistent in the 10.8.2 that I currenly have on this server.
I'm assuming some aplescript token that is transformed after the script is compiled may be in error.
There are no /var/console messages and the event error handlers in the script NEVER get triggered so the scrips never runs. BTW, I have my own logger in these scripts to help me managae and monitor work activity...
Finally, running the script directly in a test works perfectly ofcourse..
Should someone have an exmpalanation for this I'm curious to know.
POst your results back for others to see.
Warwick