4962 Views 3 Replies Latest reply: Nov 1, 2010 2:55 PM by Barney-15E
Unless you added any logging items to your script, I don't think you'll find anything.
However, that sounds like you are referencing items that only exist in the Automator context. Once it is run stand-alone, it no longer has the Automator shell around it.
You can step through the program in Automator. If it is a Service that acts on Files and Folder, you'll have to add a Get Specified Finder Items as the first step temporarily. I haven't used python, but when an Applescript is there, when you get to the Applescript action in Automator, you can click the "play" button and it gives you more information on what fails than just stepping into the action.
Another guess is that it might not be receiving the same type of object in the workflow that you are passing in the shell. Is it a Run Shell Script action? If so, how are you passing the items: stdin or arguments? How does your script reference them?
My first step is simply to get the selected finder items, then pass them as arguments to my python script. All selected finder items are sent as arguments to my script. What's even more frustrating is everything works as it should, then I receive the error after my script has completed executing.