← Back to team overview

sikuli-driver team mailing list archive

[Bug 2066319] [NEW] file does not exists error after running the code once

 

Public bug reported:

I'm running on Windows 7, 64-bit

Using SikulixIDE 2.0.5

I wrote a short program, and after trying it just once, when I clicked
at the images and then previsualize, the loading circle would stay there
forever, never finding them, and an error like this pops up in the
console:

[error] ImagePath: find: File does not exist: C:\Users\samab\Documents\Sikuli\streetprogram.sikuli\1716333652198.png
[error] PatternPaneTargetOffset: Can't load C:\Users\samab\Documents\Sikuli\streetprogram.sikuli\1716333652198.png
[error] ImagePath: find: File does not exist: C:\Users\samab\Documents\Sikuli\streetprogram.sikuli\1716333652198.png

After that, it's like all images get bugged. If I try copy and pasting
an image into another part of the code, I get this message:

[error] EditorPane: MyTransferHandler: importData: Problem pasting text
Cannot invoke "java.io.File.getName()" because "destFile" is null

I've tried turning off and on my computer again and it keeps happening.
I tried creating a new project and everything seemed to go well, all
images worked. Until I ran it once, then I had the same problem again.

The images are in the correct folder and they do show up if I look for
them.

Even if I create a new program with just a click(image) after running it
once, the image stops working.

I can, however, still run the program and it finds the image and clicks
where it should, but I cannot interact with any of the images in the
editor. So I can't set offsets, see if the program can find them on the
screen, etc.

** Affects: sikuli
     Importance: Undecided
         Status: New

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

Title:
  file does not exists error after running the code once

Status in SikuliX:
  New

Bug description:
  I'm running on Windows 7, 64-bit

  Using SikulixIDE 2.0.5

  I wrote a short program, and after trying it just once, when I clicked
  at the images and then previsualize, the loading circle would stay
  there forever, never finding them, and an error like this pops up in
  the console:

  [error] ImagePath: find: File does not exist: C:\Users\samab\Documents\Sikuli\streetprogram.sikuli\1716333652198.png
  [error] PatternPaneTargetOffset: Can't load C:\Users\samab\Documents\Sikuli\streetprogram.sikuli\1716333652198.png
  [error] ImagePath: find: File does not exist: C:\Users\samab\Documents\Sikuli\streetprogram.sikuli\1716333652198.png

  After that, it's like all images get bugged. If I try copy and pasting
  an image into another part of the code, I get this message:

  [error] EditorPane: MyTransferHandler: importData: Problem pasting text
  Cannot invoke "java.io.File.getName()" because "destFile" is null

  I've tried turning off and on my computer again and it keeps
  happening. I tried creating a new project and everything seemed to go
  well, all images worked. Until I ran it once, then I had the same
  problem again.

  The images are in the correct folder and they do show up if I look for
  them.

  Even if I create a new program with just a click(image) after running
  it once, the image stops working.

  I can, however, still run the program and it finds the image and
  clicks where it should, but I cannot interact with any of the images
  in the editor. So I can't set offsets, see if the program can find
  them on the screen, etc.

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