← Back to team overview

sikuli-driver team mailing list archive

[Bug 907374] Re: Importes sikuli modules wont update

 

Why invalid?

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

Title:
  Importes sikuli modules wont update

Status in Sikuli:
  Invalid

Bug description:
  Using Sikuli X 1.0rc3, Mac os

  To repeat follow these steps:

  1. 
  Write two sikuli scripts, one which imports and uses the other
  (This example is taken from the answer to this question: https://answers.launchpad.net/sikuli/+question/180960)

  # main.sikuli
  import sub
  sub.test()

  #sub.sikuli
  from sikuli import *
  def test():
      popup("hello from sub")

  
  2. 
  Run main.sikuli and see popup with text "hello from sub"

  
  3.
  Change sub.sikuli into:

  #sub.sikuli
  from sikuli import *
  def test():
      hover(Region(100,100,0,0))
      wait(2)

  
  4. 
  Run main.sikuli and see popup with text "hello from sub", instead of seeing mouse moving to 100, 100.

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


References