← Back to team overview

sikuli-driver team mailing list archive

[Bug 1793066] Re: ImageMissing

 

** Changed in: sikuli
       Status: New => Invalid

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

Title:
  ImageMissing

Status in Sikuli:
  Invalid

Bug description:
  1.1.3(2018-07-05_16:27)/Mac10.13.6/Java8(64)1.8.0_25-b17

  [error] RunTimeIDE: ImageMissing: 1487926029591-1.png
  [error] script [ Sub_Login ] stopped with error in line 1106
  [error] java.lang.ThreadDeath ( java.lang.ThreadDeath )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  570: main ( Sub_Close_Tynon_Browser ) File "/Users/Jeff/Desktop/SikuliScripts/Sub_Login.sikuli/Sub_Login.py", line 71, in Close_Tab
  [error] --- Traceback --- end --------------

  Image not missing I can see it in the IDE - I can change the Matching on it
  Reason for it being named 1487926029591-1.png
  long reason
  in the IDE saved the script in the parent directory of the original script
  at this stage is was called 1487926029591.png in both versions
  ran script got same error as above with
  [error] RunTimeIDE: ImageMissing: 1487926029591.png
  In the IDE created a new file
  changed existing if exists to a remark by inserting # in front
  copied the 
  if exists("1487926029591.png"):
      print "xxxx"
  into new file : saved file : ran ok
  copied from the new file back to the main file
  it renamed itself to main file as
      if exists("1487926029591-1.png"):
          click(getLastMatch())
  as expected
  so now I have 2 lines first with remark and second with if statement
  both showing the image

  in finder - show package contents of main script
  includes
  1487926029591-1.png today at 06:50:05 685 bytes PNG image
  1487926029591.png yesterday at 07:12:33 685 bytes PNG image ( this date time shows on all the other images and is the time I did the save as )

  so execute from terminal
  running SikuliX: /Applications/Sikuli/SikuliX.app/Contents/Java/sikulix.jar -r /Users/Jeff/Desktop/SikuliScripts/Sub_Login.sikuli.sikuli
  [error] FileManager: Not a valid Sikuli script project:

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


References