← 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
       Status: Fix Committed => In Progress

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

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

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