← Back to team overview

sikuli-driver team mailing list archive

[Bug 1503365] Re: [request] want to know, whether an image file is on imagepath and get it's absolute filename

 

** Changed in: sikuli
     Assignee: RaiMan (raimund-hocke) => Vincent Yau (vyau6789)

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

Title:
  [request] want to know, whether an image file is on imagepath and get
  it's absolute filename

Status in Sikuli:
  Fix Committed

Bug description:
  ***** intended solution
  img = ImagePath.exists("someImage.png")

  img is either None/null or the absolute filename

  current workaround see comment #1 of related question

  ------------------------------------------
  a direct usage of
  Pattern('a')
  return
  error] Image: could not be loaded: file:/H:/test.sikuli/a.png
  [error] Image: Image not valid, but TextSearch is switched off!

  I would like to be able to check the file 'a.png' exist in the Sikuli Image Paths.
  How to ?

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


References