Comment 0 for bug 1216338

Revision history for this message
RaiMan (raimund-hocke) wrote : [1.0.1] NameError ( name 'FindFailed' is not defined ) -- workaround

Hello!
I've just downloaded the newest version of Sikuli - 1.0.1. I'm glad many work has been done (though saving the project doesn't work sometimes, as in the previous versions), now I don't need to click a few times on the sikuli-ide to have it finally opened. I really appreciate your work!

However, I have a problem with try except blocks. When I open my project, run it and it doesn't find an object to click on, it stops and I get

[error] NameError ( name 'FindFailed' is not defined )

It occures in the line where I want the script to double click on something. This part of my code in short looks like that:

try:
 doubleClick(photo)
except FindFailed:
 exit()

I'm really dying to get to know the problem and solve it because it's quite important for my work.

Greetings,
Daniel

EDIT:
Just to make sure there are no qustions about that - it all worked well with the previous version.