raguay.customct Posted February 11, 2013 Share Posted February 11, 2013 The latest update, V2.0 (123), broke the Google Search with suggestions workflow. It was working before the update this morning, but it quit working afterwards. It will display the text for "While waiting", but that is it. Link to comment
Andrew Posted February 11, 2013 Share Posted February 11, 2013 The latest update, V2.0 (123), broke the Google Search with suggestions workflow. It was working before the update this morning, but it quit working afterwards. It will display the text for "While waiting", but that is it. Hi there, I'm moving this into the Workflow Questions as it's not a bug in Alfred. From what I gather on twitter, you haven't managed to get your own PHP working since the start and recently the Google Suggest workflow has stopped working for you specifically. As this issue is down to your Mac's configuration, it would be of huge use to whoever helps you (e.g. David), if you could post as much information about your setup as possible including examples of workflows you haven't managed to get working. Cheers, Andrew Link to comment
raguay.customct Posted February 11, 2013 Author Share Posted February 11, 2013 I am on a Mac mini with OS 10.8.2 on a 2.5 Ghz Intel Core i5. I am running Alfred V2(123). The workflow that quit working is exported here: https://www.dropbox.com/s/q5iiqggzd8z3kdq/Google%20Auto%20Complete.alfredworkflow My test workflow is here: https://www.dropbox.com/s/m9hl9afbvbxlt2e/xiki.alfredworkflow From my iterm2 window, I have this configuration: --- ~ » which php /usr/bin/php --- ~ » php -version PHP 5.3.15 with Suhosin-Patch (cli) (built: Aug 24 2012 17:45:44) Copyright © 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright © 1998-2012 Zend Technologies --- ~ » Not sure what other information you will need. Just let me know. Link to comment
jdfwarrior Posted February 11, 2013 Share Posted February 11, 2013 Ok, so let's start out with something basic. Let's see if we can get a simple workflow with script filter working. In one of your workflows, create a script filter, set your keyword, using space, argument required. Language will be /bin/bash. Then paste the following into the code box and run the workflow. Please report back and confirm that you were able to see the generated result in Alfred. cat << CODE <?xml version="1.0"?> <items><item uid="test" arg="test" valid="yes" autocomplete=""><title>This is a test result</title><subtitle>This is a generated result</subtitle><icon>icon.png</icon></item></items> CODE Link to comment
raguay.customct Posted February 11, 2013 Author Share Posted February 11, 2013 Okay, I did what you said and it still does not work. It seems that Script filters are dead on my install. Here is the workflow you asked me to make: https://www.dropbox.com/s/kp5a10ryg3fai60/test.alfredworkflow And here is a picture of the window for it: https://www.dropbox.com/s/sybzbmb918zfdlh/Screenshot_2_11_13_6_58_PM.png Link to comment
jdfwarrior Posted February 11, 2013 Share Posted February 11, 2013 Do me a favor? Break the code out into lines as shown in the code view above and try it again. Link to comment
raguay.customct Posted February 11, 2013 Author Share Posted February 11, 2013 I am sorry, I did not realize that I had not put it on lines. Yes, it how works by giving an item with the title and subtitle given in the script. After I posted, I checked the other script filters and they did work. Only my PHP script filters are dead. Link to comment
jdfwarrior Posted February 11, 2013 Share Posted February 11, 2013 Well then it sounds like something with the xml may be messed up. Why the Google Suggest doesn't work, I have no idea. Here's a link to a newer version that definitely works. As for your other ones.. I noticed your using the workflows.php file I created. Do you have the most recent version? Check out my blog and read documentation on using it. There is also a download button there to be able to grab the latest copy of it Link to comment
raguay.customct Posted February 11, 2013 Author Share Posted February 11, 2013 Okay, that version of the google search works. I will keep banging my head on my test one. Thanks! Link to comment
jdfwarrior Posted February 11, 2013 Share Posted February 11, 2013 In the new version of the workflows library that I linked you to, try this.. I've cleaned the code up and made some fixes to make it a little easier to work with some of the stuff... So do this.. require('workflows.php'); $w = new Workflows(); $w->result('test', 'test', 'Some title', 'Some subtitle', 'icon.png'); echo $w->toxml(); As mentioned, documentation for the class is on my blog. That should load the class, create a single result item and echo it back into the Alfred results. Link to comment
raguay.customct Posted February 12, 2013 Author Share Posted February 12, 2013 Okay, that worked for me. I will build on this base and work upwards. I am trying to see if Xiki can be integrated with Alfred in a basic format. But, I seem to be having problems getting Xiki to run under PHP right now. But, at least I got one row answer returned! Thanks for the help. 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