← 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

 

** Summary changed:

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

** Changed in: sikuli
   Importance: High => Medium

** Description changed:

+ ***** workaround
+ 
+ workaround see comment #1 of related question
+ 
+ 
  ***** 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 ?

-- 
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:
  Fix Committed

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