bm1x Posted May 22, 2018 Posted May 22, 2018 Hi, I'm creating a workflow that uses a python external script. I have 2 problems 1) i execute the workflow and Alfred said I don't have permission +x ... I tried with chmod 777 .. but nothing change. 2) I didn't understand if is possible or not to handle two parameters (argv) with an external script (python for example). I chose arguments and not query ... and everytime I have only one with two arguments. My script work outside python myscript arg1 arg2 .. but when in Alfred seams I get only one parameter. Please can you help me ? I'm Using Script filter to populate my workflow
deanishe Posted May 22, 2018 Posted May 22, 2018 Hi @bm1x, welcome to the forum. I’ve moved this thread to the Workflow Help & Questions forum. Please read the stickied thread on reporting issues and follow the instructions. It will help us to help you. In particular, we need to see your broken workflow.
bm1x Posted May 22, 2018 Author Posted May 22, 2018 (edited) This is the problem with permissions. I cannot execute the script as external but if I copy and paste it works. https://www.dropbox.com/s/bu8vv66hr5gar3y/Python Permission Problem.alfredworkflow?dl=0 Edited May 22, 2018 by bm1x
deanishe Posted May 22, 2018 Posted May 22, 2018 The stickied thread very clearly says Do not post screenshots and code snippets. Upload the workflow somewhere and post a link.
vitor Posted May 22, 2018 Posted May 22, 2018 (edited) The issue is your script is missing the shebang line. Edited May 22, 2018 by vitor
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