← 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 --- workaround

 

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

-- 
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 --- workaround

Status in Sikuli:
  In Progress

Bug description:
  ***** workaround

  workaround see comment #1 of related question

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

  img is either None/null or the absolute filename

  ------------------------------------------
  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