← Back to team overview

sikuli-driver team mailing list archive

[Bug 1485581] [NEW] JRuby with Sikulli. RobotDesktop error

 

Public bug reported:

I'm converting a scipt I made in Skiluli IDE to a script run by JRuby. 
The script used to work in the Sikuli IDE, but now I get an error: 

C:\jruby-9.0.0.0\bin>jruby "D:\tests\Github\FTAS\FTAS\example project\calc.sikuli\calc.rb"
[error] RobotDesktop: checkMousePosition: should be L(768,432)@S(0)[0,0 1536x864]
but after move is L(614,346)@S(0)[0,0 1536x864]
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.
[error] RobotDesktop: checkMousePosition: should be L(2880,540)@S(1)[1920,0 1920x1080]
but after move is L(3601,675)@S(1)[1920,0 1920x1080]
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.
[log] CLICK on L(1271,417)@S(0)[0,0 1536x864]
[log] CLICK on L(1321,417)@S(0)[0,0 1536x864]

I work with Sikuli 1.1.0. 
I also work with two screens... but this wasn't an issue when I run the script in the IDE. 

I do see the mouse move, so it does do something...

Can you help?

Cheers, 
Giel

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1485581

Title:
  JRuby with Sikulli. RobotDesktop error

Status in Sikuli:
  New

Bug description:
  I'm converting a scipt I made in Skiluli IDE to a script run by JRuby. 
  The script used to work in the Sikuli IDE, but now I get an error: 

  C:\jruby-9.0.0.0\bin>jruby "D:\tests\Github\FTAS\FTAS\example project\calc.sikuli\calc.rb"
  [error] RobotDesktop: checkMousePosition: should be L(768,432)@S(0)[0,0 1536x864]
  but after move is L(614,346)@S(0)[0,0 1536x864]
  Possible cause in case you did not touch the mouse while script was running:
   Mouse actions are blocked generally or by the frontmost application.
  You might try to run the SikuliX stuff as admin.
  [error] RobotDesktop: checkMousePosition: should be L(2880,540)@S(1)[1920,0 1920x1080]
  but after move is L(3601,675)@S(1)[1920,0 1920x1080]
  Possible cause in case you did not touch the mouse while script was running:
   Mouse actions are blocked generally or by the frontmost application.
  You might try to run the SikuliX stuff as admin.
  [log] CLICK on L(1271,417)@S(0)[0,0 1536x864]
  [log] CLICK on L(1321,417)@S(0)[0,0 1536x864]

  I work with Sikuli 1.1.0. 
  I also work with two screens... but this wasn't an issue when I run the script in the IDE. 

  I do see the mouse move, so it does do something...

  Can you help?

  Cheers, 
  Giel

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1485581/+subscriptions


Follow ups