Jump to content

Certain Feedback in script filter doesn't work


Recommended Posts

I had a workflow using a script filter, when for a certain query it suddenly refused to show any feedback.

My script generated the xml just fine, but Alfred doesn't seem to accept it.


Upon further investigation I found weird behaviour, and to demonstrate I provide this workflow.

It contains three script filters, test1/2/3, each of which just outputs a xml file (alfred feedback).

The first one does not work for me, it just sits there showing the Placeholder text when I enter the keyword "test1".

The other two script filters populate Alfred just fine.


The weird thing is, the three xml files that are returned to Alfred are pretty much the same.

test2 only differs from test1 in the removal of two letters in the subtitle of the first item. 

test3 on the other hand has some added text in the xml.

Structurally, the xml files are all the same, so test1 should be just as valid as the other two.



Tested with b79 and b86 on OS X 10.8.2

Link to comment
Share on other sites

Okay, thanks.


But I'm still wondering why the other two work then, they don't contain that line either and are pretty much the same.

I didn't think the parser has such difficulties with these two additional letters.

Link to comment
Share on other sites

It seems to be an issue with NSString being converted into NSData which is chopping off some of the first characters. Not entirely sure why this is the case and seems to be completely inconsistent - I wonder if there is a dodgy unicode character which is tripping it up somewhere hidden in the XML.

Link to comment
Share on other sites

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...