Public bug reported:

1.1.3(2018-06-07_14:48)/Linux4.15.0-29-generic/Java8(64)1.8.0_181-b13

# openApp("Google Chrome") sometimes fails
# so run command to open in new thread seems to work all the time
# Run this in IDE and it Closes the IDE and on Reload this script is not loaded

def Thread_Run_Command_Failing(v_Command): # This will be Threaded
    run(v_Command)

def Run_Command_Failing(v_Command):
    import thread
    thread.start_new_thread(Thread_Run_Command_Failing, (v_Command, )) 

cmd = "google-chrome"
print "@" * 80
print cmd
print "@" * 80

Run_Command_Failing(cmd)

print "#" * 80
print "Executes in command line with runsikulix ok"
print "#" * 80


# /home/jeff/Sikuli/runsikulix -r 
/home/jeff/SikuliScripts_Linux/Code/New_Thread.sikuli


# Have no idea why openApp("Google Chrome") sometimes fails to load its not 
timing as I wait upto 120 seconds with an exists check

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

Title:
  openapp Failing New Thread Crashes IDE

Status in Sikuli:
  New

Bug description:
  1.1.3(2018-06-07_14:48)/Linux4.15.0-29-generic/Java8(64)1.8.0_181-b13

  # openApp("Google Chrome") sometimes fails
  # so run command to open in new thread seems to work all the time
  # Run this in IDE and it Closes the IDE and on Reload this script is not 
loaded

  def Thread_Run_Command_Failing(v_Command): # This will be Threaded
      run(v_Command)

  def Run_Command_Failing(v_Command):
      import thread
      thread.start_new_thread(Thread_Run_Command_Failing, (v_Command, )) 

  cmd = "google-chrome"
  print "@" * 80
  print cmd
  print "@" * 80

  Run_Command_Failing(cmd)

  print "#" * 80
  print "Executes in command line with runsikulix ok"
  print "#" * 80

  
  # /home/jeff/Sikuli/runsikulix -r 
/home/jeff/SikuliScripts_Linux/Code/New_Thread.sikuli

  
  # Have no idea why openApp("Google Chrome") sometimes fails to load its not 
timing as I wait upto 120 seconds with an exists check

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to