[check] Exception FindFailed: last successful match and last screenshot should be accessible

Bug #532519 reported by RaiMan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

more a feature request: (updated after 0.10 released)

especially for long running, unattended scripts its vital, to have as much information available in case of FindFailed.

After an unsuccessful find getLastMatch() returns None. the lastMatch() should be left untouched, to be available in these cases.

On top, if there would be a (maybe limited) stack like region.findHistory (accessible with a region.getHistory() returning a list of matches), where the last successful match would be pushed in, you would have access to what happened in case of failure, without additional coding in the script.

in case of FindFailed the last screenshot should be available. (additional option saveScreenshotAtFindFailed("path-to-a-file"))

Tags: general
RaiMan (raimund-hocke)
tags: added: findfailed history
description: updated
RaiMan (raimund-hocke)
summary: - Exception FindFailed: last successful match should be accessible
+ Exception FindFailed: last successful match and last screenshot should
+ be accessible
description: updated
tags: added: 0.10
RaiMan (raimund-hocke)
summary: - Exception FindFailed: last successful match and last screenshot should
- be accessible
+ [request] Exception FindFailed: last successful match and last
+ screenshot should be accessible
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → Wishlist
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Wishlist → Medium
assignee: nobody → RaiMan (raimund-hocke)
RaiMan (raimund-hocke)
tags: added: fkt-region
removed: 0.10 findfailed history
tags: added: general
removed: fkt-region
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: none → x1.1
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.0 → 1.2.0
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 2.0.0 → 2.1.0
summary: - [request] Exception FindFailed: last successful match and last
- screenshot should be accessible
+ [check] Exception FindFailed: last successful match and last screenshot
+ should be accessible
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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