alfred2-layout icon indicating copy to clipboard operation
alfred2-layout copied to clipboard

error when using script, debug info inside

Open iangregsondev opened this issue 8 years ago • 3 comments

Hi,

I get the following output on a new mac

Starting debug for 'Layout'

[2017-04-08 14:38:04][ERROR: action.script] given is experimental at layout.pl line 274. when is experimental at layout.pl line 275. when is experimental at layout.pl line 281. when is experimental at layout.pl line 289. when is experimental at layout.pl line 299. when is experimental at layout.pl line 319. when is experimental at layout.pl line 357. when is experimental at layout.pl line 381. 2017-04-08 14:38:04.388 perl5.18[8461:428656] Can't find app with identifier com.apple.systemevents Can't call method "processes" on unblessed reference at layout.pl line 232.

What could be wrong ? Anyone know ?

iangregsondev avatar Apr 08 '17 12:04 iangregsondev

Not sure, does Alfred has permission to do UI scripting?

I think this has moved to the Privacy settings (unluckily I don't have a Mac right now to check)

untoldwind avatar Apr 10 '17 13:04 untoldwind

i have a same issue, debug log:

Starting debug for 'Layout'

[2018-05-23 12:28:22][STDERR: input.scriptfilter] Reading layout options from: ./Data/de.leanovate.alfred.layout/layouts.yaml [2018-05-23 12:28:26][STDERR: input.scriptfilter] Reading layout options from: ./Data/de.leanovate.alfred.layout/layouts.yaml [2018-05-23 12:28:27][ERROR: action.script] given is experimental at layout.pl line 274. when is experimental at layout.pl line 275. when is experimental at layout.pl line 281. when is experimental at layout.pl line 289. when is experimental at layout.pl line 299. when is experimental at layout.pl line 319. when is experimental at layout.pl line 357. when is experimental at layout.pl line 381. Can't call method "position" on unblessed reference at layout.pl line 247.

junerver avatar May 23 '18 04:05 junerver

Unluckily I'm not really a Mac-User any more. I was not able to reproduce this so far, though the Mac had not been updated to High Siera yet. Unblessed references usually occur when the Cocoa-API returns a nil/null at some point so it might be a version problem.

Can you give me some more information how to reproduce this bug?

untoldwind avatar May 28 '18 09:05 untoldwind