Raygun Posted September 20, 2013 Share Posted September 20, 2013 (edited) I am having an issue with workflows that you type after entering the keyword. (From downloaded workflows, in particular http://www.alfredforum.com/topic/917-reminders/ and the Rdio one.) What happens is: 1. I type the keyword (I'll use the reminders as an example) - radd (to add a reminder) 2. Press space - It immediatly changes from the workflow to searching the web 3. Back to Step 1. - Press enter - It processes for a second - It brings up web search. It is the same with Rdio any time I enter any info it goes to web search. What is wrong? Am I dumb or do I have a real issue. Edited September 20, 2013 by Raygun Link to comment
jdfwarrior Posted September 20, 2013 Share Posted September 20, 2013 I am having an issue with workflows that you type after entering the keyword. (From downloaded workflows, in particular http://www.alfredforum.com/topic/917-reminders/ and the Rdio one.) What happens is: 1. I type the keyword (I'll use the reminders as an example) - radd (to add a reminder) 2. Press space - It immediatly changes from the workflow to searching the web 3. Back to Step 1. - Press enter - It processes for a second - It brings up web search. It is the same with Rdio any time I enter any info it goes to web search. What is wrong? Am I dumb or do I have a real issue. Sounds as if the scripts that run when you execute those keywords are failing for some reason. I'm not sure what language the Reminders workflow is done in but I know that Rdio is done in PHP. It generates XML to show the list of results. If you enter something that causes an error in the script (foreign character or something), the script doesn't generate the XML output and Alfred considers that to be "no results" and goes to the fallback (web search). Are you having issues with multiple workflows (aside from these two)? Just trying to figure out where the problem may be. Link to comment
raguay.customct Posted September 20, 2013 Share Posted September 20, 2013 I looked at those scripts and they both give improper xml for a "no results". Therefore, it is the script writer that needs to fix them. But, both cases, if you start typing something that will match, then the output is normal. Link to comment
jdfwarrior Posted September 21, 2013 Share Posted September 21, 2013 I looked at those scripts and they both give improper xml for a "no results". Therefore, it is the script writer that needs to fix them. But, both cases, if you start typing something that will match, then the output is normal. This isn't necessarily the fault of the script/author. As mentioned in my previous reply, the Rdio one was written in PHP. Not sure about the other one (depending on which one he's using), it could be PHP as well. We've come across users that their default PHP installation was messed up. Or, as mentioned, it could be an issue with a foreign character. There are several things that could be the source. Link to comment
Vatican Posted October 1, 2013 Share Posted October 1, 2013 I have this same problem, but with other workflows as well. It happens when I try to update my workflows with alleyoop and also when I try to switch audio outputs using Sampayo's "Audio Switch" workflow. Link to comment
Adrian Posted April 8, 2015 Share Posted April 8, 2015 Since search brought me to this old thread I thought I'd share my solution for this very problem. The solution was to suppress PHP notice error messages. In the workflow main PHP file I just added this at the top: error_reporting(E_ALL & ~E_NOTICE); (Credit to neohunter who solved it at Github.) 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