[1.1.0] getImageFilename not available with getMatches (along with other attributes) --- fixed 1.1.1 2016-03-26+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
I am using Sikuli 1.1.0 (2015-10-05_17:07) on both Windows 10 64-bit and Ubuntu Trusty 64-bit.
Procedure:
I used the following script to display the filename of a single matches. I looked at the attributes of what the getMatches returns and the getImageFilename doesn't work.
setAutoWaitTime
try:
find(
print "found"
findAll(
mm = getLastMatches()
image = mm.next()
print "Did I find a Match", isinstance(image, Match)
print "-",image.
md = dir(image)
for attribute in md:
print getattr(image, attribute)
#'Workaround'
#print len(md)
#for i in range(226,297):
# print getattr(
except:
pass
Output Message:
found C:\Users\
Did I find a Match? True
-
Additional information:
I used the workaround section to see continue getting attributes when the script stopped with incomplete information. The script broke on these attributes:
active
imageFilename
inactive
location
onScreen
onVanish
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.1 |
summary: |
- getImageFilename not available with getMatches (along with other - attributes) + [1.1.0] getImageFilename not available with getMatches (along with other + attributes) --- fixed 1.1.1 2016-03-26+ |