Console error from “process text” AppleScripts #783

Closed
skurfer opened this Issue Mar 30, 2012 · 3 comments

Projects

None yet

2 participants

@skurfer
Member
skurfer commented Mar 30, 2012

I see this error every time I run a particular script.

2012/03/30 1:48:21.990 PM Quicksilver: Unhandled AE conversion from descriptor <NSAppleEventDescriptor: 'utxt'("")>

To reproduce, try something like this:

using terms from application "Quicksilver"
    on process text theText
        set logEntry to the quoted form of theText
        do shell script "/bin/echo " & logEntry & " > /tmp/foo"
    end process text
end using terms from

(This is mostly a reminder for me to look into this.)

@skurfer skurfer was assigned Mar 30, 2012
@skurfer
Member
skurfer commented Mar 30, 2012

It’s from QSAppleScriptActions.m line 154.

@skurfer
Member
skurfer commented Apr 11, 2012

Actually, the problem is in QSObject_AEConversion.m: + (QSObject *)objectWithAEDescriptor:(NSAppleEventDescriptor *)desc.

It creates an array of empty objects then tries to loop through them. It also adds things to the array that it’s looping through, which is probably not right.

@pjrobertson
Member

Fixed by #1048

HAZAAAA!

@pjrobertson pjrobertson closed this Feb 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment