← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #234505]: NameError ( name 'FindFailed' is not defined ) with Sikuli 1.0.1

 

Question #234505 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234505

Description changed to:
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.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.