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

Bug #1503365 reported by RaiMan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Wishlist
RaiMan

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 ?

RaiMan (raimund-hocke)
description: updated
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
Vincent Yau (vyau6789)
Changed in sikuli:
assignee: RaiMan (raimund-hocke) → Vincent Yau (vyau6789)
RaiMan (raimund-hocke)
summary: [request] want to know, whether an image file is on imagepath and get
- it's absolute filename
+ it's absolute filename --- workaround
Changed in sikuli:
importance: High → Medium
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → In Progress
assignee: Vincent Yau (vyau6789) → RaiMan (raimund-hocke)
milestone: 1.1.1 → 1.1.4
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Medium → Wishlist
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.4 → 2.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.