Chase Livingston Posted November 10, 2016 Share Posted November 10, 2016 I'm having problems with this workflow that takes a URL as an argument and then should perform a cURL command. You can download the workflow here. When debugging, this is all I get: [2016-11-10 09:35:06][input.keyword] Processing output of 'action.terminalcommand' with arg 'chaselivingston.me' No Terminal window opens as expected to run the cURL command. After that, Alfred seems to just stop responding, the key combination to invoke Alfred no longer works, and I have to quit Alfred via Activity Monitor to have it start working again. Currently I'm using Alfred 3.2 Build 759, Tuesday 8th November 2016 and macOS 10.12.2 Beta (16C32f) Any ideas why this workflow isn't working? Link to comment
deanishe Posted November 10, 2016 Share Posted November 10, 2016 Works for me. Does Terminal Command work with other things? Are you using the default settings or have you set a custom terminal script in Alfred Preferences > Features > Terminal/Shell? Link to comment
Chase Livingston Posted November 10, 2016 Author Share Posted November 10, 2016 Here's my Terminal settings: https://cloudup.com/c0yLleVRC1t I created this workflow as a test, and the same thing happens. Link to comment
deanishe Posted November 10, 2016 Share Posted November 10, 2016 Dunno, tbh. It works perfectly for me. You have any other problems with Terminal.app? Link to comment
Chase Livingston Posted November 10, 2016 Author Share Posted November 10, 2016 Not that I can tell. I can open up Terminal.app manually and run the same command without any trouble. Trying to fire it via the Alfred workflow doesn't even open up Terminal.app, much less actually run the command. Link to comment
Andrew Posted November 10, 2016 Share Posted November 10, 2016 This definitely sounds odd - If you open Console.app, is there anything of note in there? This may give us a clue as to what may be causing the issue. Cheers, Andrew Link to comment
Chase Livingston Posted November 10, 2016 Author Share Posted November 10, 2016 Here are some entries I found in Console, but they seemed to happen after I had to quit and relaunch Alfred after trying to run that cURL workflow unsuccessfully. Link to comment
Andrew Posted November 15, 2016 Share Posted November 15, 2016 If "UNIX error exception: 17" is happening at the point you try to run, it could be: If this is the return code from curl: https://curl.haxx.se/libcurl/c/libcurl-errors.html CURLE_FTP_COULDNT_SET_TYPE (17) Received an error when trying to set the transfer mode to binary or ASCII. If it's from Unix: http://people.cs.pitt.edu/~alanjawi/cs449/code/shell/UnixSignals.htm SIGUSR2 17 Exit User Signal 2 Have you tried running simple terminal commands directly in Alfred using the > keyword? e.g. >ls Have you also tried using a "Run Script" action instead of run terminal command? Andrew Link to comment
Chase Livingston Posted November 17, 2016 Author Share Posted November 17, 2016 Quote Have you tried running simple terminal commands directly in Alfred using the > keyword? e.g. >ls Yeah, that doesn't seem to do anything. Quote Have you also tried using a "Run Script" action instead of run terminal command? I haven't, how should I format that to try and actually open or display the output? Link to comment
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