← Back to team overview

sikuli-driver team mailing list archive

[Bug 1248189] Re: [1.0.1] IDE: open script crashes when it contains an image with same name as script --- fixed in 1.1.0

 

** Summary changed:

- [1.0.1] IDE: open script crashes when it contains an image with same name as script --- workaround: avoid ;-)
+ [1.0.1] IDE: open script crashes when it contains an image with same name as script --- fixed in 1.1.0

** Changed in: sikuli
   Importance: High => Critical

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

Title:
  [1.0.1] IDE: open script crashes when it contains an image with same
  name as script --- fixed in 1.1.0

Status in Sikuli:
  Fix Committed

Bug description:
  Hello!

  I've got both Sikuli-IDE and .jar are failing when trying to open a script, if there is another file in the folder with the same filename (minus extension):
  1) in IDE create new script, save it as say "testscript"
  the following are created:
  testscript.sikuli\
  testscript.sikuli\testscript.py
  2) make a screenshot and save it in the directory, rename to "testscript.png"
  we have now:
  testscript.sikuli\
  testscript.sikuli\testscript.py
  testscript.sikuli\testscript.png
  3) close script tab in IDE, close IDE
  4) open IDE then open the script

  Actual: the program is terminated. Running with -d returns:
  (...a number of info lines here without anything suspicious...)
  [debug] MenuAction.doLoad
  [error] Fatal error 120: Could not load script runner for ending: png
  [error] Terminating SikuliX after a fatal error(120)! Sorry, but it makes no sen
  se to continue!
  If you do not have any idea about the error cause or solution, run again
  with a Debug level of 3. You might paste the output to the Q&A board.
  [debug] SikuliXFinal: cleanUp: 0

  A workaround is to keep the script filename unique through the folder,
  works fine.

  I'm not sure but it seems that these scripts were opened normally
  before. Can you please advise if there's a new restriction on naming
  files?

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


References