** Changed in: sikuli
       Status: Opinion => Fix Released

** Changed in: sikuli
    Milestone: 1.1.4 => 2.0.0

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

Title:
  [1.1.4] Capture does not always work / directory missing

Status in Sikuli:
  Fix Released

Bug description:
  ------------------------------ 
  temp folder is created at startup and purged with final cleanup (IDE 
termination).
  added a sequence at startup, that folder is useable
  ------------------------------------------------------------------- 

  I found the script sometimes break at:

  img = capture(Region(1372,119,536,798))
  print img
  exit()

  with the error:
  java.io.FileNotFoundException: 
C:\Users\_badboi\AppData\Local\Temp\Sikulix_139865951\sikuliximage-1546764694493.png
 (Das System kann den angegebenen Pfad nicht finden)
  ....
  at 
sikuli.Sikuli$py.capture$4(C:/Users/_badboi/AppData/Roaming/Sikulix/Lib/sikuli/Sikuli.py:58)
  at 
sikuli.Sikuli$py.call_function(C:/Users/_badboi/AppData/Roaming/Sikulix/Lib/sikuli/Sikuli.py)
  ...
  [info] Exit code: 0

  ...
  
org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:220)
  at 
org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:189)
  at org.sikuli.ide.SikuliIDE$ButtonRun$SubRun.run(SikuliIDE.java:2601)
  at java.lang.Thread.run(Unknown Source)

  To resolve it, I can either restart the IDE (1.1.4 on Win10), or simply 
create the directory (in this example) Sikulix_139865951.
  I was not able to find out under which conditions SIKULIX failed to add that 
that temp-directory.

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

_______________________________________________
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