davidsky Posted April 12, 2013 Posted April 12, 2013 (edited) Hi, I've tried several workflows written in python and no one is working. How can I resolve this problem ? Thanks in advance. Best Regards, D. Edited April 12, 2013 by davidsky
zerok Posted April 14, 2013 Posted April 14, 2013 Could you please open a Terminal and run "/usr/bin/python --version" in it? What happens when you go into the directory of a workflow and try to execute one of the python files directly? Do you get any syntax errors?
Benzi Posted April 14, 2013 Posted April 14, 2013 There's a bit of background info here as well (its got to do with what BASH profile Alfred loads when running terminal commands, which eventually has an effect on which python interpreter get loaded) If you are getting syntax errors, you could try the options listed in the post linked.
davidsky Posted April 14, 2013 Author Posted April 14, 2013 Could you please open a Terminal and run "/usr/bin/python --version" in it? What happens when you go into the directory of a workflow and try to execute one of the python files directly? Do you get any syntax errors? Python 2.6.1 maybe is too old ? Best Regards, D.
zerok Posted April 21, 2013 Posted April 21, 2013 2.6.x is rather old, but could you still please execute the python script itself to see if the interpreter simply can't handle some syntax in there?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now