Jump to content

python workflows not working


Recommended Posts

Posted (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 by davidsky
Posted

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?

Posted

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.

Posted

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.

Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...