← Back to team overview

sikuli-driver team mailing list archive

[Bug 1916361] [NEW] pb after observeInBackgroud

 

Public bug reported:

Hi

Win10 Pro last release, Sikuli ide 2.0.4

this is the script...
ErrComm Exists but sikuli don(t see it
it means that the script pass after print("1")
TeamV doesn't exist, it's ok, but...
it doesn't click on ErrComm... and don't print 2 
it's happend in BueStacks...


def changeXX(event):
    #RegEventXX.stopObserver
   # while not exists(ErrComm): print("raté")
    print("1")
    while exists(okTeamV): 
        click(okTeamV)    
    while exists(ErrComm):     
        click(ErrComm)       
    while exists(Debloc): click(DeblocOk)
    if not exists(ErrComm):
        print("2")
   
  #  RegEventXX.observeInBackground(FOREVER)


# imprévu
RegEventXX.onChange(5, changeXX)
RegEventXX.observeInBackground(FOREVER)
# fin imprévu

** 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/1916361

Title:
  pb after observeInBackgroud

Status in Sikuli:
  New

Bug description:
  Hi

  Win10 Pro last release, Sikuli ide 2.0.4

  this is the script...
  ErrComm Exists but sikuli don(t see it
  it means that the script pass after print("1")
  TeamV doesn't exist, it's ok, but...
  it doesn't click on ErrComm... and don't print 2 
  it's happend in BueStacks...

  
  def changeXX(event):
      #RegEventXX.stopObserver
     # while not exists(ErrComm): print("raté")
      print("1")
      while exists(okTeamV): 
          click(okTeamV)    
      while exists(ErrComm):     
          click(ErrComm)       
      while exists(Debloc): click(DeblocOk)
      if not exists(ErrComm):
          print("2")
     
    #  RegEventXX.observeInBackground(FOREVER)


  # imprévu
  RegEventXX.onChange(5, changeXX)
  RegEventXX.observeInBackground(FOREVER)
  # fin imprévu

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


Follow ups