untoldwind / alfred2-layout

Alfred 2 Layout workflow
http://untoldwind.github.io/projects/alfred2-layout.html
199 stars 16 forks source link

error when using script, debug info inside #18

Open iangregsondev opened 7 years ago

iangregsondev commented 7 years ago

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 ?

untoldwind commented 7 years ago

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)

junerver commented 6 years ago

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.

untoldwind commented 6 years ago

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?