New question #251588 on Sikuli:
https://answers.launchpad.net/sikuli/+question/251588

Hi All,

I merely want to share my experiences here for others to learn and save time...

I had a hard time getting past the 'assistive devices not enabled dialog' when 
using SikuliX and finally found the not-so-obvious solution. I am running a 
java junit test that runs SikuliX from within eclipse on my Mac. I had been 
using this setup for some time without any problem.

I upgraded to OSX 10.9.4 and upgraded from eclipse Kepler to eclipse Luna.

I started getting that 'assistive devices' dialog from sikulix and could not 
test anymore. I went to the System Preferences a zilion times. I did the sqlite 
queries a million times. I added all my java versions there and (in 
desparation) all the super folders of the java commands as well. No such luck. 
I spare you all my other experiments... ;-)

Finally the following helped: remove the eclipse entry with sqlite and start 
the test again. That entered a new eclipse entry in the db that I could finally 
enable. Finally SikuliX worked again.

What surprised me was:
 - although Sikuli is run in a separate java process, the eclipse entry in the 
table made the difference. ( Maybe OSX looks up the parent process or to 
determine the assistive devices authorisation, I have no idea...)
 - although I had an eclipse entry in there it did not work. Evidently the 
entry was (a) not valid for my new eclipse version and (b) no new entry was 
added for this version of eclipse. I would regard this as an OSX bug.

Hope this helps others to save some time.

-Tom

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to